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 221335 - NullPointerException at org.netbeans.modules.options.OptionsPanel.handlePanel
Summary: NullPointerException at org.netbeans.modules.options.OptionsPanel.handlePanel
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-02 11:23 UTC by Antonin Nebuzelsky
Modified: 2012-11-04 23:12 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194437


Attachments
stacktrace (1.44 KB, text/plain)
2012-11-02 11:23 UTC, Antonin Nebuzelsky
Details
stacktrace (1.44 KB, text/plain)
2012-11-02 11:29 UTC, Antonin Nebuzelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2012-11-02 11:23:39 UTC
Build: NetBeans IDE 7.3 Beta 2 (Build 20121102-dda3d1074e3e)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b14
OS: Linux

User Comments:
anebuzelsky: Started vanilla 7.3 Beta 2, opened Options and typed maven in the filter field.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.options.OptionsPanel.handlePanel(OptionsPanel.java:438)
   at org.netbeans.modules.options.OptionsPanel.computeOptionsWords(OptionsPanel.java:423)
   at org.netbeans.modules.options.OptionsPanel.access$1600(OptionsPanel.java:124)
   at org.netbeans.modules.options.OptionsPanel$OptionsQSCallback$3.run(OptionsPanel.java:722)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
Comment 1 Antonin Nebuzelsky 2012-11-02 11:23:41 UTC
Created attachment 126989 [details]
stacktrace
Comment 2 Antonin Nebuzelsky 2012-11-02 11:29:06 UTC
Created attachment 126990 [details]
stacktrace

Happens in trunk as well. Fresh full build (incl. ergonomics and most functionality disabled initially).
Comment 3 Antonin Nebuzelsky 2012-11-02 11:29:47 UTC
Raising to P2. Right after first start of full build (incl. ergonomics) the Options filter is not usable.
Comment 4 Theofanis Oikonomou 2012-11-02 14:57:27 UTC
reproducible in NetBeans IDE Dev (Build 20121102-d2725f319b51)

From the Logger it seems that a hints related key (LBL_WrongStringComparison) cannot be found. While investigating it turned out that several similar cases (actually 8) could not be found in the ide.ergonomics.java.Bundle, all related to java.hints module. It turned out that the key values registered in several Bundle files were spread across multiple lines using the "\" character. 

I am not sure if this is an error in ide.ergonomics but I was able to eliminate the NPE with this fix: http://hg.netbeans.org/core-main/rev/6a10ecadc358

If this can be verified I could then transplant into branch releases/release73_beta2_base

Thank you
Comment 5 Antonin Nebuzelsky 2012-11-02 15:08:08 UTC
I will verify now.
Comment 6 Antonin Nebuzelsky 2012-11-02 15:22:10 UTC
Verified on trunk. You can proceed with integration to beta2. Thanks.
Comment 7 Theofanis Oikonomou 2012-11-02 15:40:44 UTC
integrated into release73_beta2: http://hg.netbeans.org/releases/rev/317f1ad5c64b
Comment 8 Quality Engineering 2012-11-04 02:50:24 UTC
Integrated into 'main-golden', will be available in build *201211040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6a10ecadc358
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #221335 - NullPointerException at org.netbeans.modules.options.OptionsPanel.handlePanel
Comment 9 Quality Engineering 2012-11-04 23:12:30 UTC
Integrated into 'releases', will be available in build *201211042000* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/317f1ad5c64b
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #221335 - NullPointerException at org.netbeans.modules.options.OptionsPanel.handlePanel
(transplanted from 6a10ecadc3581845a52ee11d8b0b7250b5fa4e2a)