Bug 62607 - Scrolling Java text editor causes event loop exception
Summary: Scrolling Java text editor causes event loop exception
Status: RESOLVED DUPLICATE of bug 55814
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-18 04:39 EDT by Tim Ellison CLA
Modified: 2004-05-18 05:07 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 Tim Ellison CLA 2004-05-18 04:39:48 EDT
Build I200405140800

With a java file open, attempting to scroll down causes a flurry of exception 
to be written to the log file.  Indeed, lots of operations are failing and the 
log file is growing rapidly with contributions from the org.eclipse.ui plug-in.

Error May 18, 2004 09:22:06.631 Assertion failed: 
org.eclipse.jface.text.Assert$AssertionFailedException: Assertion failed: 
	at java.lang.Throwable.<init>(Throwable.java)
	at java.lang.Throwable.<init>(Throwable.java)
	at org.eclipse.jface.text.Assert$AssertionFailedException.<init>
(Assert.java:56)
	at org.eclipse.jface.text.Assert.isTrue(Assert.java:177)
	at org.eclipse.jface.text.Assert.isTrue(Assert.java)
	at org.eclipse.jface.text.projection.ProjectionMapping.toImageRegion
(ProjectionMapping.java)
	at org.eclipse.jface.text.projection.ProjectionMapping.toImageRegion
(ProjectionMapping.java)
	at org.eclipse.jface.text.TextViewer.modelRange2WidgetRange
(TextViewer.java)
	at org.eclipse.jface.text.source.AnnotationRulerColumn.doPaint1
(AnnotationRulerColumn.java)
	at org.eclipse.jface.text.source.AnnotationRulerColumn.doubleBufferPaint
(AnnotationRulerColumn.java)
	at org.eclipse.jface.text.source.AnnotationRulerColumn.redraw
(AnnotationRulerColumn.java:728)
	at org.eclipse.jface.text.source.AnnotationRulerColumn$5.run
(AnnotationRulerColumn.java:715)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
(Synchronizer.java)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1353)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1324)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:243)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
	at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:90)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:298)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:249)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:126)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:79)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:41)
	at java.lang.reflect.Method.invoke(Method.java:386)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:269)
	at org.eclipse.core.launcher.Main.run(Main.java:722)
	at org.eclipse.core.launcher.Main.main(Main.java:706)

Error May 18, 2004 09:22:06.601 *** SWT nested exception

Error May 18, 2004 09:22:08.804 Failed to execute runnable 
(org.eclipse.jface.text.Assert$AssertionFailedException: Assertion failed: )
org.eclipse.swt.SWTException: Failed to execute runnable 
(org.eclipse.jface.text.Assert$AssertionFailedException: Assertion failed: )
	at java.lang.Throwable.<init>(Throwable.java)
	at java.lang.Throwable.<init>(Throwable.java)
	at org.eclipse.swt.SWTException.<init>(SWTException.java:73)
	at org.eclipse.swt.SWT.error(SWT.java:2689)
	at org.eclipse.swt.SWT.error(SWT.java)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages
(Synchronizer.java)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1353)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1324)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:243)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
	at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:90)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:298)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:249)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:126)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:79)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:41)
	at java.lang.reflect.Method.invoke(Method.java:386)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:269)
	at org.eclipse.core.launcher.Main.run(Main.java:722)
	at org.eclipse.core.launcher.Main.main(Main.java:706)
Comment 1 Tim Ellison CLA 2004-05-18 04:49:24 EDT
problem seems to be related to code folding -- turning code folding off and 
recreating the editors fixes the problems
Comment 2 Dani Megert CLA 2004-05-18 05:07:07 EDT

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