[
http://jira.codehaus.org/browse/MANTTASKS-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=227226#action_227226
]
Justin Wunderle commented on MANTTASKS-185:
-------------------------------------------
There is a simple workaround for those who don't want to wait for the patch to
make it into a release; just add {{versionsid="anything.you.want"}} to your
{{<dependencies>}} tag and it won't be null here.
> null pointer exception when caching dependency information
> -----------------------------------------------------------
>
> Key: MANTTASKS-185
> URL: http://jira.codehaus.org/browse/MANTTASKS-185
> Project: Maven 2.x Ant Tasks
> Issue Type: Bug
> Components: dependencies task
> Affects Versions: 2.1.0
> Reporter: Frank Wilson
> Attachments: maven-ant-task-trace-bug.txt, npe-patch-2.1.0.diff
>
>
> The dependencies task will throw a null pointer exception when caching
> dependencies. This is because antBuildWriter.writeProperty( versionsId,
> versionsList ); is being called with a null versionsList.
> Full stack trace and a patch are attached.
--
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