Bug 289276 - [typing] Assertion Failed in Cut operation
Summary: [typing] Assertion Failed in Cut operation
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 293028 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-12 02:21 EDT by Francis Upton IV CLA
Modified: 2019-09-06 16:04 EDT (History)
2 users (show)

See Also:


Attachments
Entire error log (26.98 KB, text/plain)
2009-09-12 02:21 EDT, Francis Upton IV CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francis Upton IV CLA 2009-09-12 02:21:32 EDT
Created attachment 147033 [details]
Entire error log

Got this doing a cut on a text file.  Happened a couple of times, but don't
know if I can make it happen again.

See also bug 281335


eclipse.buildId=I20090825-1032
java.version=1.6.0_16
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86_64


Error
Fri Sep 11 23:18:27 PDT 2009
assertion failed:

org.eclipse.core.runtime.AssertionFailedException: assertion failed:
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
at
org.eclipse.ui.internal.texteditor.quickdiff.DocumentLineDiffer.handleAboutToBeChanged(DocumentLineDiffer.java:794)
at
org.eclipse.ui.internal.texteditor.quickdiff.DocumentLineDiffer.documentAboutToBeChanged(DocumentLineDiffer.java:763)
at
org.eclipse.jface.text.AbstractDocument.fireDocumentAboutToBeChanged(AbstractDocument.java:645)
at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1148)
at
org.eclipse.core.internal.filebuffers.SynchronizableDocument.replace(SynchronizableDocument.java:195)
at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1176)
at
org.eclipse.core.internal.filebuffers.SynchronizableDocument.replace(SynchronizableDocument.java:181)
at
org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java:248)
at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:6637)
at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:7444)
at org.eclipse.swt.custom.StyledText.doDelete(StyledText.java:2509)
at org.eclipse.swt.custom.StyledText.cut(StyledText.java:2099)
at org.eclipse.jface.text.TextViewer$10.run(TextViewer.java:4171)
at org.eclipse.jface.text.TextViewer.wrapCompoundChange(TextViewer.java:4091)
at org.eclipse.jface.text.TextViewer.copyMarkedRegion(TextViewer.java:4169)
at org.eclipse.jface.text.TextViewer.doOperation(TextViewer.java:3951)
at
org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:922)
at
org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:131)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at
org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:129)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185)
at
org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at
org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at
org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:569)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:125)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1472)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1185)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1210)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1195)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1222)
at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:712)
at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2837)
at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:703)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1581)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4587)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4198)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:7609)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1190)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1871)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3117)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:367)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:610)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:565)
at org.eclipse.equinox.launcher.Main.run(Main.java:1362)
at org.eclipse.equinox.launcher.Main.main(Main.java:1338)
Comment 1 Dani Megert CLA 2009-10-16 05:51:38 EDT
>Got this doing a cut on a text file.
Are you sure that the default text editor was used? Can you remember whether this was on a local or shared file? If shared: CVS or some other team provider?

>Happened a couple of times, but don't know if I can make it happen again.
Have you seen it again?
Comment 2 Francis Upton IV CLA 2009-10-16 06:32:32 EDT
(In reply to comment #1)
> >Got this doing a cut on a text file.
> Are you sure that the default text editor was used? Can you remember whether
> this was on a local or shared file? If shared: CVS or some other team provider?
It was almost certainly a Java file, so the default text editor for that.  It was local in the sense that it was not linked, but was also under source control under CVS (I was likely editing some Eclipse Java file)

> 
> >Happened a couple of times, but don't know if I can make it happen again.
> Have you seen it again?
Nope.
Comment 3 Dani Megert CLA 2009-10-22 08:51:09 EDT
*** Bug 293028 has been marked as a duplicate of this bug. ***
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:04:44 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.