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.
This bug was originally marked as duplicate of bug 119335, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253) VM: OpenJDK Client VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_24-b24 OS: Linux User Comments: GUEST: avakldfjkldasklfdskl Stacktrace: java.lang.NullPointerException at org.netbeans.modules.form.CodeCustomEditor.<init>(CodeCustomEditor.java:125) at org.netbeans.modules.form.RADConnectionPropertyEditor.getCustomEditor(RADConnectionPropertyEditor.java:184) at org.netbeans.modules.form.FormCustomEditor.<init>(FormCustomEditor.java:181) at org.netbeans.modules.form.FormPropertyEditor.getCustomEditor(FormPropertyEditor.java:325) at org.openide.explorer.propertysheet.PropertyDialogManager.<init>(PropertyDialogManager.java:132) at org.openide.explorer.propertysheet.CustomEditorAction.actionPerformed(CustomEditorAction.java:221)
Created attachment 129032 [details] stacktrace
The NPE in CodeCustomEditor.java:125 looks like if the property editor dialog was opened for an already closed form. Also the other exception in the messages.log in ResourceSupport.isExcludedProperty(ResourceSupport.java:913) indicates the same. The only way I was able to reproduce this was by invoking the Properties window for a component (via the context menu Properties action), then closing the form. The properties window stays open, trying to click on the [...] button of some property leads to one of the above exceptions. To fix this case I've made the explicitly opened properties window closed when the GUI form is closed. http://hg.netbeans.org/jet-main/rev/bc1f1232c939 Also fixed two more (unrelated) exceptions found in the messages.log file: http://hg.netbeans.org/jet-main/rev/4d51bcb3ecc9 http://hg.netbeans.org/jet-main/rev/0e2b4cfba7c9
*** Bug 214936 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201301040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/bc1f1232c939 User: Tomas Pavek <tpavek@netbeans.org> Log: #223466: don't let explicitly opened properties windows stay around for closed forms