org.eclipse.jface.text.BadLocationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Jed reported this error coming from CEP this morning: He had cut and paste a test method. After a clean, and then a restart of Eclipse, things appear to be working again as expected. Still very annoying. ENTRY com.cenqua.clover.core 4 0 2008-02-18 11:55:13.098 !MESSAGE Unable to annotate TrustedApplicationsFilter.java !STACK 0 org.eclipse.jface.text.BadLocationException at org.eclipse.jface.text.TreeLineTracker.fail(TreeLineTracker.java:1062) at org.eclipse.jface.text.TreeLineTracker.getLineInformation(TreeLineTracker.java:1189) at org.eclipse.jface.text.AbstractLineTracker.getLineInformation(AbstractLineTracker.java:137) at org.eclipse.jface.text.AbstractDocument.getLineInformation(AbstractDocument.java:856) at com.cenqua.clover.eclipse.editors.java.annotations.strategies.space.DocumentUtils.a(2.1.0.v20080214141719-build-693:12) at com.cenqua.clover.eclipse.editors.java.annotations.strategies.space.e.<init>(2.1.0.v20080214141719-build-693:13) at com.cenqua.clover.eclipse.editors.java.annotations.strategies.space.a.d(2.1.0.v20080214141719-build-693:98) at com.cenqua.clover.eclipse.editors.java.annotations.strategies.space.a.<init>(2.1.0.v20080214141719-build-693:24) at com.cenqua.clover.eclipse.editors.java.annotations.strategies.space.AnnotationSpace.a(2.1.0.v20080214141719-build-693:32) at com.cenqua.clover.eclipse.editors.java.annotations.strategies.space.a.a(2.1.0.v20080214141719-build-693:47) at com.cenqua.clover.eclipse.editors.java.annotations.strategies.space.CoverageAnnotationBuilder.a(2.1.0.v20080214141719-build-693:61) at com.cenqua.clover.eclipse.editors.java.b.a(2.1.0.v20080214141719-build-693:31) at com.cenqua.clover.eclipse.editors.java.CoverageAnnotationModel.a(2.1.0.v20080214141719-build-693:261) at com.cenqua.clover.eclipse.editors.java.CoverageAnnotationModel.a(2.1.0.v20080214141719-build-693:524) at com.cenqua.clover.eclipse.editors.java.CoverageAnnotationModel.d(2.1.0.v20080214141719-build-693:91) at com.cenqua.clover.eclipse.editors.java.CoverageAnnotationModel.a(2.1.0.v20080214141719-build-693:57) at com.cenqua.clover.eclipse.editors.java.j.run(2.1.0.v20080214141719-build-693:80) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) !ENTRY com.cenqua.clover.core 4 0 2008-02-18 11:55:30.498 !MESSAGE Error when rebuilding annotation model for changed document !STACK 0 java.lang.AssertionError: Annotation fragment is not closed at com.cenqua.clover.eclipse.editors.java.annotations.strategies.space.d.e(2.1.0.v20080214141719-build-693:92) at com.cenqua.clover.eclipse.editors.java.annotations.strategies.space.d.c(2.1.0.v20080214141719-build-693:51) at com.cenqua.clover.eclipse.editors.java.annotations.strategies.space.a.a(2.1.0.v20080214141719-build-693:71) at com.cenqua.clover.eclipse.editors.java.annotations.strategies.space.AnnotationSpace.a(2.1.0.v20080214141719-build-693:59) at com.cenqua.clover.eclipse.editors.java.annotations.strategies.space.b.a(2.1.0.v20080214141719-build-693:22) at com.cenqua.clover.eclipse.editors.java.annotations.strategies.space.CoverageAnnotationBuilder.a(2.1.0.v20080214141719-build-693:151) at com.cenqua.clover.eclipse.editors.java.CoverageAnnotationModel.a(2.1.0.v20080214141719-build-693:298) at com.cenqua.clover.eclipse.editors.java.CoverageAnnotationModel.a(2.1.0.v20080214141719-build-693:524) at com.cenqua.clover.eclipse.editors.java.CoverageAnnotationModel.d(2.1.0.v20080214141719-build-693:91) at com.cenqua.clover.eclipse.editors.java.CoverageAnnotationModel.a(2.1.0.v20080214141719-build-693:57) at com.cenqua.clover.eclipse.editors.java.j.run(2.1.0.v20080214141719-build-693:80) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) 12:00 it has the same name as another method (copy/pasted)
    via by Nick Pellow [Atlassian],
  • BadLocationException saving file
    via by anton.leherbauer,
  • debugger troubles
    via pydev by nobody
    ,
    • org.eclipse.jface.text.BadLocationException at org.eclipse.jface.text.TreeLineTracker.fail(TreeLineTracker.java:1062) at org.eclipse.jface.text.TreeLineTracker.getLineInformation(TreeLineTracker.java:1189) at org.eclipse.jface.text.AbstractLineTracker.getLineInformation(AbstractLineTracker.java:137) at org.eclipse.jface.text.AbstractDocument.getLineInformation(AbstractDocument.java:856) at org.python.pydev.builder.pylint.PyLintVisitor$PyLintThread.passPyLint(PyLintVisitor.java:305) at org.python.pydev.builder.pylint.PyLintVisitor$PyLintThread.run(PyLintVisitor.java:107)
    No Bugmate found.