Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 133895 - [typing] Stale editor after ProjectionTextStore.internalError
Summary: [typing] Stale editor after ProjectionTextStore.internalError
Status: RESOLVED DUPLICATE of bug 124264
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-29 12:34 EST by Dirk Baeumer CLA
Modified: 2006-04-04 07:18 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Baeumer CLA 2006-03-29 12:34:26 EST
I20060217-1115

No steps to reproduce:

While pasting code I got the following exception:

java.lang.IllegalStateException
	at org.eclipse.jface.text.projection.ProjectionTextStore.internalError(ProjectionTextStore.java:85)
	at org.eclipse.jface.text.projection.ProjectionTextStore.get(ProjectionTextStore.java:152)
	at org.eclipse.jface.text.AbstractDocument.get(AbstractDocument.java:997)
	at org.eclipse.jface.text.DefaultDocumentAdapter.doGetLine(DefaultDocumentAdapter.java:145)
	at org.eclipse.jface.text.DefaultDocumentAdapter.getLine(DefaultDocumentAdapter.java:168)
	at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:727)
	at org.eclipse.swt.custom.StyledTextRenderer.getTextLayout(StyledTextRenderer.java:673)
	at org.eclipse.swt.custom.StyledTextRenderer.calculate(StyledTextRenderer.java:200)
	at org.eclipse.swt.custom.StyledTextRenderer.getLineHeight(StyledTextRenderer.java:539)
	at org.eclipse.swt.custom.StyledText.getOffsetAtLocation(StyledText.java:3738)
	at org.eclipse.jface.text.source.CompositeRuler.toDocumentLineNumber(CompositeRuler.java:738)
	at org.eclipse.jface.text.source.AnnotationRulerColumn.toDocumentLineNumber(AnnotationRulerColumn.java:859)
	at org.eclipse.jface.text.source.AnnotationRulerColumn.handleMouseMove(AnnotationRulerColumn.java:398)
	at org.eclipse.jface.text.source.AnnotationRulerColumn.access$8(AnnotationRulerColumn.java:396)
	at org.eclipse.jface.text.source.AnnotationRulerColumn$4.mouseMove(AnnotationRulerColumn.java:332)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:145)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3287)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2907)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1899)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1863)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:417)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:106)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:99)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:374)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169)
	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:585)
	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)

After this the editor went stale and the only way to recover was closing the editor without saving my changes.
Comment 1 Dani Megert CLA 2006-03-29 12:42:16 EST
Which editor?
Comment 2 Dani Megert CLA 2006-03-29 12:43:09 EST
Was this the only exception or did you have something along bug 108776?
Comment 3 Dirk Baeumer CLA 2006-03-29 13:01:37 EST
Java editor.

The only exception, but showed up several times.
Comment 4 Dani Megert CLA 2006-04-04 07:18:46 EDT

*** This bug has been marked as a duplicate of 124264 ***