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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to