You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failed to load Gradle project: TestGradle org.gradle.tooling.BuildException: Could not fetch model of type 'IdeaProject' using Gradle distribution...
#86
Closed
lyhcode opened this issue
Nov 11, 2013
· 2 comments
With NetBeans 7.4,
create a new project and do nothing but just wait for project load.
Following error messages shown after project loaded.
It's very strange,
two days ago,
I can run gradle build with my NetBeans with same environment.
But this day,
I've create many new Gradle project or open existing gradle project,
and always the same error.
Please help.
Failed to load Gradle project: TestGradle
org.gradle.tooling.BuildException: Could not fetch model of type 'IdeaProject' using Gradle distribution 'http://services.gradle.org/distributions/gradle-1.7-bin.zip'.
at org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:55)
at org.gradle.tooling.internal.consumer.async.DefaultAsyncConnection$2.run(DefaultAsyncConnection.java:71)
at org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:66)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
at org.gradle.tooling.internal.consumer.BlockingResultHandler.getResult(BlockingResultHandler.java:46)
at org.gradle.tooling.internal.consumer.DefaultModelBuilder.get(DefaultModelBuilder.java:46)
at org.netbeans.gradle.project.model.GradleModelLoader.getModelWithProgress(GradleModelLoader.java:234)
at org.netbeans.gradle.project.model.GradleModelLoader.getRawModelWithProgress(GradleModelLoader.java:206)
at org.netbeans.gradle.project.model.GradleModelLoader.loadMainModel(GradleModelLoader.java:342)
at org.netbeans.gradle.project.model.GradleModelLoader.loadModelWithProgress(GradleModelLoader.java:412)
at org.netbeans.gradle.project.model.GradleModelLoader.access$200(GradleModelLoader.java:53)
at org.netbeans.gradle.project.model.GradleModelLoader$3.run(GradleModelLoader.java:164)
at org.netbeans.gradle.project.tasks.GradleDaemonManager.runNonBlockingGradleTask(GradleDaemonManager.java:24)
at org.netbeans.gradle.project.tasks.GradleDaemonManager.access$100(GradleDaemonManager.java:14)
at org.netbeans.gradle.project.tasks.GradleDaemonManager$2.run(GradleDaemonManager.java:105)
at org.netbeans.gradle.project.tasks.GradleDaemonManager$3.run(GradleDaemonManager.java:130)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
The text was updated successfully, but these errors were encountered:
I need the whole stack trace (including the causes of the main exception). This just means that Gradle told me that your project cannot be parsed / loaded.
Some possible issues:
Error in the build script (this should not be the case for new, unedited projects)
What you can try is to kill the Gradle daemon which is a "java" process (if you are not running important java process in the background, just kill them all). Again, the whole exception should help.
With NetBeans 7.4,
create a new project and do nothing but just wait for project load.
Following error messages shown after project loaded.
It's very strange,
two days ago,
I can run gradle build with my NetBeans with same environment.
But this day,
I've create many new Gradle project or open existing gradle project,
and always the same error.
Please help.
The text was updated successfully, but these errors were encountered: