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

Summary: java.lang.UnsupportedOperationException at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:56)
Product: debugger Reporter: alied <alied>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED WONTFIX    
Severity: normal CC: jlahoda
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 193979
Attachments: stacktrace

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.