• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with NetBeans 6.5.1: Invalid method id: 11  RSS feed

Lauri Juhani Martikainen
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I try to debug a MIDlet application,
the debugging ends shortly after the beginning of the debugging.
In this situation NetBeans 6.5.1 gives the following problem report:

java.lang.IllegalArgumentException: Invalid method id: 11
at com.sun.tools.jdi.ReferenceTypeImpl.getMethodMirror(ReferenceTypeImpl.java:91)
at com.sun.tools.jdi.LocationImpl.method(LocationImpl.java:85)
at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl$EqualsInfo.<init>(CallStackFrameImpl.java:661)
at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.<init>(CallStackFrameImpl.java:106)
at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl.getCallStack(JPDAThreadImpl.java:457)
at org.netbeans.modules.debugger.jpda.models.JPDAThreadImpl.getCallStack(JPDAThreadImpl.java:383)
at org.netbeans.modules.debugger.jpda.ui.CurrentThreadAnnotationListener.annotate(CurrentThreadAnnotationListener.java:222)
at org.netbeans.modules.debugger.jpda.ui.CurrentThreadAnnotationListener.propertyChange(CurrentThreadAnnotationListener.java:104)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.firePropertyChange(JPDADebuggerImpl.java:1570)
at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.setStoppedState(JPDADebuggerImpl.java:1149)
at org.netbeans.modules.debugger.jpda.util.Operator$1.run(Operator.java:339)
[catch] at java.lang.Thread.run(Thread.java:619)

Do you have an idea about what could be wrong with my Java programming system?
I suspect that in this case the source of errors is static object type variables
and the setting of values to those variables.

The IDE I currently use is NetBeans 6.5.1.

If Could you please help me with this problem? then please help me.
Thank you.

Kind regards,

mr. Lauri J. Martikainen
Meshack Musundi
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems you may have passed an illegal argument to a method. Check your method calls.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!