Community
Participate
Working Groups
I get the following error randomly while editing a Java file in the Java editor immediately after any keypress. Once it gets in this state, any keypress will cause it to happen. Closing the file and reopening it (or restarting Eclipse) usually fixes the problem temporarily, but sometimes not and the error occurs on the next keypress. The error occurs even if "highlight problems" is disabled. org.eclipse.jface.util.Assert$AssertionFailedException: assertion failed; at org.eclipse.jface.util.Assert.isTrue(Assert.java:162) at org.eclipse.jface.util.Assert.isTrue(Assert.java(Compiled Code)) at org.eclipse.jface.text.Position.<init>(Position.java:52) at org.eclipse.jface.text.rules.DefaultPartitioner.computePartitioning (DefaultPartitioner.java:406) at org.eclipse.jface.text.AbstractDocument.computePartitioning (AbstractDocument.java:672) at org.eclipse.jface.text.presentation.PresentationReconciler.createPresentation (PresentationReconciler.java:312) at org.eclipse.jface.text.presentation.PresentationReconciler.processDamage (PresentationReconciler.java:417) at org.eclipse.jface.text.presentation.PresentationReconciler.access$5 (PresentationReconciler.java:415) at org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.text Changed(PresentationReconciler.java:150) at org.eclipse.jface.text.TextViewer.updateTextListeners (TextViewer.java:1413) at org.eclipse.jface.text.TextViewer$DocumentListener.documentChanged (TextViewer.java:276) at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged (AbstractDocument.java:527) at org.eclipse.jface.text.AbstractDocument.replace (AbstractDocument.java:819) at org.eclipse.jface.text.DocumentAdapter.replaceTextRange (DocumentAdapter.java:136) at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5111) at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:5814) at org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2127) at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:4997) at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:4609) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:4581) at org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.java:4326) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java (Compiled Code)) at org.eclipse.ui.internal.Workbench.run(Workbench.java:816) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:643) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:349) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:195) at org.eclipse.core.launcher.Main.run(Main.java:541) at org.eclipse.core.launcher.Main.main(Main.java:396)
Build 20020425.