Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 370464 - NullPointerException when opening a frame Window
Summary: NullPointerException when opening a frame Window
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: WindowBuilder (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Scheglov CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-02 11:33 EST by Alessio Pollero CLA
Modified: 2021-06-04 16:45 EDT (History)
2 users (show)

See Also:


Attachments
WindowBuilder generated error report (51.04 KB, application/octet-stream)
2012-02-02 11:33 EST, Alessio Pollero CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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
.