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 257974

Summary: NullPointerException at org.netbeans.modules.options.OptionsPanel$2.run
Product: platform Reporter: ytn01
Component: Options&SettingsAssignee: Theofanis Oikonomou <theofanis>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 222519
Attachments: stacktrace

Description ytn01 2016-02-13 20:20:04 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.72-b15, Java(TM) SE Runtime Environment, 1.8.0_72-b15
OS: Mac OS X

User Comments:
ytn01: Launched Netbeans. (I had Darcula LAF installed)
Once running,... switched among some of the Java source files that opened from last session.
Opened options window, went to Editor tab, then switched to "Fonts and Colors" tab. Current default font was "Monospaced 13",.. I changed it to "Monospaced 12".

Clicked on Apply, OK.
Then switched among my opened source files once again.
Then exception got generated.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.options.OptionsPanel$2.run(OptionsPanel.java:308)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
   at java.awt.EventQueue.access$500(EventQueue.java:97)
   at java.awt.EventQueue$3.run(EventQueue.java:709)
   at java.awt.EventQueue$3.run(EventQueue.java:703)
Comment 1 ytn01 2016-02-13 20:20:06 UTC
Created attachment 158485 [details]
stacktrace