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.
Build: NetBeans IDE 8.1 Beta (Build 201508041349) VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16 OS: Mac OS X User Comments: GUEST: error jarome: Tryinbg to set background of textArea GUEST: Error while recalling the foregraound color editor in the gui editor Stacktrace: java.lang.NullPointerException at org.netbeans.modules.form.RADConnectionPropertyEditor.supportsCustomEditor(RADConnectionPropertyEditor.java:178) at org.netbeans.modules.form.FormCustomEditor.<init>(FormCustomEditor.java:174) 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:222) at org.openide.explorer.propertysheet.SheetTable.editCellAt(SheetTable.java:1135)
Created attachment 155365 [details] stacktrace
The exception looks like opening a property editor from property sheet for a form that is not opened. No clue how it could happen. Added check for null blindly. http://hg.netbeans.org/jet-main/rev/e66cc3195015
Integrated into 'main-silver', will be available in build *201509120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/e66cc3195015 User: Tomas Pavek <tpavek@netbeans.org> Log: #254390: avoid NPE in weird situation when property editor is opened for a form that is closed (cause unknown)