{"action":"created","issue":{"url":"https://api.github.com/repos/tkruse/gradle-groovysh-plugin/issues/12","labels_url":"https://api.github.com/repos/tkruse/gradle-groovysh-plugin/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/tkruse/gradle-groovysh-plugin/issues/12/comments","events_url":"https://api.github.com/repos/tkruse/gradle-groovysh-plugin/issues/12/events","html_url":"https://github.com/tkruse/gradle-groovysh-plugin/issues/12","id":128060884,"number":12,"title":"'gradle projects' exception","user":{"login":"codepython","id":11622076,"avatar_url":"https://avatars.githubusercontent.com/u/11622076?v=3","gravatar_id":"","url":"https://api.github.com/users/codepython","html_url":"https://github.com/codepython","followers_url":"https://api.github.com/users/codepython/followers","following_url":"https://api.github.com/users/codepython/following{/other_user}","gists_url":"https://api.github.com/users/codepython/gists{/gist_id}","starred_url":"https://api.github.com/users/codepython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codepython/subscriptions","organizations_url":"https://api.github.com/users/codepython/orgs","repos_url":"https://api.github.com/users/codepython/repos","events_url":"https://api.github.com/users/codepython/events{/privacy}","received_events_url":"https://api.github.com/users/codepython/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-22T01:28:18Z","updated_at":"2016-01-23T08:37:29Z","closed_at":null,"body":"gradle projects --stacktrace\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\njava.lang.NullPointerException (no error message)\r\n\r\n* Try:\r\nRun with --info or --debug option to get more log output.\r\n\r\n* Exception is:\r\njava.lang.NullPointerException\r\n\tat org.gradle.api.internal.tasks.DefaultTaskDependency.add(DefaultTaskDependency.java:114)\r\n\tat org.gradle.api.internal.AbstractTask$11.run(AbstractTask.java:323)\r\n\tat org.gradle.api.internal.tasks.TaskMutator.mutate(TaskMutator.java:37)\r\n\tat org.gradle.api.internal.AbstractTask.dependsOn(AbstractTask.java:321)\r\n\r\nIn addition , my gradle version is 2.10 "},"comment":{"url":"https://api.github.com/repos/tkruse/gradle-groovysh-plugin/issues/comments/174161088","html_url":"https://github.com/tkruse/gradle-groovysh-plugin/issues/12#issuecomment-174161088","issue_url":"https://api.github.com/repos/tkruse/gradle-groovysh-plugin/issues/12","id":174161088,"user":{"login":"tkruse","id":1525116,"avatar_url":"https://avatars.githubusercontent.com/u/1525116?v=3","gravatar_id":"","url":"https://api.github.com/users/tkruse","html_url":"https://github.com/tkruse","followers_url":"https://api.github.com/users/tkruse/followers","following_url":"https://api.github.com/users/tkruse/following{/other_user}","gists_url":"https://api.github.com/users/tkruse/gists{/gist_id}","starred_url":"https://api.github.com/users/tkruse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkruse/subscriptions","organizations_url":"https://api.github.com/users/tkruse/orgs","repos_url":"https://api.github.com/users/tkruse/repos","events_url":"https://api.github.com/users/tkruse/events{/privacy}","received_events_url":"https://api.github.com/users/tkruse/received_events","type":"User","site_admin":false},"created_at":"2016-01-23T08:37:29Z","updated_at":"2016-01-23T08:37:29Z","body":"Hi,\r\nI am still trying to understand how you reproduce the error. Are you doing this:\r\n```\r\ngit clone https://github.com/tkruse/gradle-groovysh-plugin\r\ncd gradle-groovysh-plugin/\r\ngradle projects --stacktrace\r\n```\r\n\r\nThe above works for me, but I am not sure if that is what you did.\r\n\r\nOr are you trying this:\r\n\r\n```\r\nmkdir myproject\r\ncd myproject\r\ngit clone https://github.com/tkruse/gradle-groovysh-plugin buildSrc\r\ngradle projects --stacktrace\r\n```\r\n\r\nThis also does not work for me, with another exception than yours, I can check that.\r\n\r\nWhen you use gradlew, do you still use gradle 2.10? (It depends on the gradle version used to create gradlew)."}}