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 148388 - [65cat] IllegalStateException at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn
Summary: [65cat] IllegalStateException at org.netbeans.modules.debugger.jpda.JPDADebug...
Status: CLOSED WORKSFORME
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
: 148408 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-25 16:20 UTC by ulfzibis
Modified: 2010-04-29 09:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 118467


Attachments
stacktrace (2.49 KB, text/plain)
2008-09-25 16:20 UTC, ulfzibis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ulfzibis 2008-09-25 16:20:10 UTC
Build: NetBeans IDE Dev (Build 200809220201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b28
OS: Windows XP, 5.1, x86

User Comments:
ulfzibis: Clicked on Debugger Watches tab.
See: Issue 148377



Stacktrace: 
java.lang.IllegalStateException
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:832)
        at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateIn(JPDADebuggerImpl.java:664)
        at org.netbeans.modules.debugger.jpda.models.WatchesModel$JPDAWatchEvaluating.getValue(WatchesModel.java:394)
        at org.netbeans.modules.debugger.jpda.models.WatchesModel$JPDAWatchEvaluating.getType(WatchesModel.java:363)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getFilter(VariablesTreeModelFilter.java:473)
        at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.access$100(VariablesTreeModelFilter.java:78)
Comment 1 ulfzibis 2008-09-25 16:20:18 UTC
Created attachment 70598 [details]
stacktrace
Comment 2 Martin Entlicher 2008-09-26 09:36:50 UTC
*** Issue 148408 has been marked as a duplicate of this issue. ***
Comment 3 Martin Entlicher 2008-09-26 09:38:02 UTC
I'm going to look at this. Looks like some synchronization problem...
Comment 4 Martin Entlicher 2008-09-26 11:21:50 UTC
There's something strange going on there. All duplicate issues contain stack traces where
IncompatibleThreadStateException is thrown at TreeEvaluator.evaluate(TreeEvaluator.java:105) from "frameThread.frames()"
expression. But the "frameThread" is taken from "frame.thread()" call, which succeeds.
This seems to indicate that the thread was suspended when we called "frame.thread()" on line 104 and unsuspended when we
call "frameThread.frames()" on line 105. It's almost impossible from probability point of view for this to happen
consistently several times at the same point. There must be something more in it...
Comment 5 Martin Entlicher 2008-09-30 12:28:47 UTC
I was not able to reproduce this yet. Adding RANDOM keyword, since there are no deterministic steps to reproduce AFAIK.
I've occasionally got "No current context" message in the watches, but no exception.
Comment 6 Martin Entlicher 2008-10-03 14:04:20 UTC
cyb3r, do you have some concrete steps to reproduce?
Comment 7 Filip Zamboj 2008-12-08 16:56:06 UTC
Thank you for report! We are not able to reproduce the described problem. 
Informations you've provided aren't enough to fix the issue. You haven't added comment with steps to reproduce/system
info/messages.log to the issue as requested. 
We are closing as worksforme for now. Please, add requested informations and reopen it if you are still able to
reproduce this issue.
Thanks in advance.
Comment 8 Quality Engineering 2010-04-29 09:44:21 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.