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 169144 - Occasional IncompatibleThreadStateException: Unexpected JDWP Error: 13
Summary: Occasional IncompatibleThreadStateException: Unexpected JDWP Error: 13
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2009-07-24 16:38 UTC by Martin Entlicher
Modified: 2009-12-02 13:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2009-07-24 16:38:11 UTC
During fast stepping while having turned on monitors in Debugging view, occasionally IncompatibleThreadStateException:
Unexpected JDWP Error: 13 is thrown:

INFO [org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl]: Thread 'solver 0': status = 1, is suspended = true,
suspend count = 1, is at breakpoint = false, internal suspend status = false
com.sun.jdi.IncompatibleThreadStateException: Unexpected JDWP Error: 13
        at
org.netbeans.modules.debugger.jpda.jdi.ThreadReferenceWrapper.currentContendedMonitor(ThreadReferenceWrapper.java:67)
[catch] at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl.getContendedMonitor(JPDAThreadImpl.java:1244)
        at org.netbeans.modules.debugger.jpda.ui.models.DebuggingMonitorModel.getChildren(DebuggingMonitorModel.java:141)
        at org.netbeans.spi.viewmodel.Models$CompoundTreeModel.getChildren(Models.java:705)
        at
org.netbeans.modules.debugger.jpda.ui.models.HiddenCallStackFramesFilter.getChildren(HiddenCallStackFramesFilter.java:227)
        at org.netbeans.spi.viewmodel.Models$CompoundTreeModel.getChildren(Models.java:705)
        at org.netbeans.spi.viewmodel.Models$CompoundModel.getChildren(Models.java:3198)
        at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.evaluateLazily(TreeModelNode.java:839)
        at org.netbeans.modules.viewmodel.TreeModelNode$LazyEvaluator.run(TreeModelNode.java:1291)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1070)
Comment 1 Martin Entlicher 2009-07-24 16:41:46 UTC
This might be a recent regression, the thread is suspended just to process an event and should look like running to the
outside world. The thread can be teporarily resumed to invoke a method. It looks like such resume cause this error.

Not really reproducible, occurs occasionally during fast steps.
Comment 2 Martin Entlicher 2009-08-10 15:19:48 UTC
I'm currently not able to reproduce. Downgrading to P4 until we get more information and feedback.
Comment 3 Martin Entlicher 2009-12-02 13:01:57 UTC
IMHO this is fixed now.