{"action":"created","issue":{"url":"https://api.github.com/repos/stevesaliman/gradle-properties-plugin/issues/17","labels_url":"https://api.github.com/repos/stevesaliman/gradle-properties-plugin/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/stevesaliman/gradle-properties-plugin/issues/17/comments","events_url":"https://api.github.com/repos/stevesaliman/gradle-properties-plugin/issues/17/events","html_url":"https://github.com/stevesaliman/gradle-properties-plugin/issues/17","id":51814795,"number":17,"title":"NullpointerException when using \"com.moowork.node\" plugin.","user":{"login":"asaarnak","id":808420,"avatar_url":"https://avatars.githubusercontent.com/u/808420?v=3","gravatar_id":"","url":"https://api.github.com/users/asaarnak","html_url":"https://github.com/asaarnak","followers_url":"https://api.github.com/users/asaarnak/followers","following_url":"https://api.github.com/users/asaarnak/following{/other_user}","gists_url":"https://api.github.com/users/asaarnak/gists{/gist_id}","starred_url":"https://api.github.com/users/asaarnak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asaarnak/subscriptions","organizations_url":"https://api.github.com/users/asaarnak/orgs","repos_url":"https://api.github.com/users/asaarnak/repos","events_url":"https://api.github.com/users/asaarnak/events{/privacy}","received_events_url":"https://api.github.com/users/asaarnak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-12-12T15:02:33Z","updated_at":"2015-01-03T11:01:57Z","closed_at":"2015-01-03T11:01:57Z","body":"1. build.gladle\r\n```gradle\r\nplugins {\r\n  id \"com.moowork.node\" version \"0.8\"\r\n  id 'net.saliman.properties' version '1.4.2'\r\n}\r\n```\r\n2.Gives me stacktrace when running ```gradle```\r\n3.Stacktrace\r\n<pre>\r\nc:\\A\\PROJECTS\\timetracker\\timetracker-front>gradle --stacktrace\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* Where:\r\nBuild file 'C:\\A\\PROJECTS\\timetracker\\timetracker-front\\build.gradle' line: 3\r\n\r\n* What went wrong:\r\nAn exception occurred applying plugin request [id: 'net.saliman.properties', version: '1.4.2']\r\n> Cannot set property 'requiredProperty' on null object\r\n\r\n* Try:\r\nRun with --info or --debug option to get more log output.\r\n\r\n* Exception is:\r\norg.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'net.saliman.properties', version: '1.4.2']\r\n        at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugin(DefaultPluginRequestApplicator.java:168)\r\n        at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugins(DefaultPluginRequestApplicator.java:124)\r\n        at org.gradle.configuration.DefaultScriptPluginFactory$ScriptPluginImpl.apply(DefaultScriptPluginFactory.java:131)\r\n        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:39)\r\n        at org.gradle.configuration.project.BuildScriptProcessor.execute(BuildScriptProcessor.java:26)\r\n        at org.gradle.configuration.project.ConfigureActionsProjectEvaluator.evaluate(ConfigureActionsProjectEvaluator.java:34)\r\n        at org.gradle.configuration.project.LifecycleProjectEvaluator.evaluate(LifecycleProjectEvaluator.java:59)\r\n        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:504)\r\n        at org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:83)\r\n        at org.gradle.execution.TaskPathProjectEvaluator.configureHierarchy(TaskPathProjectEvaluator.java:42)\r\n        at org.gradle.configuration.DefaultBuildConfigurer.configure(DefaultBuildConfigurer.java:35)\r\n        at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:129)\r\n        at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)\r\n        at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)\r\n        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)\r\n        at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)\r\n        at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)\r\n        at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)\r\n        at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)\r\n        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)\r\n        at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)\r\n        at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)\r\n        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)\r\n        at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)\r\n        at org.gradle.launcher.Main.doAction(Main.java:33)\r\n        at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)\r\n        at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54)\r\n        at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)\r\n        at org.gradle.launcher.GradleMain.main(GradleMain.java:23)\r\nCaused by: java.lang.NullPointerException: Cannot set property 'requiredProperty' on null object\r\n        at net.saliman.gradle.plugin.properties.PropertiesPlugin$_registerTaskListener_closure6.doCall(PropertiesPlugin.groovy:355)\r\n        at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:63)\r\n        at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:130)\r\n        at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:110)\r\n        at org.gradle.api.internal.AbstractTask.configure(AbstractTask.java:482)\r\n        at org.gradle.api.internal.AbstractTask.configure(AbstractTask.java:58)\r\n        at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:55)\r\n        at org.gradle.api.internal.DefaultDomainObjectCollection.all(DefaultDomainObjectCollection.java:110)\r\n        at org.gradle.api.internal.DefaultDomainObjectCollection.all(DefaultDomainObjectCollection.java:115)\r\n        at org.gradle.api.DomainObjectCollection$all.call(Unknown Source)\r\n        at net.saliman.gradle.plugin.properties.PropertiesPlugin.registerTaskListener(PropertiesPlugin.groovy:352)\r\n        at net.saliman.gradle.plugin.properties.PropertiesPlugin.this$2$registerTaskListener(PropertiesPlugin.groovy)\r\n        at net.saliman.gradle.plugin.properties.PropertiesPlugin$this$2$registerTaskListener$4.callCurrent(Unknown Source)\r\n        at net.saliman.gradle.plugin.properties.PropertiesPlugin.apply(PropertiesPlugin.groovy:139)\r\n        at net.saliman.gradle.plugin.properties.PropertiesPlugin.apply(PropertiesPlugin.groovy)\r\n        at org.gradle.api.internal.plugins.DefaultPluginContainer.providePlugin(DefaultPluginContainer.java:188)\r\n        at org.gradle.api.internal.plugins.DefaultPluginContainer.addPluginInternal(DefaultPluginContainer.java:137)\r\n        at org.gradle.api.internal.plugins.DefaultPluginContainer.apply(DefaultPluginContainer.java:103)\r\n        at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator$4.run(DefaultPluginRequestApplicator.java:126)\r\n        at org.gradle.plugin.use.internal.DefaultPluginRequestApplicator.applyPlugin(DefaultPluginRequestApplicator.java:156)\r\n        ... 33 more\r\n\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 3.791 secs\r\n\r\n</pre>\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/stevesaliman/gradle-properties-plugin/issues/comments/68591125","html_url":"https://github.com/stevesaliman/gradle-properties-plugin/issues/17#issuecomment-68591125","issue_url":"https://api.github.com/repos/stevesaliman/gradle-properties-plugin/issues/17","id":68591125,"user":{"login":"asaarnak","id":808420,"avatar_url":"https://avatars.githubusercontent.com/u/808420?v=3","gravatar_id":"","url":"https://api.github.com/users/asaarnak","html_url":"https://github.com/asaarnak","followers_url":"https://api.github.com/users/asaarnak/followers","following_url":"https://api.github.com/users/asaarnak/following{/other_user}","gists_url":"https://api.github.com/users/asaarnak/gists{/gist_id}","starred_url":"https://api.github.com/users/asaarnak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asaarnak/subscriptions","organizations_url":"https://api.github.com/users/asaarnak/orgs","repos_url":"https://api.github.com/users/asaarnak/repos","events_url":"https://api.github.com/users/asaarnak/events{/privacy}","received_events_url":"https://api.github.com/users/asaarnak/received_events","type":"User","site_admin":false},"created_at":"2015-01-03T11:01:57Z","updated_at":"2015-01-03T11:01:57Z","body":"Thanks, i have subscribed to the new issue."}}