java.lang.reflect.InvocationTargetException

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.

  • 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.
    via by Kris De Volder (c),
  • 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.
    via by Kris De Volder (c),
    • 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
    No Bugmate found.