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 184675 - NullPointerException at org.netbeans.modules.options.OptionsDisplayerImpl.showOptionsDialog
Summary: NullPointerException at org.netbeans.modules.options.OptionsDisplayerImpl.sho...
Status: RESOLVED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-21 21:57 UTC by Susan Morgan
Modified: 2012-04-06 16:35 UTC (History)
12 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 168351


Attachments
stacktrace (2.76 KB, text/plain)
2010-04-21 21:57 UTC, Susan Morgan
Details
stacktrace (2.89 KB, text/plain)
2010-05-26 21:59 UTC, Jesse Glick
Details
stacktrace (3.89 KB, text/plain)
2011-06-24 15:28 UTC, Jiri Prox
Details
stacktrace from Netbeans 7.1.1 (3.71 KB, text/plain)
2012-03-27 07:44 UTC, mgoe
Details
stacktrace (3.89 KB, text/plain)
2012-04-04 22:02 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Susan Morgan 2010-04-21 21:57:52 UTC
This bug was originally marked as duplicate of bug 174161, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201004210200)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows 7

User Comments:
GUEST: Got cofused by an authentication prompt and hit cancel as I didn't know what it was for.  Turns out it was requesting authentication for the proxy server which has changed in my system settings.  Was trying to go into the options to enter the credentials, but that failed.

susanm: I selected Tools > Options

GUEST: Openning options




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.options.OptionsDisplayerImpl.showOptionsDialog(OptionsDisplayerImpl.java:190)
   at org.netbeans.api.options.OptionsDisplayer$1.run(OptionsDisplayer.java:143)
   at org.netbeans.api.options.OptionsDisplayer$1.run(OptionsDisplayer.java:130)
   at org.openide.util.Mutex.doEventAccess(Mutex.java:1358)
   at org.openide.util.Mutex.readAccess(Mutex.java:268)
   at org.netbeans.api.options.OptionsDisplayer.openImpl(OptionsDisplayer.java:130)
Comment 1 Susan Morgan 2010-04-21 21:57:58 UTC
Created attachment 97823 [details]
stacktrace
Comment 2 Jesse Glick 2010-05-26 21:59:37 UTC
Created attachment 99518 [details]
stacktrace
Comment 3 Exceptions Reporter 2010-06-08 15:39:36 UTC
This bug already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=168351
Comment 4 Jiri Prox 2011-06-24 15:28:31 UTC
Created attachment 109097 [details]
stacktrace

Openning options dialog
Comment 5 mgoe 2012-03-27 07:44:04 UTC
Created attachment 117301 [details]
stacktrace from Netbeans 7.1.1
Comment 6 MackSix 2012-04-04 22:02:20 UTC
Created attachment 117847 [details]
stacktrace

Installed new build and first time run tried to go to Tools>>Options and this NullPointerException was thrown.
Product Version: NetBeans IDE Dev (Build 201204040400)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Comment 7 Theofanis Oikonomou 2012-04-06 16:35:42 UTC
I am sorry but I cannot reproduce in NetBeans IDE Dev (Build 20120404-19a1cb26d752). 

I tried opening options just after IDE started with clean userdir, while opening a big project, while scanning was happening. 

If it happens again please reopen with exact steps to repeat the exception.