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 209536 - NullPointerException at javax.swing.AbstractButton.removeNotify
Summary: NullPointerException at javax.swing.AbstractButton.removeNotify
Status: RESOLVED WORKSFORME
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 209537 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-13 16:53 UTC by netacq_server
Modified: 2012-04-12 11:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 185837


Attachments
stacktrace (6.93 KB, text/plain)
2012-03-13 16:53 UTC, netacq_server
Details

Note You need to log in before you can comment on or make changes to this bug.
Description netacq_server 2012-03-13 16:53:48 UTC
Build: NetBeans IDE 7.1 (Build 201112071828)
VM: Java HotSpot(TM) Client VM, 22.0-b10, Java(TM) SE Runtime Environment, 1.7.0_02-b13
OS: Windows 7

User Comments:
netacq_server: Closing form file.




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.AbstractButton.removeNotify(AbstractButton.java:1033)
   at java.awt.Container.removeNotify(Container.java:2800)
   at javax.swing.JComponent.removeNotify(JComponent.java:4761)
   at java.awt.Container.removeNotify(Container.java:2800)
   at javax.swing.JComponent.removeNotify(JComponent.java:4761)
   at java.awt.Container.removeNotify(Container.java:2800)
Comment 1 netacq_server 2012-03-13 16:53:50 UTC
Created attachment 116680 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2012-03-14 12:33:10 UTC
looks like a problem in forms designer, please evaluate
Comment 3 Jan Stola 2012-04-12 09:52:48 UTC
*** Bug 209537 has been marked as a duplicate of this bug. ***
Comment 4 Jan Stola 2012-04-12 11:41:55 UTC
It seems that one of your buttons has a model set to null. You should find the problematic button and reset its model property to default (because it has no sense to have a null model).