com.springsource.sts.gradle.core.InconsistenProjectHierarchyException

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.

  • Use the gradle import wizard to import a gradle project from a path that includes a symbolic link. When you hit the _Build Model_ you obtain an error dialog complaining _Gradle project hieratch is inconsistent for..._. Here you are the stacktrace form _Error log_ {noformat} java.lang.reflect.InvocationTargetException at com.springsource.sts.gradle.core.util.GradleRunnable.run(GradleRunnable.java:85) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: com.springsource.sts.gradle.core.InconsistenProjectHierarchyException: Gradle project hieratch is inconsistent for '/home/davide/devel/tmp/test_sts_link1' at com.springsource.sts.gradle.core.util.ExceptionUtil.inconsistentProjectHierachy(ExceptionUtil.java:75) at com.springsource.sts.gradle.core.GradleModelProvider$GroupedModelProvider.getCachedModel(GradleModelProvider.java:319) at com.springsource.sts.gradle.core.GradleProject.getGradleModel(GradleProject.java:545) at com.springsource.sts.gradle.core.GradleProject.getSkeletalGradleModel(GradleProject.java:564) at com.springsource.sts.gradle.ui.wizards.GradleImportWizardPageOne$9.doit(GradleImportWizardPageOne.java:471) at com.springsource.sts.gradle.core.util.GradleRunnable.run(GradleRunnable.java:77) ... 1 more Root exception: com.springsource.sts.gradle.core.InconsistenProjectHierarchyException: Gradle project hieratch is inconsistent for '/home/davide/devel/tmp/test_sts_link1' at com.springsource.sts.gradle.core.util.ExceptionUtil.inconsistentProjectHierachy(ExceptionUtil.java:75) at com.springsource.sts.gradle.core.GradleModelProvider$GroupedModelProvider.getCachedModel(GradleModelProvider.java:319) at com.springsource.sts.gradle.core.GradleProject.getGradleModel(GradleProject.java:545) at com.springsource.sts.gradle.core.GradleProject.getSkeletalGradleModel(GradleProject.java:564) at com.springsource.sts.gradle.ui.wizards.GradleImportWizardPageOne$9.doit(GradleImportWizardPageOne.java:471) at com.springsource.sts.gradle.core.util.GradleRunnable.run(GradleRunnable.java:77) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) {noformat}
    via by Davide Cavestro,
  • Use the gradle import wizard to import a gradle project from a path that includes a symbolic link. When you hit the _Build Model_ you obtain an error dialog complaining _Gradle project hieratch is inconsistent for..._. Here you are the stacktrace form _Error log_ {noformat} java.lang.reflect.InvocationTargetException at com.springsource.sts.gradle.core.util.GradleRunnable.run(GradleRunnable.java:85) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) Caused by: com.springsource.sts.gradle.core.InconsistenProjectHierarchyException: Gradle project hieratch is inconsistent for '/home/davide/devel/tmp/test_sts_link1' at com.springsource.sts.gradle.core.util.ExceptionUtil.inconsistentProjectHierachy(ExceptionUtil.java:75) at com.springsource.sts.gradle.core.GradleModelProvider$GroupedModelProvider.getCachedModel(GradleModelProvider.java:319) at com.springsource.sts.gradle.core.GradleProject.getGradleModel(GradleProject.java:545) at com.springsource.sts.gradle.core.GradleProject.getSkeletalGradleModel(GradleProject.java:564) at com.springsource.sts.gradle.ui.wizards.GradleImportWizardPageOne$9.doit(GradleImportWizardPageOne.java:471) at com.springsource.sts.gradle.core.util.GradleRunnable.run(GradleRunnable.java:77) ... 1 more Root exception: com.springsource.sts.gradle.core.InconsistenProjectHierarchyException: Gradle project hieratch is inconsistent for '/home/davide/devel/tmp/test_sts_link1' at com.springsource.sts.gradle.core.util.ExceptionUtil.inconsistentProjectHierachy(ExceptionUtil.java:75) at com.springsource.sts.gradle.core.GradleModelProvider$GroupedModelProvider.getCachedModel(GradleModelProvider.java:319) at com.springsource.sts.gradle.core.GradleProject.getGradleModel(GradleProject.java:545) at com.springsource.sts.gradle.core.GradleProject.getSkeletalGradleModel(GradleProject.java:564) at com.springsource.sts.gradle.ui.wizards.GradleImportWizardPageOne$9.doit(GradleImportWizardPageOne.java:471) at com.springsource.sts.gradle.core.util.GradleRunnable.run(GradleRunnable.java:77) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) {noformat}
    via by Davide Cavestro,
    • com.springsource.sts.gradle.core.InconsistenProjectHierarchyException: Gradle project hieratch is inconsistent for '/home/davide/devel/tmp/test_sts_link1' at com.springsource.sts.gradle.core.util.ExceptionUtil.inconsistentProjectHierachy(ExceptionUtil.java:75) at com.springsource.sts.gradle.core.GradleModelProvider$GroupedModelProvider.getCachedModel(GradleModelProvider.java:319) at com.springsource.sts.gradle.core.GradleProject.getGradleModel(GradleProject.java:545) at com.springsource.sts.gradle.core.GradleProject.getSkeletalGradleModel(GradleProject.java:564) at com.springsource.sts.gradle.ui.wizards.GradleImportWizardPageOne$9.doit(GradleImportWizardPageOne.java:471) at com.springsource.sts.gradle.core.util.GradleRunnable.run(GradleRunnable.java:77) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
    No Bugmate found.