java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I'm getting this error on Puppet manifests. It happens when a file is opened and/or changed. The error goes way if I remove the Xtext nature but this renders the plugin useless as then almost everything withing the .pp file is shown as an error. The project is accessible via SSH using RSE. The error does not happen if the project is loaded from local file system. This happens on Windows with the following versions: 1. Eclipse Standard/SDK Product Bundle 2.0.1.20130919-0803 2. Geppetto 3.2.1.v20130912-1326 3. Xtext 2.4.3.v201309030823 4. Remote System Explorer End-User Runtime 3.5.0.201305201712 5. Remote System Explorer User Actions 1.1.500.201305201712 6. Java version: see below 7. Need more? Please let me know which ones... The error raises a java.lang.NullPointerException. Here's the stack trace: java.lang.NullPointerException at org.cloudsmith.geppetto.pp.dsl.ui.container.PPWorkspaceProjectsStateHelper.getVisibleProjectNames(PPWorkspaceProjectsStateHelper.java:92) at org.cloudsmith.geppetto.pp.dsl.ui.container.PPWorkspaceProjectsStateHelper.initVisibleHandles(PPWorkspaceProjectsStateHelper.java:133) at org.cloudsmith.geppetto.pp.dsl.ui.container.PPWorkspaceProjectsState.doInitVisibleHandles(PPWorkspaceProjectsState.java:68) at org.eclipse.xtext.ui.containers.AbstractAllContainersState.initVisibleContainerHandles(AbstractAllContainersState.java:180) at org.eclipse.xtext.ui.containers.AbstractAllContainersState.getVisibleContainerHandles(AbstractAllContainersState.java:176) at org.eclipse.xtext.resource.containers.StateBasedContainerManager.getVisibleContainers(StateBasedContainerManager.java:54) at org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.getExportedObjects(PPFinder.java:660) at org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.buildExportedObjectsIndex(PPFinder.java:190) at org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.configure(PPFinder.java:242) at org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.configure(PPFinder.java:230) at org.cloudsmith.geppetto.pp.dsl.linking.PPResourceLinker.link(PPResourceLinker.java:1160) at org.cloudsmith.geppetto.pp.dsl.ui.resource.PPResource.performPPLinking(PPResource.java:106) at org.cloudsmith.geppetto.pp.dsl.ui.resource.PPResource.ensureLinkedState(PPResource.java:69) at org.cloudsmith.geppetto.pp.dsl.ui.resource.PPResource.resolveLazyCrossReferences(PPResource.java:117) at org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:511) at org.eclipse.xtext.validation.ResourceValidatorImpl.resolveProxies(ResourceValidatorImpl.java:155) at org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:68) at org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:79) at org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:1) at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(AbstractReadWriteAcces.java:62) at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.readOnly(XtextDocument.java:246) at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:84) at org.eclipse.xtext.ui.editor.validation.ValidationJob.createIssues(ValidationJob.java:75) at org.eclipse.xtext.ui.editor.validation.ValidationJob.run(ValidationJob.java:64) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) eclipse.buildId=4.3.0.M20130911-1000 java.version=1.6.0_43 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH Framework arguments: -product org.eclipse.epp.package.standard.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.standard.product Any ideas how to fix this would be very much appreciated.
    via by gepetto-bot,
  • I'm getting this error on Puppet manifests. It happens when a file is opened and/or changed. The error goes way if I remove the Xtext nature but this renders the plugin useless as then almost everything withing the .pp file is shown as an error. The project is accessible via SSH using RSE. The error does not happen if the project is loaded from local file system. This happens on Windows with the following versions: 1. Eclipse Standard/SDK Product Bundle 2.0.1.20130919-0803 2. Geppetto 3.2.1.v20130912-1326 3. Xtext 2.4.3.v201309030823 4. Remote System Explorer End-User Runtime 3.5.0.201305201712 5. Remote System Explorer User Actions 1.1.500.201305201712 6. Java version: see below 7. Need more? Please let me know which ones... The error raises a java.lang.NullPointerException. Here's the stack trace: java.lang.NullPointerException at org.cloudsmith.geppetto.pp.dsl.ui.container.PPWorkspaceProjectsStateHelper.getVisibleProjectNames(PPWorkspaceProjectsStateHelper.java:92) at org.cloudsmith.geppetto.pp.dsl.ui.container.PPWorkspaceProjectsStateHelper.initVisibleHandles(PPWorkspaceProjectsStateHelper.java:133) at org.cloudsmith.geppetto.pp.dsl.ui.container.PPWorkspaceProjectsState.doInitVisibleHandles(PPWorkspaceProjectsState.java:68) at org.eclipse.xtext.ui.containers.AbstractAllContainersState.initVisibleContainerHandles(AbstractAllContainersState.java:180) at org.eclipse.xtext.ui.containers.AbstractAllContainersState.getVisibleContainerHandles(AbstractAllContainersState.java:176) at org.eclipse.xtext.resource.containers.StateBasedContainerManager.getVisibleContainers(StateBasedContainerManager.java:54) at org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.getExportedObjects(PPFinder.java:660) at org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.buildExportedObjectsIndex(PPFinder.java:190) at org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.configure(PPFinder.java:242) at org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.configure(PPFinder.java:230) at org.cloudsmith.geppetto.pp.dsl.linking.PPResourceLinker.link(PPResourceLinker.java:1160) at org.cloudsmith.geppetto.pp.dsl.ui.resource.PPResource.performPPLinking(PPResource.java:106) at org.cloudsmith.geppetto.pp.dsl.ui.resource.PPResource.ensureLinkedState(PPResource.java:69) at org.cloudsmith.geppetto.pp.dsl.ui.resource.PPResource.resolveLazyCrossReferences(PPResource.java:117) at org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:511) at org.eclipse.xtext.validation.ResourceValidatorImpl.resolveProxies(ResourceValidatorImpl.java:155) at org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:68) at org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:79) at org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:1) at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(AbstractReadWriteAcces.java:62) at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.readOnly(XtextDocument.java:246) at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:84) at org.eclipse.xtext.ui.editor.validation.ValidationJob.createIssues(ValidationJob.java:75) at org.eclipse.xtext.ui.editor.validation.ValidationJob.run(ValidationJob.java:64) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) eclipse.buildId=4.3.0.M20130911-1000 java.version=1.6.0_43 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH Framework arguments: -product org.eclipse.epp.package.standard.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.standard.product Any ideas how to fix this would be very much appreciated.
    via by gepetto-bot,
    • java.lang.NullPointerException at org.cloudsmith.geppetto.pp.dsl.ui.container.PPWorkspaceProjectsStateHelper.getVisibleProjectNames(PPWorkspaceProjectsStateHelper.java:92) at org.cloudsmith.geppetto.pp.dsl.ui.container.PPWorkspaceProjectsStateHelper.initVisibleHandles(PPWorkspaceProjectsStateHelper.java:133) at org.cloudsmith.geppetto.pp.dsl.ui.container.PPWorkspaceProjectsState.doInitVisibleHandles(PPWorkspaceProjectsState.java:68) at org.eclipse.xtext.ui.containers.AbstractAllContainersState.initVisibleContainerHandles(AbstractAllContainersState.java:180) at org.eclipse.xtext.ui.containers.AbstractAllContainersState.getVisibleContainerHandles(AbstractAllContainersState.java:176) at org.eclipse.xtext.resource.containers.StateBasedContainerManager.getVisibleContainers(StateBasedContainerManager.java:54) at org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.getExportedObjects(PPFinder.java:660) at org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.buildExportedObjectsIndex(PPFinder.java:190) at org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.configure(PPFinder.java:242) at org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.configure(PPFinder.java:230) at org.cloudsmith.geppetto.pp.dsl.linking.PPResourceLinker.link(PPResourceLinker.java:1160) at org.cloudsmith.geppetto.pp.dsl.ui.resource.PPResource.performPPLinking(PPResource.java:106) at org.cloudsmith.geppetto.pp.dsl.ui.resource.PPResource.ensureLinkedState(PPResource.java:69) at org.cloudsmith.geppetto.pp.dsl.ui.resource.PPResource.resolveLazyCrossReferences(PPResource.java:117) at org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:511) at org.eclipse.xtext.validation.ResourceValidatorImpl.resolveProxies(ResourceValidatorImpl.java:155) at org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:68) at org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:79) at org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:1) at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(AbstractReadWriteAcces.java:62) at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.readOnly(XtextDocument.java:246) at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:84) at org.eclipse.xtext.ui.editor.validation.ValidationJob.createIssues(ValidationJob.java:75) at org.eclipse.xtext.ui.editor.validation.ValidationJob.run(ValidationJob.java:64) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
    No Bugmate found.