Community
Participate
Working Groups
Build Identifier: M20110909-1335 !SESSION 2011-11-20 20:16:08.173 ----------------------------------------------- eclipse.buildId=M20110909-1335 java.version=1.7.0_01 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=hu_HU Command-line arguments: -os win32 -ws win32 -arch x86_64 !ENTRY org.eclipse.ui 4 0 2011-11-20 20:17:28.669 !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.IllegalStateException: startLine (6) does not match endLine (7)) at org.eclipse.swt.SWT.error(SWT.java:4282) at org.eclipse.swt.SWT.error(SWT.java:4197) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 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:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) Caused by: java.lang.IllegalStateException: startLine (6) does not match endLine (7) at org.eclipse.jface.text.projection.ProjectionMapping.toImageLine(ProjectionMapping.java:480) at org.eclipse.jface.text.TextViewer.modelLine2WidgetLine(TextViewer.java:5272) at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.modelLine2WidgetLine(StructuredTextViewer.java:753) at org.eclipse.jface.text.JFaceTextUtil.modelLineToWidgetLine(JFaceTextUtil.java:224) at org.eclipse.jface.internal.text.source.DiffPainter.paintLine(DiffPainter.java:220) at org.eclipse.jface.internal.text.source.DiffPainter.paint(DiffPainter.java:158) at org.eclipse.jface.text.source.LineNumberChangeRulerColumn.doPaint(LineNumberChangeRulerColumn.java:190) at org.eclipse.jface.text.source.LineNumberRulerColumn.doubleBufferPaint(LineNumberRulerColumn.java:703) at org.eclipse.jface.text.source.LineNumberRulerColumn.redraw(LineNumberRulerColumn.java:859) at org.eclipse.jface.text.source.LineNumberRulerColumn$1.run(LineNumberRulerColumn.java:422) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) ... 23 more Reproducible: Always
Created attachment 207279 [details] Logfile
Can you reproduce this? In which editor did this happen? Please attach the complete .log file.
Created attachment 207327 [details] Logfile_20111121
(In reply to comment #2) > Can you reproduce this? > In which editor did this happen? > Please attach the complete .log file. Yes, when in one android project opened the main.xml file, and I change the Graphical Layout to main.xml for manual editing. Sorry, I not speak english :( I changed the Eclipse installation directory, reinstall the Android Dev Kit, and I tried much change, but failed. I attached the full log file. Thanks. Roland
StructuredTextViewer#modelLine2WidgetLine does some boundary checking because of bug 85709, but otherwise just passes the API call to the superclass as shown in the logs.
(In reply to comment #4) > (In reply to comment #2) > > Can you reproduce this? > > In which editor did this happen? > > Please attach the complete .log file. > > Yes, when in one android project opened the main.xml file, and I change the > Graphical Layout to main.xml for manual editing. Which editor do you use? Select the file in the Project Explorer, open the context menu and see the bullet in the "Open With" submenu. Please attatch the main.xml.
(In reply to comment #6) > (In reply to comment #4) > > (In reply to comment #2) > > > Can you reproduce this? > > > In which editor did this happen? > > > Please attach the complete .log file. > > > > Yes, when in one android project opened the main.xml file, and I change the > > Graphical Layout to main.xml for manual editing. > > Which editor do you use? Select the file in the Project Explorer, open the > context menu and see the bullet in the "Open With" submenu. > > Please attatch the main.xml. Hi I have no time :( I made screenshots, and attached the main.xml file.
Created attachment 207442 [details] logfile20111123
Created attachment 207443 [details] screenshot1
Created attachment 207444 [details] screenshot2
Created attachment 207445 [details] screenshot3
Created attachment 207446 [details] main.xml
OK, this looks like you're using an editor from Android tooling. The most likely cause for the exception is that this editor creates wrong regions for folded code blocks. Please report the bug against Android tooling, so that they can investigate.