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 125672

Summary: NullPointerException at org.netbeans.modules.form.FormDesigner.componentIds
Product: guibuilder Reporter: Michel Graciano <hmichel>
Component: CodeAssignee: issues@guibuilder <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: bartvdc, engineer, galdrian, geldouches, hmichel, martinadaxo, mgventura, scanti, schnappi, sreimers, tobbworld, urostr, zolta
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=6988
Issue Type: DEFECT Exception Reporter: 6988
Attachments: stacktrace
stacktrace
stacktrace

Description Michel Graciano 2008-01-21 14:13:54 UTC
Build: NetBeans IDE Dev (Build 200801180000)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05
OS: Linux, 2.6.22-14-generic, i386

User Comments:
Comment 1 Michel Graciano 2008-01-21 14:14:00 UTC
Created attachment 55320 [details]
stacktrace
Comment 2 Jan Stola 2008-01-21 16:32:36 UTC
I am sorry, I am not able to reproduce this issue and the stack trace is not enough to track the problem down. Are you 
still able to reproduce it? If so, could you, please, provide steps to reproduce?
Comment 3 Michel Graciano 2008-01-21 17:12:39 UTC
No idea how do this happen again. Sorry. This happen just after several exceptions are throw.
I think you should close as INVALID or WONTFIX, and I reopen if discover the problem.

Regards.
Comment 4 Michel Graciano 2008-01-21 17:17:18 UTC
So, the problem happen after I had the problem as issue 125506.
So, I restart the IDE and everything works again.
Comment 5 Jan Stola 2008-01-22 08:30:35 UTC
Closing as non-reproducible.
Comment 6 Exceptions Reporter 2008-11-04 21:16:37 UTC
Reopening - reproduced in NetBeans IDE 6.5 RC2 (Build 200810270001)
http://statistics.netbeans.org/exceptions/detail.do?id=136086
Comment 7 Michel Graciano 2008-12-18 16:07:48 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.27-10-generic, i386

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.form.FormDesigner.componentIds(FormDesigner.java:2133)
        at org.netbeans.modules.form.FormDesigner.updateResizabilityActions(FormDesigner.java:1059)
        at org.netbeans.modules.form.FormDesigner.selectionChanged(FormDesigner.java:1032)
        at org.netbeans.modules.form.FormDesigner.clearSelectionImpl(FormDesigner.java:1027)
        at org.netbeans.modules.form.ComponentInspector$NodeSelectionListener.propertyChange(ComponentInspector.java:515)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
Comment 8 Michel Graciano 2008-12-18 16:07:58 UTC
Created attachment 75143 [details]
stacktrace
Comment 9 Michel Graciano 2008-12-18 16:43:31 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Linux, 2.6.27-10-generic, i386

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.form.FormDesigner.componentIds(FormDesigner.java:2133)
        at org.netbeans.modules.form.FormDesigner.updateResizabilityActions(FormDesigner.java:1059)
        at org.netbeans.modules.form.FormDesigner.selectionChanged(FormDesigner.java:1032)
        at org.netbeans.modules.form.FormDesigner.clearSelectionImpl(FormDesigner.java:1027)
        at org.netbeans.modules.form.ComponentInspector$NodeSelectionListener.propertyChange(ComponentInspector.java:515)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
Comment 10 Michel Graciano 2008-12-18 16:43:34 UTC
Created attachment 75146 [details]
stacktrace
Comment 11 Jan Stola 2008-12-22 16:59:21 UTC
*** Issue 155771 has been marked as a duplicate of this issue. ***
Comment 12 schnappi 2009-01-02 00:08:51 UTC
I am experiencing this issue when working with forms that were created in an older version of NetBeans. These forms were then refactored (just moved to a 
different package) using NB 6.5. Now usually I can open the form one time without exception, the next time I open it or switch to source view and back to 
design view I see that exception.
Comment 13 Exceptions Reporter 2009-07-15 04:22:02 UTC
This issue already has 100 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=6988
Comment 14 Jan Stola 2009-07-17 09:15:24 UTC
I was able to reproduce this issue using use-case mentioned in issue 153953. The exception reports show that there are 
other use-cases that lead to this exception, but the fix of issue 153953 should help there as well => marking as fixed.

Modified file: http://hg.netbeans.org/cdev/rev/06c5dd57907a