You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Frank Wilson (JIRA)" <ji...@codehaus.org> on 2010/05/11 13:56:12 UTC
[jira] Created: (MANTTASKS-185) null pointer exception when caching
dependency information
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
[jira] Commented: (MANTTASKS-185) null pointer exception when
caching dependency information
Posted by "Justin Wunderle (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Closed: (MANTTASKS-185) null pointer exception when caching
dependency information
Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MANTTASKS-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy closed MANTTASKS-185.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.1.1
Assignee: Herve Boutemy
fixed in [r965614|http://svn.apache.org/viewvc?view=revision&revision=965614]
thanks for your help
> 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
> Assignee: Herve Boutemy
> Fix For: 2.1.1
>
> 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