2014-05-10 3 views
0

Lorsque j'exécuteGrails 2.4.0.RC1: NullPointer lors de l'exécution des mises à jour-plugin-liste

grails list-plugin-updates --stacktrace 

Je reçois l'erreur suivante:

| 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 

Quelqu'un peut-il me dire ce que je fais mal ?

Répondre

3

Face à this exact issue. Vous pouvez voter pour la hiérarchiser.

Des problèmes similaires ont également été soulevés pour 2.3-M1 et 2.0-RC2, mais ils semblent être corrigés. Je pense que cela a réapparu pour les versions plus récentes.

Questions connexes