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 253058 - com.sun.jdi.InternalException: Unexpected JDWP Error: 15
Summary: com.sun.jdi.InternalException: Unexpected JDWP Error: 15
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-18 09:28 UTC by Exceptions Reporter
Modified: 2015-06-26 04:52 UTC (History)
20 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 218023


Attachments
stacktrace (835 bytes, text/plain)
2015-06-18 09:28 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-06-18 09:28:54 UTC
This bug was originally marked as duplicate of bug 141644, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132
OS: Windows 7

User Comments:
GUEST: Annotation: An unexpected internal exception occured in debug interface layer. Please submit this to your JVM vendor.
Annotation: An unexpected internal exception occured in debug interface layer. Please submit this to your JVM vendor.
An unexpected internal exception occured in debug interface layer. Please submit this to your JVM vendor.
An unexpected internal exception occured in debug interface layer. Please submit this to your JVM vendor.
Caused: com.sun.jdi.InternalException: Unexpected JDWP Error: 13
	at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:47)
	at com.sun.tools.jdi.ThreadReferenceImpl.currentContendedMonitor(ThreadReferenceImpl.java:433)
	at org.netbeans.modules.debugger.jpda.jdi.ThreadReferenceWrapper.currentContendedMonitor(ThreadReferenceWrapper.java:60)
	at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl.checkForBlockingThreads(JPDAThreadImpl.java:1202)
	at org.netbeans.modules.debugger.jpda.SingleThreadWatcher.run(SingleThreadWatcher.j

msauer: Neverending stream of exceptions while having debugger session active.

bburette: Debugging

GUEST: Deleted a watch.

sreimers: fix in place

GUEST: debugging app

tkellerer: Debugging a JavaSE (Swing) application

GUEST: While debugging presses continue and let the debugged program exit normally. Most likely the debugger couldn't handle the attached process endning

The remote program was started with "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y" (jdk 6)

fzamboj: was using F8 while debugging

GUEST: I've just debugging my Java project.
The error occured when my program tried to put null value to hash and debugging stopped.

GUEST: debugging an application

sidlo: debug program

bburette: Debugging

bburette: debug

fzamboj: I was debugging application in JDK sources (Thread.java) when I got the exception.

bburette: Debugging

bburette: Debugging

bburette: Debugging

bburette: Debugging

GUEST: continuing to step through a method in debug mode...Had an assert exception just before this and reported it.. probably related!

bburette: Debugging

yardus: debugging

GUEST: debugging and error keeps popping up like hell

please fix this shitty bug!!!

bburette: Debugging

bburette: Debugging

bburette: Debugging

GUEST: Trying to run a test UI app, with source adapted for IntelliJ, but originally written in NetBeans 6.5.

mgoe: Exiting a program which has been debugged.

msauer: Applying code changes

haskovec: nothing just sitting at a breakpoint

bburette: Debugging

GUEST: When restart tomcat in debug mode

aldobrucale: Debugging j2se application (keeps happening while I type)

stefan79: Step by Step debugging

GUEST: no idea really, was busy debugging and suddenly noticed this little red icon in the bottom right

bburette: Debugging

GUEST: class Message.

contain an internal enum.
contain a variable of this enum.

contain a function that receive an int.

switch on the variable of the enum.

hang on this switch.

bburette: Debugging

GUEST: debugging

bburette: Debugging

fmcorp: Debug

bburette: Debugging

bburette: Debugging

bburette: Debugging

GUEST: Review in

tbrunhoff: In debugger exception




Stacktrace: 
com.sun.jdi.InternalException: Unexpected JDWP Error: 15
   at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:65)
   at com.sun.tools.jdi.ThreadReferenceImpl.currentContendedMonitor(ThreadReferenceImpl.java:490)
   at org.netbeans.modules.debugger.jpda.jdi.ThreadReferenceWrapper.currentContendedMonitor(ThreadReferenceWrapper.java:75)
   at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl.checkForBlockingThreads(JPDAThreadImpl.java:1868)
   at org.netbeans.modules.debugger.jpda.SingleThreadWatcher.run(SingleThreadWatcher.java:87)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
Comment 1 Exceptions Reporter 2015-06-18 09:28:58 UTC
Created attachment 154282 [details]
stacktrace
Comment 2 Martin Entlicher 2015-06-24 15:26:49 UTC
JDWP Error 15 is: Thread has not been started or is now dead.
Comment 3 Martin Entlicher 2015-06-24 16:49:18 UTC
Fixed by 289067:73f6a39774d9
http://hg.netbeans.org/core-main/rev/73f6a39774d9
Comment 4 Quality Engineering 2015-06-26 04:52:24 UTC
Integrated into 'main-silver', will be available in build *201506260309* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/73f6a39774d9
User: mentlicher@netbeans.org
Log: #253058: Do not ask threads that did not start yet, or died already, for current contended monitor.