Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369731

Summary: Crash when previewing swing window (added textfield to gridbag)
Product: z_Archived Reporter: Steve <steve>
Component: WindowBuilderAssignee: Project inbox <wb.swing-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: clayberg, desphilboy
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
eclipse generated crash report none

Description Steve CLA 2012-01-25 14:45:09 EST
Build Identifier: 20110916-0149

Added fields to a Gridbag (panel) contained in a Jscrollpane.  Selected 'reparss' and quick preview then crashed.

Reproducible: Always

Steps to Reproduce:
1.Create new Java project
2.Add WindowBulder Swing project
3.Draw

panel(flow layout)
panel top frame with button in it
panel bottom frame with button button in it
jscrollpane centre
panel in scrollpane (gridbag layout)
two textfields anywhere

reparse design -> crash

run it a second time and it works ok, so no data loss.
Comment 1 Steve CLA 2012-01-25 14:46:35 EST
Created attachment 210078 [details]
eclipse generated crash report
Comment 2 Eric Clayberg CLA 2012-01-26 21:31:16 EST
I tried your test case as well as the set of steps you provided, and it worked fine on my end. According to your log, you are using an old version of WB, so please update to the latest build and try it again... http://eclipse.org/windowbuilder/download.php