Did you do a full bootstrap? This is a new test I added, and there is a
chance it could be using old data.
- Brett
julien.kirch@bnpparibas.com wrote:
>Howdy
>
>I just grabbed maven from cvs (head view), and when building I got a
>
>[junit] [ERROR] TEST org.apache.maven.plugin.PluginManagerTest FAILED
>
>here the test log :
>
>Testsuite: org.apache.maven.plugin.PluginManagerTest
>Tests run: 7, Failures: 0, Errors: 1, Time elapsed: 9,281 sec
>
>------------- Standard Output ---------------
>Plugin cache will be regenerated
>------------- ---------------- ---------------
>Testcase: testPluginPropertySubstitution(org.apache.maven.plugin.PluginManagerTest):
Caused an ERROR
>Error initialising plugin context
>org.apache.maven.MavenException: Error initialising plugin context
> at org.apache.maven.plugin.PluginManager.getPluginContext(PluginManager.java:906)
> at org.apache.maven.plugin.PluginManagerTest.testPluginPropertySubstitution(PluginManagerTest.java:259)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>--- Nested Exception ---
>org.apache.commons.jelly.JellyTagException: C:\MAVEN_~1\maven\src\test\java\org\apache\maven\plugin\maven.home\plugins\jar\plugin.jelly:28:19:
><project> java.lang.NullPointerException
> at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:637)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:242)
> at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:1018)
> at org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext(PluginManager.java:719)
> at org.apache.maven.plugin.PluginManager.getPluginContext(PluginManager.java:903)
> at org.apache.maven.plugin.PluginManagerTest.testPluginPropertySubstitution(PluginManagerTest.java:259)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>Caused by: java.lang.NullPointerException
> at org.apache.commons.jelly.tags.ant.AntTagLibrary.createProject(AntTagLibrary.java:137)
> at org.apache.commons.jelly.tags.ant.AntTagLibrary.getProject(AntTagLibrary.java:103)
> at com.werken.werkz.jelly.ProjectTag.doTag(ProjectTag.java:107)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:233)
> ... 18 more
>Root cause
>java.lang.NullPointerException
> at org.apache.commons.jelly.tags.ant.AntTagLibrary.createProject(AntTagLibrary.java:137)
> at org.apache.commons.jelly.tags.ant.AntTagLibrary.getProject(AntTagLibrary.java:103)
> at com.werken.werkz.jelly.ProjectTag.doTag(ProjectTag.java:107)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:233)
> at org.apache.maven.plugin.PluginManager.runScript(PluginManager.java:1018)
> at org.apache.maven.plugin.PluginManager.initialiseHousingPluginContext(PluginManager.java:719)
> at org.apache.maven.plugin.PluginManager.getPluginContext(PluginManager.java:903)
> at org.apache.maven.plugin.PluginManagerTest.testPluginPropertySubstitution(PluginManagerTest.java:259)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
>
>is it "normal" ? should I open an issue ?
>
>Julien
>
>
>
>
>
>This message and any attachments (the "message") is
>intended solely for the addressees and is confidential.
>If you receive this message in error, please delete it and
>immediately notify the sender. Any use not in accord with
>its purpose, any dissemination or disclosure, either whole
>or partial, is prohibited except formal approval. The internet
>can not guarantee the integrity of this message.
>BNP PARIBAS (and its subsidiaries) shall (will) not
>therefore be liable for the message if modified.
>
> ---------------------------------------------
>
>Ce message et toutes les pieces jointes (ci-apres le
>"message") sont etablis a l'intention exclusive de ses
>destinataires et sont confidentiels. Si vous recevez ce
>message par erreur, merci de le detruire et d'en avertir
>immediatement l'expediteur. Toute utilisation de ce
>message non conforme a sa destination, toute diffusion
>ou toute publication, totale ou partielle, est interdite, sauf
>autorisation expresse. L'internet ne permettant pas
>d'assurer l'integrite de ce message, BNP PARIBAS (et ses
>filiales) decline(nt) toute responsabilite au titre de ce
>message, dans l'hypothese ou il aurait ete modifie.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>For additional commands, e-mail: dev-help@maven.apache.org
>
>.
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
|