Community
Participate
Working Groups
Build 20040212 (M7) I was happily editing away, using code assist and typing at high speed, when the following was dumped to the log: !SESSION Feb 13, 2004 14:43:50.851 --------------------------------------------- java.version=1.4.1_02 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -data /home/jburns/target !ENTRY org.eclipse.ui 4 4 Feb 13, 2004 14:43:50.852 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 Feb 13, 2004 14:43:50.876 !MESSAGE Failed to execute runnable (org.eclipse.jface.text.Assert$AssertionFailedException: Assertion failed: ) !STACK 0 org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.jface.text. Assert$AssertionFailedException: Assertion failed: ) at org.eclipse.swt.SWT.error(SWT.java:2608) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:105) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1848) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1652) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1550) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1526) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:265) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:257) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:104) 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:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:279) at org.eclipse.core.launcher.Main.run(Main.java:742) at org.eclipse.core.launcher.Main.main(Main.java:581) !ENTRY org.eclipse.ui 4 4 Feb 13, 2004 14:43:50.948 !MESSAGE *** SWT nested exception !ENTRY org.eclipse.ui 4 0 Feb 13, 2004 14:43:50.983 !MESSAGE Assertion failed: !STACK 0 org.eclipse.jface.text.Assert$AssertionFailedException: Assertion failed: at org.eclipse.jface.text.Assert.isTrue(Assert.java:175) at org.eclipse.jface.text.Assert.isTrue(Assert.java:160) at org.eclipse.jface.text.Position.<init>(Position.java:55) at org.eclipse.jface.text.rules.DefaultPartitioner.computePartitioning(DefaultPartitioner.java: 468) at org.eclipse.jface.text.AbstractDocument.computePartitioning(AbstractDocument.java: 1188) at org.eclipse.jface.text.TextUtilities.computePartitioning(TextUtilities.java:411) at org.eclipse.jface.text.presentation.PresentationReconciler. createPresentation(PresentationReconciler.java:430) at org.eclipse.jface.text.presentation.PresentationReconciler. processDamage(PresentationReconciler.java:543) at org.eclipse.jface.text.presentation.PresentationReconciler. access$5(PresentationReconciler.java:541) at org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener. inputDocumentChanged(PresentationReconciler.java:113) at org.eclipse.jface.text.TextViewer.fireInputDocumentChanged(TextViewer.java:2294) at org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2342) at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:409) at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:384) at org.eclipse.jface.text.TextViewer.setInput(TextViewer.java:2324) at org.eclipse.jdt.internal.ui.infoviews.SourceView.setInput(SourceView.java:408) at org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView.doSetInput(AbstractInfoView.java: 454) at org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView.access$2(AbstractInfoView.java: 453) at org.eclipse.jdt.internal.ui.infoviews.AbstractInfoView$3.run(AbstractInfoView.java:442) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:102) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1848) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1652) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1550) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1526) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:265) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:257) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:104) 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:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:279) at org.eclipse.core.launcher.Main.run(Main.java:742) at org.eclipse.core.launcher.Main.main(Main.java:581)
Looks like the initial partitioning isn't correct: the source view creates a new document and its partitioner and later crashes when iterating over the partitions due to overlapping partitions. There were some bugs in the same area, see bug 14493 and bug 14571.
We can't do anything here without a test case
*** Bug 71169 has been marked as a duplicate of this bug. ***
*** Bug 175317 has been marked as a duplicate of this bug. ***
Get rid of deprecated state.
.