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 182159 - [69cat] Repeated exceptions while debugging
Summary: [69cat] Repeated exceptions while debugging
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Ant (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-16 20:43 UTC by swpalmer
Modified: 2010-03-17 18:55 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 swpalmer 2010-03-16 20:43:24 UTC
Product Version = NetBeans IDE Dev (Build 201003160201)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_18
Runtime = Java HotSpot(TM) Client VM 16.0-b13


During a debugging session the IDE go tinto a state where it repeatedly threw exceptions until the debugging session ended.

com.sun.jdi.ClassNotPreparedException
	at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:33)
	at com.sun.tools.jdi.ReferenceTypeImpl.getInterfaces(ReferenceTypeImpl.java:567)
	at com.sun.tools.jdi.ClassTypeImpl.interfaces(ClassTypeImpl.java:53)
	at com.sun.tools.jdi.ClassTypeImpl.addInterfaces(ClassTypeImpl.java:59)
	at com.sun.tools.jdi.ClassTypeImpl.allInterfaces(ClassTypeImpl.java:76)
	at org.netbeans.modules.debugger.jpda.expr.EvaluatorVisitor.instanceOf(EvaluatorVisitor.java:735)
	at org.netbeans.modules.debugger.jpda.models.JPDAClassTypeImpl.isInstanceOf(JPDAClassTypeImpl.java:195)
Caused: java.lang.reflect.InvocationTargetException
	at sun.reflect.GeneratedMethodAccessor226.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.isInstanceOf(VariablesFormatterFilter.java:496)
	at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.getFormatterForType(VariablesFormatterFilter.java:241)
	at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.doExpandTest(VariablesFormatterFilter.java:283)
	at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getChildren(VariablesTreeModelFilter.java:229)
	at org.netbeans.spi.viewmodel.Models$CompoundTreeModel.getChildren(Models.java:730)
	at org.netbeans.spi.viewmodel.Models$CompoundModel.getChildren(Models.java:3446)
	at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.getModelChildren(TreeModelNode.java:1056)
	at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.run(TreeModelNode.java:1017)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1356)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1894)


org.netbeans.api.debugger.jpda.InvalidExpressionException: No current context (stack frame)
	at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluateGeneric(JPDADebuggerImpl.java:821)
	at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluate(JPDADebuggerImpl.java:338)
	at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.evaluate(JPDADebuggerImpl.java:314)
	at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.evaluate(AbstractObjectVariable.java:531)
Caused: java.lang.reflect.InvocationTargetException
	at sun.reflect.GeneratedMethodAccessor229.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.netbeans.modules.debugger.jpda.ui.models.VariablesFormatterFilter.doExpandTest(VariablesFormatterFilter.java:290)
	at org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter.getChildren(VariablesTreeModelFilter.java:229)
	at org.netbeans.spi.viewmodel.Models$CompoundTreeModel.getChildren(Models.java:730)
	at org.netbeans.spi.viewmodel.Models$CompoundModel.getChildren(Models.java:3446)
	at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.getModelChildren(TreeModelNode.java:1056)
	at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.run(TreeModelNode.java:1017)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1356)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1894)
Comment 1 Martin Entlicher 2010-03-17 09:29:17 UTC
The second exception is already fixed by issue #181752.
Comment 2 Martin Entlicher 2010-03-17 18:55:55 UTC
The first exception is fixed as well in changeset:   163950:f09a5d59a6c3
http://hg.netbeans.org/main/rev/f09a5d59a6c3