在我为scala IDE安装eclipse neon.3之前的几天,直到昨天都没问题,现在我无法进入IDE。我得到的例外是
发生错误,请参阅日志文件c:/ / / .log
在最近的日志信息下方,请帮助解决问题。
!ENTRY org.eclipse.e4.ui.workbench 4 0 2017-10-03 16:45:14.022 !信息 !堆栈0 显示java.lang.NullPointerException 在org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:209) 在org.eclipse.jface.resource.JFaceResources.getResources(JFaceResources.java:227) 在org.eclipse.ui.part.WorkbenchPart.dispose(WorkbenchPart.java:100) 在org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart.dispose(PackageExplorerPart.java:476) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.invalidate(CompatibilityPart.java:237) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.destroy(CompatibilityPart.java:403) 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:966) at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:931) at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:426) 在org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:154) at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier $ ContextInjectionListener.update(ContextObjectSupplier.java:78) at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:111) at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:74) 在org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:176) at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:161) at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:161) at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:161) at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:161) 在org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.dispose(EclipseContextOSGi.java:106) 在org.eclipse.e4.core.internal.contexts.osgi.EclipseContextOSGi.bundleChanged(EclipseContextOSGi.java:139) 在org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:903) 在org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) 在org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148) 在org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:213) 在org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:120) 在org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:112) 在org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:156) 在org.eclipse.osgi.container.Module.publishEvent(Module.java:476) 在org.eclipse.osgi.container.Module.doStop(Module.java:634) 在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) 在java.lang.Thread.run(未知来源)
答案 0 :(得分:1)
这是Scala IDE 4.7.0中的一个已知错误 https://bugs.eclipse.org/bugs/show_bug.cgi?id=526699
要解决此问题,只需升级到最新的4.7.1(今天的rc-3)。
以下是Oxygen的更新站点: http://download.scala-ide.org/sdk/lithium/e47/scala212/dev/site