java.lang.NullPointerException

SpringSource Issue Tracker | Kris De Volder (c) | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    When the first thing you do after opening new workspace is imprting a gradle project with the import wizard, then it throws this exception when clicking 'Build Model' button: {noformat} !ENTRY org.springsource.ide.eclipse.gradle.core 4 0 2014-11-18 09:49:36.706 !MESSAGE !STACK 0 java.lang.reflect.InvocationTargetException at org.springsource.ide.eclipse.gradle.core.util.GradleRunnable.run(GradleRunnable.java:112) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122) Caused by: java.lang.NullPointerException at org.springsource.ide.eclipse.gradle.core.modelmanager.GradleModelManager.invalidate(GradleModelManager.java:61) at org.springsource.ide.eclipse.gradle.core.GradleProject.invalidateGradleModel(GradleProject.java:594) at org.springsource.ide.eclipse.gradle.ui.wizards.GradleImportWizardPageOne$11.doit(GradleImportWizardPageOne.java:514) at org.springsource.ide.eclipse.gradle.core.util.GradleRunnable.run(GradleRunnable.java:104) ... 1 more Root exception: java.lang.NullPointerException at org.springsource.ide.eclipse.gradle.core.modelmanager.GradleModelManager.invalidate(GradleModelManager.java:61) at org.springsource.ide.eclipse.gradle.core.GradleProject.invalidateGradleModel(GradleProject.java:594) at org.springsource.ide.eclipse.gradle.ui.wizards.GradleImportWizardPageOne$11.doit(GradleImportWizardPageOne.java:514) at org.springsource.ide.eclipse.gradle.core.util.GradleRunnable.run(GradleRunnable.java:104) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122) {noformat} This makes the wizard unusable as it can't populate the model.

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

    When the first thing you do after opening new workspace is imprting a gradle project with the import wizard, then it throws this exception when clicking 'Build Model' button: {noformat} !ENTRY org.springsource.ide.eclipse.gradle.core 4 0 2014-11-18 09:49:36.706 !MESSAGE !STACK 0 java.lang.reflect.InvocationTargetException at org.springsource.ide.eclipse.gradle.core.util.GradleRunnable.run(GradleRunnable.java:112) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122) Caused by: java.lang.NullPointerException at org.springsource.ide.eclipse.gradle.core.modelmanager.GradleModelManager.invalidate(GradleModelManager.java:61) at org.springsource.ide.eclipse.gradle.core.GradleProject.invalidateGradleModel(GradleProject.java:594) at org.springsource.ide.eclipse.gradle.ui.wizards.GradleImportWizardPageOne$11.doit(GradleImportWizardPageOne.java:514) at org.springsource.ide.eclipse.gradle.core.util.GradleRunnable.run(GradleRunnable.java:104) ... 1 more Root exception: java.lang.NullPointerException at org.springsource.ide.eclipse.gradle.core.modelmanager.GradleModelManager.invalidate(GradleModelManager.java:61) at org.springsource.ide.eclipse.gradle.core.GradleProject.invalidateGradleModel(GradleProject.java:594) at org.springsource.ide.eclipse.gradle.ui.wizards.GradleImportWizardPageOne$11.doit(GradleImportWizardPageOne.java:514) at org.springsource.ide.eclipse.gradle.core.util.GradleRunnable.run(GradleRunnable.java:104) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122) {noformat} This makes the wizard unusable as it can't populate the model.

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

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.springsource.ide.eclipse.gradle.core.modelmanager.GradleModelManager.invalidate()
    2. org.springsource.ide
      GradleRunnable.run
      1. org.springsource.ide.eclipse.gradle.core.modelmanager.GradleModelManager.invalidate(GradleModelManager.java:61)
      2. org.springsource.ide.eclipse.gradle.core.GradleProject.invalidateGradleModel(GradleProject.java:594)
      3. org.springsource.ide.eclipse.gradle.ui.wizards.GradleImportWizardPageOne$11.doit(GradleImportWizardPageOne.java:514)
      4. org.springsource.ide.eclipse.gradle.core.util.GradleRunnable.run(GradleRunnable.java:104)
      4 frames
    3. JFace
      ModalContext$ModalContextThread.run
      1. org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
      1 frame