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?

SpringSource Issue Tracker | Kris De Volder (c) | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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 | 5 years ago | Kris De Volder (c)
    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?
  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 | 5 years ago | Kris De Volder (c)
    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?

    Root Cause Analysis

    1. 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()
    2. org.springsource.ide
      WizardPageWithSections.createControl
      1. org.springsource.ide.eclipse.gradle.core.util.ExceptionUtil.coreException(ExceptionUtil.java:37)
      2. org.springsource.ide.eclipse.gradle.core.util.ExceptionUtil.coreException(ExceptionUtil.java:31)
      3. org.springsource.ide.eclipse.gradle.core.util.ExceptionUtil.coreException(ExceptionUtil.java:45)
      4. org.springsource.ide.eclipse.gradle.core.GradleCore.log(GradleCore.java:95)
      5. org.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.getLocalSamplesDir(SampleProjectRegistry.java:121)
      6. org.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.registerLocalSamples(SampleProjectRegistry.java:102)
      7. org.springsource.ide.eclipse.gradle.core.samples.SampleProjectRegistry.getAll(SampleProjectRegistry.java:96)
      8. org.springsource.ide.eclipse.gradle.ui.wizards.SampleProjectSection.getSampleProjectNames(SampleProjectSection.java:90)
      9. org.springsource.ide.eclipse.gradle.ui.wizards.SampleProjectSection.createContents(SampleProjectSection.java:77)
      10. org.springsource.ide.eclipse.gradle.ui.wizards.WizardPageWithSections.createControl(WizardPageWithSections.java:54)
      10 frames