在过去的几天里,Eclipse一直在使用奇怪的操作,在启动和创建Java项目时出现Eclipse错误
我注意到的第一件事是我最近创建的Java项目没有从Eclipse内部运行。项目编译时没有任何错误,并且.class文件是从命令行创建并运行良好的,但是在Eclipse中触发运行或调试按钮根本没有产生任何操作。旧项目将运行得很好。
然后错误开始显现。
有时我得到这个错误在启动时: start up error
每次我试图创建一个新的Java项目时出现此错误: create java project error
这里的日志文件的开头(这是我可以发布更多,如果你问):
!SESSION 2013-02-14 09:11:35.296 -----------------------------------------------
eclipse.buildId=M20120914-1800
java.version=1.7.0_13
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
This is a continuation of log file C:\Documents and Settings\team\workspace.metadata\.bak_0.log
Created Time: 2013-02-14 09:14:12.234
!ENTRY org.eclipse.e4.ui.workbench 4 0 2013-02-14 09:14:12.234
!MESSAGE Exception occurred while unrendering:[email protected]cb7 (elementId: org.eclipse.pde.runtime.LogView, tags: [View, categoryTag:General], contributorURI: null) (widget: null, renderer: null, toBeRendered: true, onTop: false, visible: true, containerData: null, accessibilityPhrase: null) (contributionURI: bundleclass://org.eclipse.ui.workbench/org.eclipse.ui.internal.e4.compatibility.CompatibilityView, object: null, context: null, variables: [], label: Error Log, iconURI: platform:/plugin/org.eclipse.ui.views.log//icons/eview16/error_log.gif, tooltip: , dirty: false, closeable: true, description: null)
!STACK 0
org.eclipse.e4.core.di.InjectionException: java.lang.NullPointerException
at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:63)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:859)
at org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:839)
at org.eclipse.e4.core.internal.di.InjectorImpl.disposed(InjectorImpl.java:368)
at org.eclipse.e4.core.internal.di.Requestor.disposed(Requestor.java:127)
at org.eclipse.e4.core.internal.contexts.ContextObjectSupplier$ContextInjectionListener.update(ContextObjectSupplier.java:76)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.update(TrackableComputationExt.java:107)
at org.eclipse.e4.core.internal.contexts.TrackableComputationExt.handleInvalid(TrackableComputationExt.java:70)
at org.eclipse.e4.core.internal.contexts.EclipseContext.dispose(EclipseContext.java:170)
我试图启动一个新的工作区没有运气。今天,我已经删除了Java和Eclipse,并开始使用全新的Java JDK 7u13和新的Eclipse Juno 4.2.1,但没有运气。我不知道我在这里做了什么。任何想法是什么导致这一点以及如何解决它?如果它很重要,我正在运行Windows XP Professional x64 Edition。
我有时会在关机此错误: http://i.imgur.com/gHuclp4.jpg 网站不会让我使用超过2个链接或把图像直接在问题 – flight2039 2013-02-14 15:26:24