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.
Build: NetBeans IDE Dev (Build 200905210201) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b02 OS: Windows XP, 5.1, x86 User Comments: ca: I was expanding variables tree Stacktrace: com.sun.jdi.InternalException: Unexpected JDWP Error: 25 at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:47) at com.sun.tools.jdi.ObjectReferenceImpl.getValues(ObjectReferenceImpl.java:196) at com.sun.tools.jdi.ObjectReferenceImpl.getValue(ObjectReferenceImpl.java:148) at org.netbeans.modules.debugger.jpda.jdi.ObjectReferenceWrapper.getValue(ObjectReferenceWrapper.java:146) at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.getField(AbstractObjectVariable.java:832) at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.initFieldsOfClass(AbstractObjectVariable.java:797)
Created attachment 82562 [details] stacktrace
Build: NetBeans IDE Dev (Build 200905210201) VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03 OS: Windows Vista, 6.0, x86 User Comments: Expanded a node of Variables tree Stacktrace: com.sun.jdi.InternalException: Unexpected JDWP Error: 25 at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:47) at com.sun.tools.jdi.ObjectReferenceImpl.getValues(ObjectReferenceImpl.java:196) at com.sun.tools.jdi.ObjectReferenceImpl.getValue(ObjectReferenceImpl.java:148) at org.netbeans.modules.debugger.jpda.jdi.ObjectReferenceWrapper.getValue(ObjectReferenceWrapper.java:146) at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.getField(AbstractObjectVariable.java:832) at org.netbeans.modules.debugger.jpda.models.AbstractObjectVariable.initFieldsOfClass(AbstractObjectVariable.java:797)
Created attachment 82564 [details] stacktrace
I guess that IllegalArgumentException should be thrown instead of "Unexpected JDWP Error: 25" according to http://java.sun.com/javase/6/docs/jdk/api/jpda/jdi/com/sun/jdi/ObjectReference.html#getValue(com.sun.jdi.Field) Unexpected JDWP Error: 25 is INVALID_FIELDID - Invalid field. Do you have some steps how can we reproduce this? It looks like some inconsistency in JPDA. We'd need a test-case to identify that. There is some variable type that you've had opened in Variables view that triggers this. Can you please provide more info about what you're debugging or provide some test-case? Were you debugging J2SE or J2ME application?
To reproduce: - install recent version of NB with Mobility module bundled with Java ME SDK 3.0 - create a new Mobile Application with HelloMIDlet - switch the opened HelloMIDlet to Source view and set breakpoint at line 51 (switchDisplayable(null, getForm());) - debug the project - once the execution stops at the breakpoint, open Variables and expand the following path: this|Static|classSecurityToken The exception is thrown.
Thanks for the steps.
Java ME SDK 3.0 is available for Windows only. :-((
This issue already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=151576
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=151576
Created attachment 97604 [details] stacktrace
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=151576
A bug in J2ME, downgrading to P3 and will explore on Windows...
A bug on J2ME only, occurs rarely, leaving for a further exploration as a P4.