{"action":"created","issue":{"url":"https://api.github.com/repos/kelemen/netbeans-gradle-project/issues/191","labels_url":"https://api.github.com/repos/kelemen/netbeans-gradle-project/issues/191/labels{/name}","comments_url":"https://api.github.com/repos/kelemen/netbeans-gradle-project/issues/191/comments","events_url":"https://api.github.com/repos/kelemen/netbeans-gradle-project/issues/191/events","html_url":"https://github.com/kelemen/netbeans-gradle-project/issues/191","id":65441229,"number":191,"title":"Could not fetch model of type 'IdeaProject'","user":{"login":"sbtourist","id":103671,"avatar_url":"https://avatars.githubusercontent.com/u/103671?v=3","gravatar_id":"","url":"https://api.github.com/users/sbtourist","html_url":"https://github.com/sbtourist","followers_url":"https://api.github.com/users/sbtourist/followers","following_url":"https://api.github.com/users/sbtourist/following{/other_user}","gists_url":"https://api.github.com/users/sbtourist/gists{/gist_id}","starred_url":"https://api.github.com/users/sbtourist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbtourist/subscriptions","organizations_url":"https://api.github.com/users/sbtourist/orgs","repos_url":"https://api.github.com/users/sbtourist/repos","events_url":"https://api.github.com/users/sbtourist/events{/privacy}","received_events_url":"https://api.github.com/users/sbtourist/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-31T12:40:34Z","updated_at":"2015-03-31T14:24:37Z","closed_at":null,"body":"I'm using NetBeans 8.0.2 with the latest Gradle plugin, configured with the Idea-based mode and using `?DIST=https://services.gradle.org/distributions/gradle-2.2.1-all.zip` as the Gradle installation dir. I'm recently getting the following exception, after the gradle wrapper has been upgraded to 2.3:\r\n\r\norg.gradle.tooling.BuildException: Could not fetch model of type 'IdeaProject' using Gradle distribution 'https://services.gradle.org/distributions/gradle-2.2.1-all.zip'.\r\n\tat org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:53)\r\n\tat org.gradle.tooling.internal.consumer.async.DefaultAsyncConsumerActionExecutor$1$1.run(DefaultAsyncConsumerActionExecutor.java:57)\r\n\tat org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n\tat org.gradle.tooling.internal.consumer.BlockingResultHandler.getResult(BlockingResultHandler.java:46)\r\n\tat org.gradle.tooling.internal.consumer.DefaultModelBuilder.get(DefaultModelBuilder.java:48)\r\n\tat org.netbeans.gradle.project.model.NbCompatibleModelLoader.getModelWithProgress(NbCompatibleModelLoader.java:90)\r\n\tat org.netbeans.gradle.project.model.NbCompatibleModelLoader.loadMainModel(NbCompatibleModelLoader.java:212)\r\n\tat org.netbeans.gradle.project.model.NbCompatibleModelLoader.loadModels(NbCompatibleModelLoader.java:67)\r\n\tat org.netbeans.gradle.project.model.GradleModelLoader.loadModelWithProgress(GradleModelLoader.java:503)\r\n\tat org.netbeans.gradle.project.model.GradleModelLoader.access$600(GradleModelLoader.java:63)\r\n\tat org.netbeans.gradle.project.model.GradleModelLoader$6.run(GradleModelLoader.java:372)\r\n\tat org.netbeans.gradle.project.tasks.GradleDaemonManager.runNonBlockingGradleTask(GradleDaemonManager.java:36)\r\n\tat org.netbeans.gradle.project.tasks.GradleDaemonManager.access$100(GradleDaemonManager.java:23)\r\n\tat org.netbeans.gradle.project.tasks.GradleDaemonManager$2.execute(GradleDaemonManager.java:126)\r\n\tat org.jtrim.concurrent.AbstractTaskExecutorService$FunctionWrapper.execute(AbstractTaskExecutorService.java:270)\r\n\tat org.jtrim.concurrent.AbstractTaskExecutorService$TaskOfAbstractExecutor.execute(AbstractTaskExecutorService.java:340)\r\n\tat org.jtrim.concurrent.Tasks$RunOnceCancelableTask.execute(Tasks.java:342)\r\n\tat org.jtrim.concurrent.SingleThreadedExecutor$QueuedItem.runTask(SingleThreadedExecutor.java:905)\r\n\tat org.jtrim.concurrent.SingleThreadedExecutor$QueuedItem.access$1200(SingleThreadedExecutor.java:884)\r\n\tat org.jtrim.concurrent.SingleThreadedExecutor$Impl$Worker.executeTask(SingleThreadedExecutor.java:798)\r\n\tat org.jtrim.concurrent.SingleThreadedExecutor$Impl$Worker.processQueue(SingleThreadedExecutor.java:813)\r\n\tat org.jtrim.concurrent.SingleThreadedExecutor$Impl$Worker.run(SingleThreadedExecutor.java:847)\r\n\tat org.jtrim.concurrent.SingleThreadedExecutor$Impl$1.run(SingleThreadedExecutor.java:453)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: org.gradle.internal.exceptions.LocationAwareException: Build file '/Users/sergio/Dev/Lab/datastax/dse-master/dse-search/build.gradle' line: 4\r\nA problem occurred evaluating root project 'dse-search'.\r\n\tat org.gradle.initialization.DefaultExceptionAnalyser.transform(DefaultExceptionAnalyser.java:77)\r\n\tat org.gradle.initialization.MultipleBuildFailuresExceptionAnalyser.transform(MultipleBuildFailuresExceptionAnalyser.java:47)\r\n\tat org.gradle.initialization.StackTraceSanitizingExceptionAnalyser.transform(StackTraceSanitizingExceptionAnalyser.java:30)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:108)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.getBuildAnalysis(DefaultGradleLauncher.java:97)\r\n\tat org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.configure(InProcessBuildActionExecuter.java:84)\r\n\tat org.gradle.tooling.internal.provider.BuildModelAction.run(BuildModelAction.java:45)\r\n\tat org.gradle.tooling.internal.provider.BuildModelAction.run(BuildModelAction.java:30)\r\n\tat org.gradle.tooling.internal.provider.ConfiguringBuildAction.run(ConfiguringBuildAction.java:119)\r\n\tat org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)\r\n\tat org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)\r\n\tat org.gradle.launcher.daemon.server.exec.ExecuteBuild.doBuild(ExecuteBuild.java:47)\r\n\tat org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)\r\n\tat org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)\r\n\tat org.gradle.launcher.daemon.server.exec.WatchForDisconnection.execute(WatchForDisconnection.java:35)\r\n\tat org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)\r\n\tat org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger.execute(ResetDeprecationLogger.java:24)\r\n\tat org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)\r\n\tat org.gradle.launcher.daemon.server.exec.StartStopIfBuildAndStop.execute(StartStopIfBuildAndStop.java:33)\r\n\tat org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)\r\n\tat org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:71)\r\n\tat org.gradle.launcher.daemon.server.exec.ForwardClientInput$2.call(ForwardClientInput.java:69)\r\n\tat org.gradle.util.Swapper.swap(Swapper.java:38)\r\n\tat org.gradle.launcher.daemon.server.exec.ForwardClientInput.execute(ForwardClientInput.java:69)\r\n\tat org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)\r\n\tat org.gradle.launcher.daemon.server.exec.LogToClient.doBuild(LogToClient.java:60)\r\n\tat org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)\r\n\tat org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)\r\n\tat org.gradle.launcher.daemon.server.exec.EstablishBuildEnvironment.doBuild(EstablishBuildEnvironment.java:70)\r\n\tat org.gradle.launcher.daemon.server.exec.BuildCommandOnly.execute(BuildCommandOnly.java:34)\r\n\tat org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)\r\n\tat org.gradle.launcher.daemon.server.exec.DaemonHygieneAction.execute(DaemonHygieneAction.java:39)\r\n\tat org.gradle.launcher.daemon.server.exec.DaemonCommandExecution.proceed(DaemonCommandExecution.java:119)\r\n\tat org.gradle.launcher.daemon.server.exec.StartBuildOrRespondWithBusy$1.run(StartBuildOrRespondWithBusy.java:46)\r\n\tat org.gradle.launcher.daemon.server.DaemonStateCoordinator$1.run(DaemonStateCoordinator.java:246)\r\n\tat org.gradle.internal.concurrent.DefaultExecutorFactory$StoppableExecutorImpl$1.run(DefaultExecutorFactory.java:64)\r\nCaused by: org.gradle.api.GradleScriptException: A problem occurred evaluating root project 'dse-search'.\r\n\tat org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:54)\r\n\tat org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:148)\r\n\tat org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:39)\r\n\tat org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)\r\n\tat org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)\r\n\tat org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:59)\r\n\tat org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:504)\r\n\tat org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:83)\r\n\tat org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:42)\r\n\tat org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:129)\r\n\tat org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)\r\n\t... 32 more\r\nCaused by: org.gradle.api.UnknownProjectException: Project with path ':dse-core' could not be found in root project 'dse-search'.\r\n\tat org.gradle.api.internal.project.AbstractProject.project(AbstractProject.java:450)\r\n\tat org.gradle.api.internal.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:225)\r\n\tat org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:129)\r\n\tat org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:147)\r\n\tat org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:79)\r\n\tat build_dnxkfko8ruaoyz0woyi1k3ila$_run_closure1.doCall(/Users/sergio/Dev/Lab/datastax/dse-master/dse-search/build.gradle:4)\r\n\tat org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:63)\r\n\tat org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:130)\r\n\tat org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:91)\r\n\tat org.gradle.api.internal.project.AbstractProject.dependencies(AbstractProject.java:843)\r\n\tat org.gradle.api.internal.BeanDynamicObject$MetaClassAdapter.invokeMethod(BeanDynamicObject.java:225)\r\n\tat org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:129)\r\n\tat org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:147)\r\n\tat org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:79)\r\n\tat build_dnxkfko8ruaoyz0woyi1k3ila.run(/Users/sergio/Dev/Lab/datastax/dse-master/dse-search/build.gradle:3)\r\n\tat org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:52)\r\n\t... 43 more\r\n"},"comment":{"url":"https://api.github.com/repos/kelemen/netbeans-gradle-project/issues/comments/88107871","html_url":"https://github.com/kelemen/netbeans-gradle-project/issues/191#issuecomment-88107871","issue_url":"https://api.github.com/repos/kelemen/netbeans-gradle-project/issues/191","id":88107871,"user":{"login":"sbtourist","id":103671,"avatar_url":"https://avatars.githubusercontent.com/u/103671?v=3","gravatar_id":"","url":"https://api.github.com/users/sbtourist","html_url":"https://github.com/sbtourist","followers_url":"https://api.github.com/users/sbtourist/followers","following_url":"https://api.github.com/users/sbtourist/following{/other_user}","gists_url":"https://api.github.com/users/sbtourist/gists{/gist_id}","starred_url":"https://api.github.com/users/sbtourist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbtourist/subscriptions","organizations_url":"https://api.github.com/users/sbtourist/orgs","repos_url":"https://api.github.com/users/sbtourist/repos","events_url":"https://api.github.com/users/sbtourist/events{/privacy}","received_events_url":"https://api.github.com/users/sbtourist/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T14:24:37Z","updated_at":"2015-03-31T14:24:37Z","body":"But then why does it work on the command line? It even works on Idea 14.1.\nOn 31 Mar 2015 15:17, \"Attila Kelemen\" <notifications@github.com> wrote:\n\n> Given your stack trace, I would think that the error is in your build\n> script. That is, your build script throws an exception when evaluated:\n> /Users/sergio/Dev/Lab/datastax/dse-master/dse-search/build.gradle:4. If\n> you have specified the Gradle distribution to use explicitly (as you have\n> said), the Gradle wrapper is irrelevant.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/kelemen/netbeans-gradle-project/issues/191#issuecomment-88104329>\n> .\n>\n"}}