java.lang.NullPointerException

SpringSource Issue Tracker | Kris De Volder (c) | 4 years ago
  1. 0

    It appears that when I install Gradle from the update site, the core bundle is not being exploded. This is problematic because some things, such as the new project wizard rely on it being exploded to be able to access sample project contents. This manifest itself in a number of ways; When trying to use new project wizard: {noformat} java.lang.NullPointerException at org.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.registerLocalSamples(SampleProjectRegistry.java:103) at org.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.getAll(SampleProjectRegistry.java:96) at org.springsource.ide.eclipse.gradle.ui.wizards.SampleProjectSection.getSampleProjectNames(SampleProjectSection.java:90) at org.springsource.ide.eclipse.gradle.ui.wizards.SampleProjectSection.createContents(SampleProjectSection.java:77) at org.springsource.ide.eclipse.gradle.ui.wizards.WizardPageWithSections.createControl(WizardPageWithSections.java:54) {noformat} Also: {noformat} org.eclipse.core.runtime.CoreException: Couldn't access the plugin org.springsource.ide.eclipse.gradle.core as a directory. Maybe it is not installed as an 'exploded' bundle? at org.springsource.ide.eclipse.gradle.core.util.ExceptionUtil.coreException(ExceptionUtil.java:37) at org.springsource.ide.eclipse.gradle.core.util.ExceptionUtil.coreException(ExceptionUtil.java:31) at org.springsource.ide.eclipse.gradle.core.util.ExceptionUtil.coreException(ExceptionUtil.java:45) at org.springsource.ide.eclipse.gradle.core.GradleCore.log(GradleCore.java:95) at org.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.getLocalSamplesDir(SampleProjectRegistry.java:121) at org.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.registerLocalSamples(SampleProjectRegistry.java:102) at org.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.getAll(SampleProjectRegistry.java:96) at org.springsource.ide.eclipse.gradle.ui.wizards.SampleProjectSection.getSampleProjectNames(SampleProjectSection.java:90) at org.springsource.ide.eclipse.gradle.ui.wizards.SampleProjectSection.createContents(SampleProjectSection.java:77) at org.springsource.ide.eclipse.gradle.ui.wizards.WizardPageWithSections.createControl(WizardPageWithSections.java:54) {noformat} and errors on startup / shutdown like the following: {noformat} Errors running builder 'Java Builder' on project 'foo'. assertion failed: Bundle 'org.springsource.ide.eclipse.gradle.core must be exploded {noformat}

    SpringSource Issue Tracker | 4 years ago | Kris De Volder (c)
    java.lang.NullPointerException
  2. 0

    It appears that when I install Gradle from the update site, the core bundle is not being exploded. This is problematic because some things, such as the new project wizard rely on it being exploded to be able to access sample project contents. This manifest itself in a number of ways; When trying to use new project wizard: {noformat} java.lang.NullPointerException at org.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.registerLocalSamples(SampleProjectRegistry.java:103) at org.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.getAll(SampleProjectRegistry.java:96) at org.springsource.ide.eclipse.gradle.ui.wizards.SampleProjectSection.getSampleProjectNames(SampleProjectSection.java:90) at org.springsource.ide.eclipse.gradle.ui.wizards.SampleProjectSection.createContents(SampleProjectSection.java:77) at org.springsource.ide.eclipse.gradle.ui.wizards.WizardPageWithSections.createControl(WizardPageWithSections.java:54) {noformat} Also: {noformat} org.eclipse.core.runtime.CoreException: Couldn't access the plugin org.springsource.ide.eclipse.gradle.core as a directory. Maybe it is not installed as an 'exploded' bundle? at org.springsource.ide.eclipse.gradle.core.util.ExceptionUtil.coreException(ExceptionUtil.java:37) at org.springsource.ide.eclipse.gradle.core.util.ExceptionUtil.coreException(ExceptionUtil.java:31) at org.springsource.ide.eclipse.gradle.core.util.ExceptionUtil.coreException(ExceptionUtil.java:45) at org.springsource.ide.eclipse.gradle.core.GradleCore.log(GradleCore.java:95) at org.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.getLocalSamplesDir(SampleProjectRegistry.java:121) at org.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.registerLocalSamples(SampleProjectRegistry.java:102) at org.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.getAll(SampleProjectRegistry.java:96) at org.springsource.ide.eclipse.gradle.ui.wizards.SampleProjectSection.getSampleProjectNames(SampleProjectSection.java:90) at org.springsource.ide.eclipse.gradle.ui.wizards.SampleProjectSection.createContents(SampleProjectSection.java:77) at org.springsource.ide.eclipse.gradle.ui.wizards.WizardPageWithSections.createControl(WizardPageWithSections.java:54) {noformat} and errors on startup / shutdown like the following: {noformat} Errors running builder 'Java Builder' on project 'foo'. assertion failed: Bundle 'org.springsource.ide.eclipse.gradle.core must be exploded {noformat}

    SpringSource Issue Tracker | 4 years ago | Kris De Volder (c)
    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.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.registerLocalSamples()
    2. org.springsource.ide
      WizardPageWithSections.createControl
      1. org.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.registerLocalSamples(SampleProjectRegistry.java:103)
      2. org.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.getAll(SampleProjectRegistry.java:96)
      3. org.springsource.ide.eclipse.gradle.ui.wizards.SampleProjectSection.getSampleProjectNames(SampleProjectSection.java:90)
      4. org.springsource.ide.eclipse.gradle.ui.wizards.SampleProjectSection.createContents(SampleProjectSection.java:77)
      5. org.springsource.ide.eclipse.gradle.ui.wizards.WizardPageWithSections.createControl(WizardPageWithSections.java:54)
      5 frames