| Summary: | [typing] Assertion failed in FastPartitioner.documentChanged2(...) | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Christof Marti <christof_marti> |
| Component: | Text | Assignee: | Platform-Text-Inbox <platform-text-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | david_williams |
| Version: | 3.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Additional info from Christof: - happened in the Java editor - folding enabled but nothing was folded in the region where Ctrl+D was pressed Cannot reproduce using I20050830-0800. Christof, can you reproduce? I have repeated the changes on a similar document and everything worked fine. You probably don't know which VM you used back then, do you? Not for sure, but most likely Sun 1.4.2_04. |
I20050830-0800 The following occured while holding ctrl-d for deleting multiple lines. Afterwards all lines below the caret were missing the first few characters. Save, close and reopen showed these characters again, no data was lost. !ENTRY org.eclipse.ui 4 4 2005-09-05 09:32:41.891 !MESSAGE "Delete Line" did not complete normally. Please see the log for more i nformation. !ENTRY org.eclipse.ui 4 0 2005-09-05 09:32:41.891 !MESSAGE Assertion failed: !STACK 0 org.eclipse.jface.text.Assert$AssertionFailedException: Assertion failed: at org.eclipse.jface.text.Assert.isTrue(Assert.java:189) at org.eclipse.jface.text.Assert.isTrue(Assert.java:174) at org.eclipse.jface.text.rules.FastPartitioner.documentChanged2(FastPar titioner.java:296) at org.eclipse.jface.text.AbstractDocument.updateDocumentStructures(Abst ractDocument.java:647) at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractD ocument.java:746) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java :1104) at org.eclipse.jdt.internal.ui.javaeditor.PartiallySynchronizedDocument. replace(PartiallySynchronizedDocument.java:111) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java :1111) at org.eclipse.jdt.internal.ui.javaeditor.PartiallySynchronizedDocument. replace(PartiallySynchronizedDocument.java:102) at org.eclipse.ui.texteditor.DeleteLineTarget.deleteLine(DeleteLineTarge t.java:350) at org.eclipse.ui.texteditor.DeleteLineAction.run(DeleteLineAction.java: 151) at org.eclipse.jface.action.Action.runWithEvent(Action.java:996) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:182) at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyH andlerWrapper.java:108) at org.eclipse.core.commands.Command.execute(Command.java:311) at org.eclipse.core.commands.ParameterizedCommand.execute(ParameterizedC ommand.java:396) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(Workben chKeyboard.java:459) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboar d.java:781) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(Workbe nchKeyboard.java:828) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindi ngs(WorkbenchKeyboard.java:550) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyb oard.java:493) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEv ent(WorkbenchKeyboard.java:117) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:920) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:883) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:908) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:893) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:921) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:917) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1231) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3157) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3058) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3772) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1680) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2763) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1734) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1698) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav a:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:10 3) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformAct ivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) !ENTRY org.eclipse.ui 4 4 2005-09-05 09:32:42.572 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 2005-09-05 09:32:42.582 !MESSAGE Failed to execute runnable (java.lang.IllegalStateException) !STACK 0 org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalState Exception) at org.eclipse.swt.SWT.error(SWT.java:3241) at org.eclipse.swt.SWT.error(SWT.java:3164) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.ja va:126) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3113) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2768) at org.eclipse.jface.window.Window.runEventLoop(Window.java:809) at org.eclipse.jface.window.Window.open(Window.java:787) at org.eclipse.jface.dialogs.ErrorDialog.open(ErrorDialog.java:274) at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:338) at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog.java:303) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.logException(Workbench Keyboard.java:692) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboar d.java:784) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(Workbe nchKeyboard.java:828) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindi ngs(WorkbenchKeyboard.java:550) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyb oard.java:493) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEv ent(WorkbenchKeyboard.java:117) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:920) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:883) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:908) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:893) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:921) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:917) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1231) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3157) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3058) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3772) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1680) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2763) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1734) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1698) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.jav a:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:10 3) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformAct ivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja va:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: java.lang.IllegalStateException at org.eclipse.jface.text.projection.ProjectionTextStore.internalError(P rojectionTextStore.java:85) at org.eclipse.jface.text.projection.ProjectionTextStore.get(ProjectionT extStore.java:152) at org.eclipse.jface.text.AbstractDocument.get(AbstractDocument.java:982 ) at org.eclipse.jface.text.DefaultDocumentAdapter.stopForwardingDocumentC hanges(DefaultDocumentAdapter.java:407) at org.eclipse.jface.text.TextViewer.disableRedrawing(TextViewer.java:45 81) at org.eclipse.jface.text.TextViewer.setRedraw(TextViewer.java:4617) at org.eclipse.jface.text.TextViewer.setRedraw(TextViewer.java:4595) at org.eclipse.jface.text.source.projection.ProjectionViewer.catchupWith ProjectionAnnotationModel(ProjectionViewer.java:939) at org.eclipse.jface.text.source.projection.ProjectionViewer.access$5(Pr ojectionViewer.java:899) at org.eclipse.jface.text.source.projection.ProjectionViewer$1.run(Proje ctionViewer.java:857) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.ja va:123) ... 43 more