You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Daniel Kasmeroglu (JIRA)" <ji...@apache.org> on 2014/10/13 03:25:33 UTC

[jira] [Created] (TOMEE-1403) NPE in AetherBasedResolver if resolution of an artifact fails

Daniel Kasmeroglu created TOMEE-1403:
----------------------------------------

             Summary: NPE in AetherBasedResolver if resolution of an artifact fails
                 Key: TOMEE-1403
                 URL: https://issues.apache.org/jira/browse/TOMEE-1403
             Project: TomEE
          Issue Type: Improvement
    Affects Versions: 2.0.0
            Reporter: Daniel Kasmeroglu
            Priority: Minor
             Fix For: 2.0.0


When the maven repository fails to resolve the desired artifact it might return an _ArtifactResult_ without an _Artifact_. In this case the previous code will cause an NPE while returning the file. My change will generate an _IOException_ in that case.

See: 
https://kasisoft.com/stash/projects/TOMEE/repos/tomee/commits/6b9359360bd7cc5cef0adf385d3835e2cf64efaa



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)