Eclipse氧气和Scala IDE 4.7在工作区中与play framework 2.6.6项目一起崩溃

Eclipse氧气和Scala IDE 4.7在工作区中与play framework 2.6.6项目一起崩溃,eclipse,scala,maven,scala-ide,playframework-2.6,Eclipse,Scala,Maven,Scala Ide,Playframework 2.6,当play/maven项目位于工作区时,有两种情况下我的EclipseIDE或ScalaIDE(直接从scala站点下载)崩溃 问题是: 重新启动eclipse/scala ide时,会显示: “发生错误。请参阅日志文件/.metadata/.log” 以下是该日志文件的内容: !ENTRY org.eclipse.mylyn.tasks.ui 4 0 2017-11-14 12:05:24.743 !MESSAGE FrameworkEvent ERROR !STACK 0 org.osgi.

当play/maven项目位于工作区时,有两种情况下我的EclipseIDE或ScalaIDE(直接从scala站点下载)崩溃

问题是:

重新启动eclipse/scala ide时,会显示: “发生错误。请参阅日志文件/.metadata/.log”

以下是该日志文件的内容:

!ENTRY org.eclipse.mylyn.tasks.ui 4 0 2017-11-14 12:05:24.743
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin.stop() of bundle org.eclipse.mylyn.tasks.ui.
    at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:855)
    at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:947)
    at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:314)
    at org.eclipse.osgi.container.Module.doStop(Module.java:636)
    at org.eclipse.osgi.container.Module.stop(Module.java:498)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1675)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1594)
    at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:270)
    at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147)
    at org.eclipse.osgi.container.Module.doStop(Module.java:636)
    at org.eclipse.osgi.container.Module.stop(Module.java:498)
    at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
    at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ExceptionInInitializerError
    at org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin.stop(TasksUiPlugin.java:816)
    at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:835)
    at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:828)
    ... 13 more
Caused by: org.eclipse.swt.SWTException: Invalid thread access
    at org.eclipse.swt.SWT.error(SWT.java:4533)
    at org.eclipse.swt.SWT.error(SWT.java:4448)
    at org.eclipse.swt.SWT.error(SWT.java:4419)
    at org.eclipse.swt.widgets.Display.error(Display.java:1089)
    at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840)
    at org.eclipse.swt.widgets.Display.create(Display.java:823)
    at org.eclipse.swt.graphics.Device.<init>(Device.java:129)
    at org.eclipse.swt.widgets.Display.<init>(Display.java:722)
    at org.eclipse.swt.widgets.Display.<init>(Display.java:713)
    at org.eclipse.swt.widgets.Display.getDefault(Display.java:1419)
    at org.eclipse.mylyn.commons.ui.compatibility.CommonColors.<clinit>(CommonColors.java:28)
    ... 18 more
Root exception:
java.lang.ExceptionInInitializerError
    at org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin.stop(TasksUiPlugin.java:816)
    at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:835)
    at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:828)
    at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:947)
    at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:314)
    at org.eclipse.osgi.container.Module.doStop(Module.java:636)
    at org.eclipse.osgi.container.Module.stop(Module.java:498)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1675)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1594)
    at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:270)
    at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147)
    at org.eclipse.osgi.container.Module.doStop(Module.java:636)
    at org.eclipse.osgi.container.Module.stop(Module.java:498)
    at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
    at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.eclipse.swt.SWTException: Invalid thread access
    at org.eclipse.swt.SWT.error(SWT.java:4533)
    at org.eclipse.swt.SWT.error(SWT.java:4448)
    at org.eclipse.swt.SWT.error(SWT.java:4419)
    at org.eclipse.swt.widgets.Display.error(Display.java:1089)
    at org.eclipse.swt.widgets.Display.createDisplay(Display.java:840)
    at org.eclipse.swt.widgets.Display.create(Display.java:823)
    at org.eclipse.swt.graphics.Device.<init>(Device.java:129)
    at org.eclipse.swt.widgets.Display.<init>(Display.java:722)
    at org.eclipse.swt.widgets.Display.<init>(Display.java:713)
    at org.eclipse.swt.widgets.Display.getDefault(Display.java:1419)
    at org.eclipse.mylyn.commons.ui.compatibility.CommonColors.<clinit>(CommonColors.java:28)
    ... 18 more
!条目org.eclipse.mylyn.tasks.ui 4 0 2017-11-14 12:05:24.743
!消息框架事件错误
!堆栈0
org.osgi.framework.BundleException:bundle org.eclipse.mylyn.tasks.ui.TasksUiPlugin.stop()中的异常。
位于org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:855)
位于org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:947)
位于org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:314)
位于org.eclipse.osgi.container.Module.doStop(Module.java:636)
位于org.eclipse.osgi.container.Module.stop(Module.java:498)
位于org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1675)
位于org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1594)
位于org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:270)
位于org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147)
位于org.eclipse.osgi.container.Module.doStop(Module.java:636)
位于org.eclipse.osgi.container.Module.stop(Module.java:498)
位于org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
位于org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
运行(Thread.java:745)
原因:java.lang.ExceptionInInitializeError
位于org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin.stop(TasksUiPlugin.java:816)
位于org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:835)
位于org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
位于java.security.AccessController.doPrivileged(本机方法)
位于org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:828)
... 还有13个
原因:org.eclipse.swt.swt异常:线程访问无效
位于org.eclipse.swt.swt.error(swt.java:4533)
位于org.eclipse.swt.swt.error(swt.java:4448)
位于org.eclipse.swt.swt.error(swt.java:4419)
位于org.eclipse.swt.widgets.Display.error(Display.java:1089)
位于org.eclipse.swt.widgets.Display.createDisplay(Display.java:840)
位于org.eclipse.swt.widgets.Display.create(Display.java:823)
位于org.eclipse.swt.graphics.Device(Device.java:129)
在org.eclipse.swt.widgets.Display上(Display.java:722)
位于org.eclipse.swt.widgets.Display(Display.java:713)
位于org.eclipse.swt.widgets.Display.getDefault(Display.java:1419)
位于org.eclipse.mylyn.commons.ui.compatibility.CommonColors.(CommonColors.java:28)
... 还有18个
根异常:
java.lang.ExceptionInInitializeError
位于org.eclipse.mylyn.internal.tasks.ui.TasksUiPlugin.stop(TasksUiPlugin.java:816)
位于org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:835)
位于org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
位于java.security.AccessController.doPrivileged(本机方法)
位于org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:828)
位于org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:947)
位于org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:314)
位于org.eclipse.osgi.container.Module.doStop(Module.java:636)
位于org.eclipse.osgi.container.Module.stop(Module.java:498)
位于org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1675)
位于org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1594)
位于org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:270)
位于org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147)
位于org.eclipse.osgi.container.Module.doStop(Module.java:636)
位于org.eclipse.osgi.container.Module.stop(Module.java:498)
位于org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:202)
位于org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
运行(Thread.java:745)
原因:org.eclipse.swt.swt异常:线程访问无效
位于org.eclipse.swt.swt.error(swt.java:4533)
位于org.eclipse.swt.swt.error(swt.java:4448)
位于org.eclipse.swt.swt.error(swt.java:4419)
位于org.eclipse.swt.widgets.Display.error(Display.java:1089)
位于org.eclipse.swt.widgets.Display.createDisplay(Display.java:840)
位于org.eclipse.swt.widgets.Display.create(Display.java:823)
位于org.eclipse.swt.graphics.Device(Device.java:129)
在org.eclipse.swt.widgets.Display上(Display.java:722)
位于org.eclipse.swt.widgets.Display(Display.java:713)
位于org.eclipse.swt.widgets.Display.getDefault(Display.java:1419)
位于org.eclipse.mylyn.commons.ui.compatibility.CommonColors.(CommonColors.java:28)
... 还有18个
我用ScalaIDE和Eclipse对它进行了测试

1) 安装Scala IDE 4.7。导入现有play/maven项目。注意IDE错误日志中的大量scala编译器错误。重新启动,您会看到eclipse无法启动相同的工作区。它可以引导其他工作区。即使我从PlayMaven项目中删除了所有eclipse文件(.settings、.classpath、.project),它也会崩溃。唯一的解决方案是从工作区中删除.metadata并重新导入项目。但问题在下次重启后再次发生