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

Bug 370464

Summary: NullPointerException when opening a frame Window
Product: z_Archived Reporter: Alessio Pollero <alessio.pollero>
Component: WindowBuilderAssignee: Konstantin Scheglov <Konstantin.Scheglov>
Status: CLOSED NOT_ECLIPSE QA Contact:
Severity: normal    
Priority: P3 CC: clayberg, eclipse
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
WindowBuilder generated error report none

Description Alessio Pollero CLA 2012-02-02 11:33:08 EST
Build Identifier: Version: 3.7.1 Build id: M20110909-1335

Opening a JFrame Window i got the error in the attachment, i have the latest version in the integration update site .

Reproducible: Always
Comment 1 Alessio Pollero CLA 2012-02-02 11:33:58 EST
Created attachment 210462 [details]
WindowBuilder generated error report
Comment 2 CHENG Yuk Pong CLA 2012-03-20 05:50:27 EDT
I think you have a component that is not used (not added to a container). Would be helpful if you attach a small, self-contained test case.



!ENTRY org.eclipse.wb.core 4 4
!MESSAGE Designer [1.3.0.r37x201201312225.201202021714]: The component has not been added to the container.
!STACK 0
java.lang.NullPointerException: The component has not been added to the container.
	at com.jgoodies.forms.layout.FormLayout.getConstraints0(FormLayout.java:806)
	at com.jgoodies.forms.layout.FormLayout.getConstraints(FormLayout.java:796)
	at org.eclipse.wb.internal.swing.FormLayout.model.CellConstraintsSupport.<init>(CellConstraintsSupport.java:115)
	at org.eclipse.wb.internal.swing.FormLayout.model.FormLayoutInfo.getConstraints(FormLayoutInfo.java:256)
	at org.eclipse.wb.internal.swing.FormLayout.model.FormLayoutInfo$3.invoke(FormLayoutInfo.java:153)
Comment 3 Konstantin Scheglov CLA 2012-03-20 17:43:42 EDT
BorderLayout.SOUTH is invalid constraint for com.jgoodies.forms.layout.FormLayout.FormLayout
Comment 4 Eric Clayberg CLA 2012-06-04 17:04:11 EDT
.