maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Wunderle (JIRA)" <>
Subject [jira] Commented: (MANTTASKS-185) null pointer exception when caching dependency information
Date Sun, 04 Jul 2010 19:43:32 GMT


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=""}} to your {{<dependencies>}} tag
and it won't be null here.

> null pointer exception when caching dependency information 
> -----------------------------------------------------------
>                 Key: MANTTASKS-185
>                 URL:
>             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:
For more information on JIRA, see:


View raw message