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 70299 - [50cat] InvalidExpressionException thrown during debug
Summary: [50cat] InvalidExpressionException thrown during debug
Status: CLOSED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker with 1 vote (vote)
Assignee: issues@debugger
URL:
Keywords:
: 76775 87731 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-12 20:31 UTC by misterm
Modified: 2010-04-29 09:27 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 misterm 2005-12-12 20:31:02 UTC
[ BUILD # : 20051201 ]
[ JDK VERSION : 1.4.2_xx ]

The following exception was thrown during a debug session. There are no known steps to reproduce it:

org.netbeans.api.debugger.jpda.InvalidExpressionException
	at org.netbeans.modules.debugger.jpda.expr.Evaluator.invokeVirtual(Evaluator.java:1618)
	at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.invokeMethod(JPDADebuggerImpl.java:635)
	at org.netbeans.modules.debugger.jpda.models.AbstractVariable.invokeMethod(AbstractVariable.java:374)
	at org.netbeans.modules.debugger.jpda.ui.models.JavaVariablesFilter.getChildrenCount(JavaVariablesFilter.java:220)
	at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getChildrenCount(VariablesTreeModelFilter.java:207)
	at org.netbeans.spi.viewmodel.Models$CompoundTreeModel.getChildrenCount(Models.java:577)
	at org.netbeans.spi.viewmodel.Models$CompoundModel.getChildrenCount(Models.java:2200)
	at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.evaluateLazily(TreeModelNode.java:501)
	at org.netbeans.modules.viewmodel.TreeModelNode$LazyEvaluator.run(TreeModelNode.java:887)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Caused by: com.sun.jdi.IncompatibleThreadStateException
	at com.sun.tools.jdi.ObjectReferenceImpl.invokeMethod(ObjectReferenceImpl.java:381)
	at org.netbeans.modules.debugger.jpda.expr.Evaluator.invokeVirtual(Evaluator.java:1608)
	... 10 more
Comment 1 Martin Entlicher 2005-12-13 14:06:04 UTC
It's likely that the thread was just started when the method was invoked - there
is IncompatibleThreadStateException thrown.
There needs to be either some synchronization or this situation must be better
handled.
Comment 2 Martin Entlicher 2006-10-24 09:55:54 UTC
*** Issue 87731 has been marked as a duplicate of this issue. ***
Comment 3 Martin Entlicher 2006-10-24 09:57:28 UTC
*** Issue 76775 has been marked as a duplicate of this issue. ***
Comment 4 Martin Entlicher 2008-02-14 17:24:24 UTC
There were some fixes applied to the sychronization of method invocations and thread suspend/resume actions. Thus this
should be already fixed in NB 6.0.
Comment 5 Quality Engineering 2010-04-29 09:27:49 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.