java.lang.NullPointerException

JIRA | gepetto-bot | 3 years ago
  1. 0

    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.

    JIRA | 3 years ago | gepetto-bot
    java.lang.NullPointerException
  2. 0

    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.

    JIRA | 3 years ago | gepetto-bot
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.cloudsmith.geppetto.pp.dsl.ui.container.PPWorkspaceProjectsStateHelper.getVisibleProjectNames()
    2. org.cloudsmith.geppetto
      PPWorkspaceProjectsState.doInitVisibleHandles
      1. org.cloudsmith.geppetto.pp.dsl.ui.container.PPWorkspaceProjectsStateHelper.getVisibleProjectNames(PPWorkspaceProjectsStateHelper.java:92)
      2. org.cloudsmith.geppetto.pp.dsl.ui.container.PPWorkspaceProjectsStateHelper.initVisibleHandles(PPWorkspaceProjectsStateHelper.java:133)
      3. org.cloudsmith.geppetto.pp.dsl.ui.container.PPWorkspaceProjectsState.doInitVisibleHandles(PPWorkspaceProjectsState.java:68)
      3 frames
    3. org.eclipse.xtext
      StateBasedContainerManager.getVisibleContainers
      1. org.eclipse.xtext.ui.containers.AbstractAllContainersState.initVisibleContainerHandles(AbstractAllContainersState.java:180)
      2. org.eclipse.xtext.ui.containers.AbstractAllContainersState.getVisibleContainerHandles(AbstractAllContainersState.java:176)
      3. org.eclipse.xtext.resource.containers.StateBasedContainerManager.getVisibleContainers(StateBasedContainerManager.java:54)
      3 frames
    4. org.cloudsmith.geppetto
      PPResource.resolveLazyCrossReferences
      1. org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.getExportedObjects(PPFinder.java:660)
      2. org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.buildExportedObjectsIndex(PPFinder.java:190)
      3. org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.configure(PPFinder.java:242)
      4. org.cloudsmith.geppetto.pp.dsl.linking.PPFinder.configure(PPFinder.java:230)
      5. org.cloudsmith.geppetto.pp.dsl.linking.PPResourceLinker.link(PPResourceLinker.java:1160)
      6. org.cloudsmith.geppetto.pp.dsl.ui.resource.PPResource.performPPLinking(PPResource.java:106)
      7. org.cloudsmith.geppetto.pp.dsl.ui.resource.PPResource.ensureLinkedState(PPResource.java:69)
      8. org.cloudsmith.geppetto.pp.dsl.ui.resource.PPResource.resolveLazyCrossReferences(PPResource.java:117)
      8 frames
    5. org.eclipse.xtext
      ValidationJob.run
      1. org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:511)
      2. org.eclipse.xtext.validation.ResourceValidatorImpl.resolveProxies(ResourceValidatorImpl.java:155)
      3. org.eclipse.xtext.validation.ResourceValidatorImpl.validate(ResourceValidatorImpl.java:68)
      4. org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:79)
      5. org.eclipse.xtext.ui.editor.validation.ValidationJob$1.exec(ValidationJob.java:1)
      6. org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(AbstractReadWriteAcces.java:62)
      7. org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.readOnly(XtextDocument.java:246)
      8. org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(XtextDocument.java:84)
      9. org.eclipse.xtext.ui.editor.validation.ValidationJob.createIssues(ValidationJob.java:75)
      10. org.eclipse.xtext.ui.editor.validation.ValidationJob.run(ValidationJob.java:64)
      10 frames
    6. Eclipse Jobs
      Worker.run
      1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      1 frame