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 142686 - NullPointerException at org.netbeans.modules.form.FormUtils.setupEditorPane
Summary: NullPointerException at org.netbeans.modules.form.FormUtils.setupEditorPane
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@guibuilder
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-02 16:52 UTC by jemont
Modified: 2009-02-20 12:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 78932


Attachments
stacktrace (2.24 KB, text/plain)
2008-08-02 16:52 UTC, jemont
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jemont 2008-08-02 16:52:13 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments: 
i was trying to change property of a jpanel  element and clicking on the (...) of border for the  window doesn�t appear only this error messenge 

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.form.FormUtils.setupEditorPane(FormUtils.java:925)
        at org.netbeans.modules.form.CodeCustomEditor.<init>(CodeCustomEditor.java:129)
        at org.netbeans.modules.form.RADConnectionPropertyEditor.getCustomEditor(RADConnectionPropertyEditor.java:171)
        at org.netbeans.modules.form.FormCustomEditor.<init>(FormCustomEditor.java:180)
        at org.netbeans.modules.form.FormPropertyEditor.getCustomEditor(FormPropertyEditor.java:309)
        at org.openide.explorer.propertysheet.PropertyDialogManager.<init>(PropertyDialogManager.java:129)
Comment 1 jemont 2008-08-02 16:52:18 UTC
Created attachment 66389 [details]
stacktrace
Comment 2 Jan Stola 2008-08-04 10:12:28 UTC
I am sorry, I am not able to reproduce this issue and the stack trace of the exception is not sufficient to track the 
problem down. Could you, please, provide more details? Are you still able to reproduce it? Does it happen for one form 
only or for all forms?
Comment 3 Jan Stola 2008-08-06 09:56:43 UTC
Response from the reporter:

> I'm not able to change any property, because there will not pop up the window to change the property.
> when I click on (...) nothing happens, I also tried right-click and properties but it happens nothing.
> in all forms an with all swing elements is the same 
Comment 4 Jan Stola 2008-08-06 10:20:34 UTC
I am not able to reproduce this issue, but I can implement a simple harmless workaround for the latest development 
builds. Unfortunately, this will not help you in your installation of NB 6.1. The only thing that I can suggest you is 
to try to start NetBeans with a new (clean/empty) userdir.

See http://wiki.netbeans.org/FaqWhatIsUserdir to find out what userdir is
and http://wiki.netbeans.org/FaqAlternateUserdir to learn how to change it.
Comment 5 Jan Stola 2008-08-06 10:31:45 UTC
Workaround implemented.

Modified file: http://hg.netbeans.org/main?cmd=changeset;node=f14390065b83
Comment 6 pribyl 2009-02-20 12:50:48 UTC
Product Version: NetBeans IDE Dev (Build 200902161401)
Java: 1.6.0_12-ea; Java HotSpot(TM) Server VM 11.0-b17
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)

Verified