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.
This bug was originally marked as duplicate of bug 188345, 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.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13 OS: Windows 7 User Comments: GUEST: debuggin tomcat web server Stacktrace: com.sun.jdi.InvalidStackFrameException at com.sun.tools.jdi.StackFrameImpl.getValues(StackFrameImpl.java:239) at com.sun.tools.jdi.StackFrameImpl.getValue(StackFrameImpl.java:201) at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitIdentifier(EvaluatorVisitor.java:2149) at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitIdentifier(EvaluatorVisitor.java:205) at com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2023) at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.visitMethodInvocation(EvaluatorVisitor.java:282)
Created attachment 156179 [details] stacktrace
The preceding errors: com.sun.jdi.IncompatibleThreadStateException at com.sun.tools.jdi.ThreadReferenceImpl.currentContendedMonitor(ThreadReferenceImpl.java:488) at org.netbeans.modules.debugger.jpda.jdi.ThreadReferenceWrapper.currentContendedMonitor(ThreadReferenceWrapper.java:75) [catch] at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl.getContendedMonitor(JPDAThreadImpl.java:1594) at org.netbeans.modules.debugger.jpda.DeadlockDetectorImpl.buildGraph(DeadlockDetectorImpl.java:198) ... indicate some problem with thread 'http-bio-8080-exec-14' The error is either THREAD_NOT_SUSPENDED, or INVALID_THREAD The most probably the JDI thread has some cached status (suspended, suspend count = 1, etc.), which does not correspond to the reality any more. We need some steps to reproduce in order to know how it got into this state and how can we recover. Just one report of a probably rare behavior -> P4.
Integrated into 'main-silver', will be available in build *201509170002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/bd95f99ecf0f User: mentlicher@netbeans.org Log: Improve the thread state logging (in association with #255291).