2017-11-14 12 views
0

play/mavenプロジェクトがワークスペースにあるときにmy eclipse ideまたはscala ideがクラッシュするシナリオが2つあります。ここでEclipseのOxygenとScala IDE 4.7がplay framework 2.6.6のプロジェクトでクラッシュする

は問題だ:日食/スカラ座の再起動時

は、それが言う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 

私はScalaIDEとEclipse

1の両方でそれをテストした)のScala IDE 4.7をインストールします。既存のplay/mavenプロジェクトをインポートします。 IDEエラーログにスカラコンパイラのエラーが表示されます。再起動すると、eclipseが同じワークスペースを起動できないことがわかります。他のワークスペースを起動することができます。私がすべてのEclipseファイル(.settings、.classpath、.project)をplay-mavenプロジェクトから削除しても、クラッシュします。 .metadataをワークスペースから削除してプロジェクトを再インポートするだけです。しかし、問題は次の再起動後に再び発生します。

2)Eclipse Oxygenをインストールします。既存のplay/mavenプロジェクトをインポートします。 eclipseを再起動する必要があるScala IDE 4.7プラグインをインストールしてください。再起動すると、そのワークスペースでクラッシュします。同じ回避策が1と同じです。

PS - 私がplay-mavenプロジェクトを内部に持たない他のワークスペースを選択すると、eclipse/scala-idが正常に起動します。

私は他の詳細を共有する必要がある場合はお知らせください。

答えて

0

「eclipse oxygenをインストールする」という意味はわかりませんが、Scala IDEをここからhttp://scala-ide.org/download/sdk.htmlをzip形式でダウンロードして解凍する方が良いと思います。ホープが助けてくれる

+0

日食の酸素は、日食の最新バージョンです。私の説明で1)を読んだら、私はすでにscalaIde 4.7を直接試みたことを知っているでしょう – nir

関連する問題