This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 186548 - NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutModel.areComponentsLinkSized
Summary: NullPointerException at org.netbeans.modules.form.layoutdesign.LayoutModel.ar...
Status: RESOLVED INCOMPLETE
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-23 03:11 UTC by douglaspalacios
Modified: 2011-10-20 12:30 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 169992


Attachments
stacktrace (2.77 KB, text/plain)
2010-05-23 03:11 UTC, douglaspalacios
Details

Note You need to log in before you can comment on or make changes to this bug.
Description douglaspalacios 2010-05-23 03:11:04 UTC
This bug was originally marked as duplicate of bug 156110, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201002152000)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Windows XP

User Comments:
douglaspalacios: i was trying to delete a jfileChosser using the inspector view




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.form.layoutdesign.LayoutModel.areComponentsLinkSized(LayoutModel.java:1209)
   at org.netbeans.modules.form.actions.ChooseSameSizeAction.createSameSizeSubmenu(ChooseSameSizeAction.java:150)
   at org.netbeans.modules.form.actions.ChooseSameSizeAction.access$000(ChooseSameSizeAction.java:70)
   at org.netbeans.modules.form.actions.ChooseSameSizeAction$1.menuSelected(ChooseSameSizeAction.java:112)
   at javax.swing.JMenu.fireMenuSelected(JMenu.java:1028)
   at javax.swing.JMenu$MenuChangeListener.stateChanged(JMenu.java:1107)
Comment 1 douglaspalacios 2010-05-23 03:11:08 UTC
Created attachment 99346 [details]
stacktrace
Comment 2 Jan Stola 2011-10-20 12:30:37 UTC
I am sorry, I am not able to reproduce this issue and the attached exception is not sufficient to track the problem down. Are you still able to reproduce it? If so, could you, please, provide more details? It would be ideal to attach the problematic form (both .java and .form files) saved in the last good state and describe exact steps that lead to the exception. Thank you in advance.