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 220702 - java.lang.UnsupportedOperationException at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:56)
Summary: java.lang.UnsupportedOperationException at com.sun.tools.jdi.JDWPException.to...
Status: RESOLVED WONTFIX
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-24 02:33 UTC by alied
Modified: 2012-10-24 11:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193979


Attachments
stacktrace (2.90 KB, text/plain)
2012-10-24 02:33 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alied 2012-10-24 02:33:48 UTC
Build: NetBeans IDE Dev (Build 201210210002)
VM: Java HotSpot(TM) Client VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Windows XP

User Comments:
alied: debugging a jme app in Nokia SDK 2.0 emulator




Stacktrace: 
java.lang.UnsupportedOperationException
   at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:56)
   at com.sun.tools.jdi.ThreadReferenceImpl.frameCount(ThreadReferenceImpl.java:344)
   at org.netbeans.modules.debugger.jpda.jdi.ThreadReferenceWrapper.frameCount0(ThreadReferenceWrapper.java:216)
   at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl.getLineNumber(JPDAThreadImpl.java:282)
   at org.netbeans.modules.debugger.jpda.ui.CurrentThreadAnnotationListener$AllThreadsAnnotator.run(CurrentThreadAnnotationListener.java:662)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1454)
Comment 1 alied 2012-10-24 02:33:50 UTC
Created attachment 126423 [details]
stacktrace
Comment 2 Martin Entlicher 2012-10-24 09:37:15 UTC
When ThreadReferenceImpl.frameCount() is not supported, you can not expect to debug.

Moving to Java module to solve the java.lang.NullPointerException
	at org.netbeans.modules.java.hints.errors.CreateElementUtilities.computeNewClass(CreateElementUtilities.java:803)
Comment 3 Jan Lahoda 2012-10-24 10:59:20 UTC
The NullPointerException at org.netbeans.modules.java.hints.errors.CreateElementUtilities.computeNewClass solved as bug #220552. Returning back to handle the UOE.