jalopy源代码格式化程序在格式化时给出未处理的事件循环异常

时间:2013-08-16 08:13:31

标签: eclipse-juno eclipse-indigo jalopy

我使用eclipse Indigo和Juno根据jalopy installation guide设置了jalopy。我的Jalopy版本是1.9.4。我可以在Indigo中格式化代码而不会有任何问题。但我不能格式化代码 在朱诺。在错误日志视图中,当我尝试在Juno中格式化代码时,我可以在Unhandled event loop exception插件中看到org.eclipse.ui

这是相关的异常堆栈跟踪

  

org.eclipse.swt.SWTException:无法执行runnable(java.util.ConcurrentModificationException)       在org.eclipse.swt.SWT.error(SWT.java:4361)       在org.eclipse.swt.SWT.error(SWT.java:4276)       在org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)       在org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4144)       在org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)       at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine $ 9.run(PartRenderingEngine.java:1022)       在org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)       在org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:916)       在org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)       在org.eclipse.ui.internal.Workbench $ 5.run(Workbench.java:585)       在org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)       在org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:540)       在org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)       在org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)       在org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)       在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)       在org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)       在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)       在org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)       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)       在org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)       在org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)       在org.eclipse.equinox.launcher.Main.run(Main.java:1438)       在org.eclipse.equinox.launcher.Main.main(Main.java:1414)   引起:java.util.ConcurrentModificationException       在com.triemax.EclipsePlugin.l(EclipsePlugin.java)       在com.triemax.EclipsePlugin.a(EclipsePlugin.java:74)       在com.triemax.nu.run(nu.java:8)       在org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)       在org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)       ......还有24个

这个例外的原因是什么?如何防止这种情况?

编辑:Eclipse Kepler中出现相同的异常

1 个答案:

答案 0 :(得分:1)

您拥有的版本与Juno或Kepler不兼容。更新的版本修复了这个问题。