You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/05/24 08:15:58 UTC

[jira] Closed: (MAVEN-1580) NullpointerException when tag missing in dependency

     [ http://jira.codehaus.org/browse/MAVEN-1580?page=all ]
     
Brett Porter closed MAVEN-1580:
-------------------------------

    Resolution: Fixed

> NullpointerException when <version> tag missing in dependency
> -------------------------------------------------------------
>
>          Key: MAVEN-1580
>          URL: http://jira.codehaus.org/browse/MAVEN-1580
>      Project: maven
>         Type: Bug
>   Components: model
>     Versions: 1.1-beta-1
>  Environment: Any (Linux, JDK 1.4.2)
>     Reporter: Kenney Westerhof
>      Fix For: 1.1-beta-1

>
> Original Estimate: 1 hour
>         Remaining: 1 hour
>
> When the version tag is missing from a dependency (typically when you
> use maven.jar.override, for example for tools.jar),
> maven nullpointers on AbstractArtifact.isSnapshot() due to
> getDependency().getVersion().indexOf(...) (getVersion() -> null)
> This seems to be a bug in maven-model-3.0.0-SNAPSHOT.jar,
> in org.apache.maven.project.Dependency.getVersion().
> (I can't find the location of the maven-model source.. so no patch :))

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