NullPointerException related to AbstractInterpreterInstallType [message #663009] |
Fri, 01 April 2011 19:53  |
Eclipse User |
|
|
|
I'm seeing the following exception show up in numerous places but I'm at a loss to determine how to resolve it.
I've implemented a basic editor and run capabilities, and am now trying to get a simple type navigator hooked up according to the wiki at ( http://wiki.eclipse.org/DLTK_IDE_Guide:Step_3._Towards_an_ID E). Can't get even the simple, hard-coded type hierarchy to display (my project seems to work ok, as does script selection for running). The following error shows up from time to time, although I think it's unrelated to the type hierarchy working.
(Running DLTK 2.0, comparing with the ruby implementation from the CVS 2.0 tag)
java.lang.NullPointerException
at org.eclipse.core.internal.filesystem.local.LocalFile.getChild(LocalFile.java:171)
at org.eclipse.dltk.internal.launching.execution.EFSDeployment.getFile(EFSDeployment.java:128)
at org.eclipse.dltk.internal.launching.AbstractInterpreterInstallType$2.run(AbstractInterpreterInstallType.java:685)
at org.eclipse.dltk.internal.launching.AbstractInterpreterInstallType.runLibraryLookup(AbstractInterpreterInstallType.java:428)
at org.eclipse.dltk.internal.launching.AbstractInterpreterInstallType.getDefaultLibraryLocations(AbstractInterpreterInstallType.java:757)
at org.eclipse.dltk.launching.ScriptRuntime.getLibraryLocations(ScriptRuntime.java:975)
at org.eclipse.dltk.launching.ScriptRuntime.getLibraryLocations(ScriptRuntime.java:963)
at org.eclipse.dltk.internal.launching.InterpreterContainer.computeBuildpathEntries(InterpreterContainer.java:135)
at org.eclipse.dltk.internal.launching.InterpreterContainer.getBuildpathEntries(InterpreterContainer.java:118)
at org.eclipse.dltk.internal.launching.InterpreterContainer.computeBuildpathEntries(InterpreterContainer.java:221)
at org.eclipse.dltk.internal.launching.InterpreterContainer.getBuildpathEntries(InterpreterContainer.java:215)
at org.eclipse.dltk.internal.core.ModelManager.containerPutIfInitializingWithSameEntries(ModelManager.java:2130)
at org.eclipse.dltk.core.DLTKCore.setBuildpathContainer(DLTKCore.java:1994)
at org.eclipse.dltk.internal.launching.InterpreterContainerInitializer.initialize(InterpreterContainerInitializer.java:62)
at org.eclipse.dltk.internal.core.ModelManager.initializeContainer(ModelManager.java:1895)
at org.eclipse.dltk.internal.core.ModelManager.getBuildpathContainer(ModelManager.java:1725)
at org.eclipse.dltk.core.DLTKCore.getBuildpathContainer(DLTKCore.java:1772)
at org.eclipse.dltk.internal.core.ScriptProject.getResolvedBuildpath(ScriptProject.java:428)
at org.eclipse.dltk.internal.core.ScriptProject.getResolvedBuildpath(ScriptProject.java:332)
at org.eclipse.dltk.internal.core.ScriptProject.getResolvedBuildpath(ScriptProject.java:275)
at org.eclipse.dltk.internal.core.ScriptProject.buildStructure(ScriptProject.java:672)
at org.eclipse.dltk.internal.core.Openable.generateInfos(Openable.java:188)
at org.eclipse.dltk.internal.core.ModelElement.openWhenClosed(ModelElement.java:184)
at org.eclipse.dltk.internal.core.ModelElement.getElementInfo(ModelElement.java:171)
at org.eclipse.dltk.internal.core.ModelElement.getChildren(ModelElement.java:356)
at org.eclipse.dltk.internal.core.ModelElement.getChildren(ModelElement.java:351)
at org.eclipse.dltk.internal.core.ScriptProject.getProjectFragments(ScriptProject.java:1483)
at org.eclipse.dltk.internal.core.search.DLTKSearchScope.add(DLTKSearchScope.java:164)
at org.eclipse.dltk.internal.core.search.DLTKSearchScope.add(DLTKSearchScope.java:126)
at org.eclipse.dltk.core.search.BasicSearchEngine.createSearchScope(BasicSearchEngine.java:209)
at org.eclipse.dltk.core.search.BasicSearchEngine.createSearchScope(BasicSearchEngine.java:189)
at org.eclipse.dltk.core.search.SearchEngine.createSearchScope(SearchEngine.java:253)
at org.eclipse.dltk.internal.core.SourceType.createReferencingProjectsScope(SourceType.java:459)
at org.eclipse.dltk.internal.core.SourceType.newTypeHierarchy(SourceType.java:471)
at org.eclipse.dltk.internal.ui.typehierarchy.TypeHierarchyLifeCycle.createTypeHierarchy(TypeHierarchyLifeCycle.java:126)
at org.eclipse.dltk.internal.ui.typehierarchy.TypeHierarchyLifeCycle.doHierarchyRefresh(TypeHierarchyLifeCycle.java:165)
at org.eclipse.dltk.internal.ui.typehierarchy.TypeHierarchyLifeCycle$1.run(TypeHierarchyLifeCycle.java:106)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.10688 seconds