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 244722

Summary: NullPointerException at org.netbeans.swing.laf.dark.RelativeColor.createValue
Product: platform Reporter: purwo
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 204736
Attachments: stacktrace

Description purwo 2014-05-26 02:24:36 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) Client VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Windows 7

User Comments:
GUEST: It occured wen deactivating Dynamic Look and Feel Changer and then Restarting Netbeans.

purwo: error.
please fix it soon.

GUEST: I change the look and feel to Dark Nimbus, and the error showed up.  I can't access the plugins.

purwo: fix it




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.swing.laf.dark.RelativeColor.createValue(RelativeColor.java:195)
   at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:217)
   at javax.swing.UIDefaults.get(UIDefaults.java:162)
   at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:58)
   at javax.swing.UIDefaults.getColor(UIDefaults.java:418)
   at javax.swing.UIManager.getColor(UIManager.java:698)
Comment 1 purwo 2014-05-26 02:24:38 UTC
Created attachment 147435 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2014-05-30 07:41:05 UTC
*** Bug 244723 has been marked as a duplicate of this bug. ***
Comment 3 Stanislav Aubrecht 2014-05-30 07:41:13 UTC
*** Bug 244721 has been marked as a duplicate of this bug. ***
Comment 4 Stanislav Aubrecht 2014-05-30 09:11:40 UTC
These errors are related to Nimbus threading issues, see #230528

I've added null check but such problems will just manifest elsewhere.

core-main 05be6b13d8a9
Comment 5 Quality Engineering 2014-06-01 01:31:39 UTC
Integrated into 'main-silver', will be available in build *201406010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/05be6b13d8a9
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #244722 - NPE