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 - NullPointerException at org.netbeans.modules.form.FormDesigner.componentIds
Summary: NullPointerException at org.netbeans.modules.form.FormDesigner.componentIds
Status: RESOLVED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@guibuilder
URL: http://statistics.netbeans.org/except...
Keywords:
: 155771 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-21 14:13 UTC by Michel Graciano
Modified: 2009-07-17 09:15 UTC (History)
13 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 6988


Attachments
stacktrace (4.56 KB, text/plain)
2008-01-21 14:14 UTC, Michel Graciano
Details
stacktrace (5.25 KB, text/plain)
2008-12-18 16:07 UTC, Michel Graciano
Details
stacktrace (3.38 KB, text/plain)
2008-12-18 16:43 UTC, Michel Graciano
Details

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