在以下期间发生内部错误:" AppXray Indexing ..."

时间:2014-10-10 14:55:28

标签: java eclipse weblogic eclipse-jdt eclipse-luna

我为Eclipse Luna安装了Oracle WebLogic Tools,现在我在启动时收到了标题中的错误。我已经在下面附上了Eclipse日志。

java.lang.NullPointerException
    at org.eclipse.m2e.jdt.internal.MavenClasspathContainerInitializer.initialize(MavenClasspathContainerInitializer.java:48)
    at org.eclipse.jdt.internal.core.JavaModelManager.initializeContainer(JavaModelManager.java:2902)
    at org.eclipse.jdt.internal.core.JavaModelManager.getClasspathContainer(JavaModelManager.java:1937)
    at org.eclipse.jdt.core.JavaCore.getClasspathContainer(JavaCore.java:3247)
    at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2693)
    at org.eclipse.jdt.internal.core.JavaProject.resolveClasspath(JavaProject.java:2857)
    at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath(JavaProject.java:1962)
    at org.eclipse.jdt.internal.core.JavaProject.buildStructure(JavaProject.java:464)
    at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:259)
    at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:557)
    at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:294)
    at org.eclipse.jdt.internal.core.JavaElement.getElementInfo(JavaElement.java:280)
    at org.eclipse.jdt.internal.core.JavaProject.getJavaProjectElementInfo(JavaProject.java:1642)
    at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2329)
    at org.eclipse.jdt.internal.core.JavaProject.newNameLookup(JavaProject.java:2339)
    at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1357)
    at org.eclipse.jdt.internal.core.JavaProject.findType(JavaProject.java:1264)
    at oracle.eclipse.tools.webtier.jsf.AbstractJSFTechnologyDiscoverer.isActive(AbstractJSFTechnologyDiscoverer.java:68)
    at oracle.eclipse.tools.common.services.project.technology.DefaultTechnologyDiscoveryProvider.getActiveTechnologyDescriptors(DefaultTechnologyDiscoveryProvider.java:82)
    at oracle.eclipse.tools.common.services.project.technology.DefaultTechnologyDiscoveryProvider.getActiveTechnologies(DefaultTechnologyDiscoveryProvider.java:64)
    at oracle.eclipse.tools.common.services.project.internal.ProjectImpl.getTechnologyExtensions(ProjectImpl.java:75)
    at oracle.eclipse.tools.common.services.project.internal.ProjectImpl.getTechnologyExtensionById(ProjectImpl.java:96)
    at oracle.eclipse.tools.webtier.javawebapp.app.WebAppClassloaderResetCommand.execute(WebAppClassloaderResetCommand.java:45)
    at oracle.eclipse.tools.common.services.resources.internal.CommandSetJob.runPreLockCommands(CommandSetJob.java:211)
    at oracle.eclipse.tools.common.services.resources.internal.CommandSetJob.run(CommandSetJob.java:79)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

2 个答案:

答案 0 :(得分:27)

尝试关闭AppXray,假设您不需要它。

窗口 - >偏好 - >的AppXRay

检查"禁用AppXray"复选框。

最后点击"应用"。

答案 1 :(得分:9)

在较新版本的Eclipse中关闭AppXray的路径为

窗口 - >偏好 - > Oracle - > AppXray