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 223254

Summary: NPE at ActiveQueue$Daemon.run on a private static final field!
Product: platform Reporter: zeloras
Component: JDK ProblemsAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED INCOMPLETE    
Severity: normal CC: jtulach
Priority: P4    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 196080
Attachments: stacktrace

Description zeloras 2012-12-04 12:56:26 UTC
Build: NetBeans IDE Dev (Build 201211200002)
VM: OpenJDK Client VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_24-b24
OS: Linux

Stacktrace: 
java.lang.NullPointerException
   at org.openide.util.lookup.implspi.ActiveQueue$Daemon.run(ActiveQueue.java:184)
Comment 1 zeloras 2012-12-04 12:56:29 UTC
Created attachment 128836 [details]
stacktrace
Comment 2 Marian Mirilovic 2012-12-06 09:03:37 UTC
Similar to issue 196138
Comment 3 Jaroslav Tulach 2012-12-06 10:13:35 UTC
Amazing. Has anybody seen the code:
http://hg.netbeans.org/ergonomics/file/f8680cfa6608/openide.util.lookup/src/org/openide/util/lookup/implspi/ActiveQueue.java

line 184: LOGGER.finer("dequeued reference");
line 59:  private static final Logger LOGGER = Logger.getLogger(ActiveQueue.class.getName());

How can the NPE happen on line 184 is a mistery to me. Let's consider it a JDK bug.

Hopefully it is harmless, or does the reporter has other opinion?
Comment 4 Stanislav Aubrecht 2013-07-31 10:52:34 UTC
Please reopen if reproducible with the latest update of Oracle JDK 1.7, thanks.