在以下过程中发生内部错误:“AppXray Indexing...”。

我为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)

答案 1

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

窗口 -> 首选项 -> AppXray

选中“禁用 AppXray”复选框。

最后点击“应用”。


答案 2

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

窗口 -> 首选项 -> Oracle ->AppXray


推荐