You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Kenney Westerhof (JIRA)" <ji...@codehaus.org> on 2005/09/18 20:19:10 UTC

[jira] Commented: (MNG-910) Plugin descriptor in pom.xml causes NPE when DefaultPluginManager populates the plugin's fields.

    [ http://jira.codehaus.org/browse/MNG-910?page=comments#action_46618 ] 

Kenney Westerhof commented on MNG-910:
--------------------------------------

Which version of the xdoclet plugin did you use?

> Plugin descriptor in pom.xml causes NPE when DefaultPluginManager populates the plugin's fields.
> ------------------------------------------------------------------------------------------------
>
>          Key: MNG-910
>          URL: http://jira.codehaus.org/browse/MNG-910
>      Project: Maven 2
>         Type: Bug
>   Components: maven-plugin-api
>     Versions: 2.0-beta-1
>  Environment: Gentoo Linux, jdk 1.4.2_06
>     Reporter: Corridor Software Developer
>  Attachments: TestcaseNPE.txt, testCase.tar.gz
>
>
> The attached pom.xml reliably causes an NullPointerException (stacktrace also attached) by attempting to describe the use of the xdoclet plugin. Issue occurs even with little or no configuration in the actual plugin.
> End of Stacktrace:
> java.lang.NullPointerException
>         at org.codehaus.plexus.component.configurator.converters.ComponentValueSetter.<init>(ComponentValueSetter.java:65)
>         at org.codehaus.plexus.component.configurator.converters.composite.ObjectWithFieldsConverter.processConfiguration(ObjectWithFieldsConverter.java:112)
>         at org.codehaus.plexus.component.configurator.OverrideComponentConfigurator.configureComponent(OverrideComponentConfigurator.java:41)
>         at org.apache.maven.plugin.DefaultPluginManager.populatePluginFields(DefaultPluginManager.java:1014)
>         at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:515)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:330)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org