Question

When I execute

grails list-plugin-updates --stacktrace

I receive the following error:

| Environment set to development....
| Error Error executing script ListPluginUpdates: java.lang.NullPointerException: Cannot get property 'plugin' on null object (NOTE: Stack trace has been filtered. Use --verbose to see entire trace.)
java.lang.NullPointerException: Cannot get property 'plugin' on null object
at ListPluginUpdates$_run_closure1_closure5_closure6.doCall(ListPluginUpdates.groovy:28)
at ListPluginUpdates$_run_closure1_closure5_closure6.doCall(ListPluginUpdates.groovy)
at ListPluginUpdates$_run_closure1_closure5.doCall(ListPluginUpdates.groovy:27)
at ListPluginUpdates$_run_closure2_closure9.doCall(ListPluginUpdates.groovy:67)
at ListPluginUpdates$_run_closure2.doCall(ListPluginUpdates.groovy:66)
at ListPluginUpdates$_run_closure1.doCall(ListPluginUpdates.groovy:26)
at ListPluginUpdates$_run_closure1.doCall(ListPluginUpdates.groovy)
at ListPluginUpdates$_run_closure4.doCall(ListPluginUpdates.groovy:85)
at org.codehaus.gant.GantMetaClass.invokeMethod(GantMetaClass.java:133)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy:185)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16_closure18.doCall(GantBinding.groovy)
at org.codehaus.gant.GantBinding.withTargetEvent(GantBinding.groovy:90)
at org.codehaus.gant.GantBinding.this$4$withTargetEvent(GantBinding.groovy)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy:185)
at org.codehaus.gant.GantBinding$_initializeGantBinding_closure5_closure16.doCall(GantBinding.groovy)
at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
at gant.Gant.withBuildListeners(Gant.groovy:427)
at gant.Gant.this$2$withBuildListeners(Gant.groovy)
at gant.Gant$this$2$withBuildListeners$0.callCurrent(Unknown Source)
at gant.Gant.dispatch(Gant.groovy:415)
at gant.Gant.this$2$dispatch(Gant.groovy)
at gant.Gant.invokeMethod(Gant.groovy)
at gant.Gant.executeTargets(Gant.groovy:591)
at gant.Gant.executeTargets(Gant.groovy:590)
| Error Error executing script ListPluginUpdates: java.lang.NullPointerException: Cannot get property 'plugin' on null object

Can anyone tell me what I am doing wrong?

Was it helpful?

Solution

Facing this exact issue. You can vote for it up to prioritize.

There were similar issues raised as well for 2.3-M1 and 2.0-RC2 but they seem to be fixed. I think this popped up again for newer versions.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top