You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benson Margulies (JIRA)" <ji...@codehaus.org> on 2011/07/02 19:23:42 UTC
[jira] Closed: (MSHADE-101) ApacheNoticeResourceTransformer
NullPointerException for some licenses when no parameters set.
[ https://jira.codehaus.org/browse/MSHADE-101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benson Margulies closed MSHADE-101.
-----------------------------------
Resolution: Fixed
r1142204 | bimargulies | 2011-07-02 07:29:03 -0400 (Sat, 02 Jul 2011) | 3 lines
[MSHADE-101] ApacheNoticeResourceTransformer NullPointerException for some licenses when no parameters set.
Submitted by: Robert Robert Burrell Donkin
> ApacheNoticeResourceTransformer NullPointerException for some licenses when no parameters set.
> ----------------------------------------------------------------------------------------------
>
> Key: MSHADE-101
> URL: https://jira.codehaus.org/browse/MSHADE-101
> Project: Maven 2.x Shade Plugin
> Issue Type: Bug
> Affects Versions: 1.4
> Reporter: Robert Burrell Donkin
> Assignee: Benson Margulies
> Fix For: 1.5
>
> Attachments: ApacheNoticeResourceTransformer-NullPointerException.patch
>
>
> For some dependencies, ApacheNoticeResourceTransformer throws a NullPointerException when no parameters are set.
> Included in the patch are
> * an integration test case which demonstrates the problem,
> * a unit test case (including tests around this problem) and
> * my proposed (narrow) fix for ApacheNoticeResourceTransformer.
> ATM no parameter is mandatory. This may indicate an intention to support a basic use case without parameters. So this patch opts for a reasonable default.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira