Community
Participate
Working Groups
I can't reproduce this reliably, but it happened a few times for me already. I'm posting the stack trace below: (Build 0.0.0.qualifier) [ERROR] Error painting line number: LineMap <Document: 58, widget: 58, visual: 58> java.lang.IllegalArgumentException: Index out of bounds at org.eclipse.swt.SWT.error(SWT.java:4354) at org.eclipse.swt.SWT.error(SWT.java:4288) at org.eclipse.swt.SWT.error(SWT.java:4259) at org.eclipse.swt.custom.StyledText.getOffsetAtLine(StyledText.java:4366) at org.eclipse.jface.text.source.CommonLineNumberRulerColumn.getBaselineBias(CommonLineNumberRulerColumn.java:882) at org.eclipse.jface.text.source.CommonLineNumberRulerColumn.paintLine(CommonLineNumberRulerColumn.java:907) at org.eclipse.jface.text.source.CommonLineNumberRulerColumn.doPaint(CommonLineNumberRulerColumn.java:779) at org.eclipse.jface.text.source.CommonLineNumberChangeRulerColumn.doPaint(CommonLineNumberChangeRulerColumn.java:199) at org.eclipse.jface.text.source.CommonLineNumberRulerColumn.doubleBufferPaint(CommonLineNumberRulerColumn.java:730) at org.eclipse.jface.text.source.CommonLineNumberRulerColumn.redraw(CommonLineNumberRulerColumn.java:946) at org.eclipse.jface.internal.text.source.DiffPainter.redraw(DiffPainter.java:382) at org.eclipse.jface.internal.text.source.DiffPainter.access$2(DiffPainter.java:381) at org.eclipse.jface.internal.text.source.DiffPainter$2.run(DiffPainter.java:371) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1057) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:941) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:79) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
In which editor does it happen?
It happened in the PyDev editor (I'm its author and I'm testing it against the latest Eclipse 4.3). From the stack trace I couldn't find anything really related to the editor (that's why I'm reporting it against Eclipse itself) -- also, I didn't experience this issue in the latest 3.8 version (so, it appears something introduced in the 4.x branch).
I cannot reproduce this in any of "our" editors. If you still see this, then please provide a test case/plug-in that allows to reproduce and investigate the issue.