Create Form Snapshot

I tried to create a form snapshot from my application (Right click on package -> New -> Form Snapshot)
I select a JPanel from the Window that contains a sub panel using GroupLayout and  it always fails with the error :
Failed to create snapshot: Read timed out

Then the console prints out a pretty good description of the panel
e.g.

<truncated>
...
.
Sending response: 271;javax.swing.JLabel;;Date
272;javax.swing.JLabel;;Currencies
273;javax.swing.JLabel;;SETTLE Accounts
274;javax.swing.JLabel;;Rounding value in USD
275;javax.swing.JLabel;;Currencies to round in USD
276;javax.swing.JTextField;;
277;javax.swing.JButton;;...
278;javax.swing.JTextField;;
279;javax.swing.JButton;;...
280;javax.swing.JTextField;;
281;javax.swing.JLabel;;Min Round Value in USD
282;javax.swing.JTextField;;
283;javax.swing.JTextField;;
284;javax.swing.JButton;;...
285;javax.swing.JTextField;;
286;javax.swing.JLabel;;Accounts
287;javax.swing.JTextField;;
288;javax.swing.JButton;;...
.

Sending response: .

Sending response: .

Sending response: .

Sending response: .

Sending response: .

Sending response: .

Sending response: .

Sending response: .

Sending response: .

Sending response: .

Sending response: .

Sending response: .

Sending response: .

Sending response: .

Sending response: .

Sending response: .

Sending response: .

Sending response: .

Sending response: <?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1"/>

End of stream receiving command

Is this actually a timeout error; i.e. can I change a setting to lengthen the timeout, or is it an underlying problem reading the form?

1 comment
Comment actions Permalink

Hi.

For me it happens when the root panel, selected for a snapshot has not supported layout (like GroupLayout). Since such snapshot would anyway contain no component, I am not sure is IDEA behavior a problem.

If selected root panel has supported layout, then snapshot should produce something (for me it does), and you may observe a bug.

Alexander.

0

Please sign in to leave a comment.