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/04/15 16:38:21 UTC

[jira] Created: (MNG-316) When specifying mergeConfiguration nullpointers

When specifying <configuration> mergeConfiguration nullpointers
---------------------------------------------------------------

         Key: MNG-316
         URL: http://jira.codehaus.org/browse/MNG-316
     Project: m2
        Type: Bug
  Components: maven-core  
    Versions: 2.0-alpha-2    
 Environment: any
    Reporter: Kenney Westerhof
     Fix For: 2.0-alpha-2
 Attachments: MNG-xxx-patch.gz

When defining a <configuration> section in build/plugins/plugin in the POM
for a plugin you want to use, m2 nullpointers. It got broken on 2005-04-15.

See http://rafb.net/paste/results/qFMXCJ39.html for the dump.

Somehow the default plugin configuration object is null, and is not
handled. This does not pose any problems except in Xpp3DomUtils.mergeIntoXpp3Dom.
A possible fix is to check for null there - don't know if this is
the right place to do this, but it solved this issue. See attached
fix. (don't know issue number yet, so I used xxx).

-- 
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
-
If you want more information on JIRA, or have a bug to report 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


[jira] Closed: (MNG-316) When specifying mergeConfiguration nullpointers

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-316?page=all ]
     
Brett Porter closed MNG-316:
----------------------------

    Resolution: Fixed

applied, thanks. Please follow the surrounding code style...

> When specifying <configuration> mergeConfiguration nullpointers
> ---------------------------------------------------------------
>
>          Key: MNG-316
>          URL: http://jira.codehaus.org/browse/MNG-316
>      Project: m2
>         Type: Bug
>   Components: maven-core
>     Versions: 2.0-alpha-2
>  Environment: any
>     Reporter: Kenney Westerhof
>     Assignee: Brett Porter
>      Fix For: 2.0-alpha-2
>  Attachments: MNG-xxx-patch.gz
>
> Original Estimate: 1 hour
>         Remaining: 1 hour
>
> When defining a <configuration> section in build/plugins/plugin in the POM
> for a plugin you want to use, m2 nullpointers. It got broken on 2005-04-15.
> See http://rafb.net/paste/results/qFMXCJ39.html for the dump.
> Somehow the default plugin configuration object is null, and is not
> handled. This does not pose any problems except in Xpp3DomUtils.mergeIntoXpp3Dom.
> A possible fix is to check for null there - don't know if this is
> the right place to do this, but it solved this issue. See attached
> fix. (don't know issue number yet, so I used xxx).

-- 
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