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 231999 - NullPointerException at org.netbeans.modules.options.OptionsPanel$CategoryButton.mouseEntered
Summary: NullPointerException at org.netbeans.modules.options.OptionsPanel$CategoryBut...
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 7.4
Hardware: All All
: P1 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-28 14:32 UTC by MackSix
Modified: 2013-07-01 23:13 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 201775


Attachments
stacktrace (2.42 KB, text/plain)
2013-06-28 14:32 UTC, MackSix
Details
stacktrace (2.42 KB, text/plain)
2013-06-28 14:41 UTC, MackSix
Details
stacktrace (2.42 KB, text/plain)
2013-06-28 14:59 UTC, athompson
Details
stacktrace (2.42 KB, text/plain)
2013-06-28 15:08 UTC, athompson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-06-28 14:32:41 UTC
Build: NetBeans IDE Dev (Build 201306272300)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16
OS: Windows 7

User Comments:
MackSix: 1. Installed NetBeans 
2. Activated GUI Builder, PHP, C/C++, JavaFX
3. Looking at C/C++ tab and did nothing, but the Apply button became active as if somthing was changed.
4. Clicked Apply

NPE




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.options.OptionsPanel$CategoryButton.mouseEntered(OptionsPanel.java:1193)
   at java.awt.Component.processMouseEvent(Component.java:6514)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
   at java.awt.Component.processEvent(Component.java:6270)
   at java.awt.Container.processEvent(Container.java:2229)
   at java.awt.Component.dispatchEventImpl(Component.java:4861)
Comment 1 MackSix 2013-06-28 14:32:43 UTC
Created attachment 136464 [details]
stacktrace
Comment 2 MackSix 2013-06-28 14:41:25 UTC
Created attachment 136467 [details]
stacktrace

1. View Tools>>Options>>C/C++
2. Apply button becomes active for now reason.
3. View Miscellaneous and click all the tabs starting with Windows tab through Action Item tab.
4. Click Apply button.

NPE
Comment 3 MackSix 2013-06-28 14:50:05 UTC
Sometimes the Apply Button becomes active if you click on some things, like
C/C++, Miscellaneous>>Output Tab and after clicking Apply and then hovering the
mouse over the menu items, this NPE happens.

Any time something is changed, this of course activates the Apply button and
after clicking it, hovering mouse over menu items causes it.

Product Version: NetBeans IDE Dev (Build 201306272300)
Updates: Updates available
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 4 athompson 2013-06-28 14:59:25 UTC
Created attachment 136468 [details]
stacktrace

in Options, set web browser to chrome and hit the Apply button
Comment 5 athompson 2013-06-28 15:08:25 UTC
Created attachment 136471 [details]
stacktrace

opened options
Comment 6 Theofanis Oikonomou 2013-06-28 15:47:40 UTC
Fixed: http://hg.netbeans.org/core-main/rev/ebab633b752b
Comment 7 Quality Engineering 2013-07-01 15:56:22 UTC
Integrated into 'main-silver', will be available in build *201307011244* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/ebab633b752b
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: #231999 - NullPointerException at org.netbeans.modules.options.OptionsPanel$CategoryButton.mouseEntered
Comment 8 MackSix 2013-07-01 23:13:52 UTC
Verified fixed.