Community
Participate
Working Groups
Build 20020423 I was editing a comment in the Java Editor and got the error below STEPS 1)Open JFaceCol,ors 2) Edit the comment in the body of getHyperlinkText (the one about it being blue) 3) Error org.eclipse.jface.util.Assert$AssertionFailedException: assertion failed; at org.eclipse.jface.util.Assert.isTrue(Assert.java(Compiled Code)) 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)
Different code path, same bug?
I've the same error but I was editing java code (not a comment). Here is a very simple example. package soaptest; public class Client { public static void main(String[] args) { String str = "/" <- type here } } Build 20020423, Win2k SP2, Sun jdk 1.3.1
Build 20020430.