2
私はj2meアプリケーションを作成しています。ネットビーンでデバッグしようとすると、コード内のポイントに達したときにエラーが発生します。java.lang.InternalError:コードインデックスが無効な場所...何ですか?
class MyClass{
public MyClass()
{
OtherClass oc = new OtherClass();
oc.MyMethod();
}
}
を次のように
コードは次のように他の方法は次のとおりです。
public void MyMethod()
{
boolean isValue = true; // I get an exception right here...
if(...) { /*Code not reached*/ } ...
}
私はこのようなルックスを得る例外:
java.lang.InternalError: Location with invalid code index at com.sun.tools.jdi.ConcreteMethodImpl.codeIndexToLineInfo(ConcreteMethodImpl.java:167) at com.sun.tools.jdi.LocationImpl.getBaseLineInfo(LocationImpl.java:108) at com.sun.tools.jdi.LocationImpl.getLineInfo(LocationImpl.java:122) at com.sun.tools.jdi.LocationImpl.sourcePath(LocationImpl.java:187) at com.sun.tools.jdi.LocationImpl.sourcePath(LocationImpl.java:182) at org.netbeans.modules.debugger.jpda.models.CallStackFrameImpl.getSourcePath(CallStackFrameImpl.java:238) at org.netbeans.modules.debugger.jpda.ui.EditorContextBridge.getRelativePath(EditorContextBridge.java:355) at org.netbeans.modules.debugger.jpda.ui.CurrentThreadAnnotationListener$AnnotateCallStackTask.run(CurrentThreadAnnotationListener.java:344) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)