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 230989 - Deadlock detection seems broken on JDK 8
Summary: Deadlock detection seems broken on JDK 8
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: JDK Problems (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: David Strupl
URL: https://jbs.oracle.com/bugs/browse/JD...
Keywords: NO74
Depends on:
Blocks:
 
Reported: 2013-06-09 17:02 UTC by drazisil
Modified: 2013-06-12 06:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (34.71 KB, text/plain)
2013-06-09 17:02 UTC, drazisil
Details
deadlock file (21.94 KB, text/plain)
2013-06-11 04:20 UTC, drazisil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description drazisil 2013-06-09 17:02:25 UTC
Created attachment 135554 [details]
messages.log

Opening NetBeans IDE Dev (Build 201306072301) with Java(TM) SE Runtime Environment 1.8.0-ea-b92

Received an Unexpected Exception.

org.netbeans.modules.deadlock.detector.Detector$DeadlockDetectedException
	at java.util.HashMap.inflateTable(HashMap.java:297)
	at java.util.HashMap.<init>(HashMap.java:273)
	at org.openide.util.lookup.ProxyLookup$ImmutableInternalData.findResult(ProxyLookup.java:885)
	at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:261)
	at org.openide.util.Lookup.lookupResult(Lookup.java:251)
	at org.netbeans.api.debugger.PathLookup.lookupResult(PathLookup.java:88)
	at org.netbeans.api.debugger.Lookup$MetaInf.listLookup(Lookup.java:441)
	at org.netbeans.api.debugger.Lookup$MetaInf.access$1300(Lookup.java:356)
	at org.netbeans.api.debugger.Lookup$MetaInf$MetaInfLookupList.<init>(Lookup.java:706)
	at org.netbeans.api.debugger.Lookup$MetaInf.lookup(Lookup.java:400)
	at org.netbeans.api.debugger.DebuggerManager.lookup(DebuggerManager.java:239)
	at org.netbeans.modules.debugger.ui.actions.ConnectAction$1.run(ConnectAction.java:111)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)

messages.log attached.
Comment 1 David Strupl 2013-06-10 20:00:44 UTC
Can you please also attach the file
C:\Users\Joseph\AppData\Local\Temp\deadlock689637651142837101.txt
mentioned in your log (if you still have it)?

We suspect that the deadlock detection is broken on JDK8 - that's why we have removed it from the build of 7.4 just today....
Comment 2 drazisil 2013-06-11 04:20:31 UTC
Created attachment 135612 [details]
deadlock file

Per request
Comment 3 drazisil 2013-06-11 04:21:04 UTC
Quite a few things appear broken with JDK 8. file included.
Comment 4 David Strupl 2013-06-11 06:39:27 UTC
Thanks for the file! I am going to file the bug with JDK ...
Comment 5 David Strupl 2013-06-11 08:10:51 UTC
The bug has been file for JDK team as
https://jbs.oracle.com/bugs/browse/JDK-8016304

Changing the category and owner of this one.
Comment 6 Antonin Nebuzelsky 2013-06-11 11:05:11 UTC
Davide, keep yourself on the bugs.

Closing wontfix on our side. Makes sense to keep open only if you are able to workaround in NetBeans code.
Comment 7 drazisil 2013-06-11 16:56:27 UTC
Is JBS internal only? Why can't I see this bug?
Comment 8 David Strupl 2013-06-12 06:57:07 UTC
I apologize, it is internal. You can check the status here:
http://bugs.sun.com/view_bug.do?bug_id=8016304
Unfortunately it is read only through the public one.