bad location exception when highliting a row in the asm view for a class without source
when higliting a row in the bco I get sometimes this error. It may be related
to the fact that there is no source for that class and with that also no java
editor, just the class file editor.
org.eclipse.jface.text.BadLocationException
at
org.eclipse.jface.text.AbstractLineTracker.getLineInformation(AbstractLineTracker.java:251)
at
org.eclipse.jface.text.AbstractDocument.getLineInformation(AbstractDocument.java:887)
at
de.loskutov.bco.views.BytecodeOutlineView.setSelectionInJavaEditor(BytecodeOutlineView.java:1094)
at de.loskutov.bco.views.BytecodeOutlineView$8.run(BytecodeOutlineView.java:470)
at
de.loskutov.bco.views.BytecodeOutlineView$7.widgetSelected(BytecodeOutlineView.java:462)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)