[
https://issues.apache.org/jira/browse/TOMEE-1403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17155946#comment-17155946
]
David Salter commented on TOMEE-1403:
-------------------------------------
This class is no longer in the TomEE code base so closing this issue as no
longer required.
> 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: 7.0.0
> Reporter: Daniel Kasmeroglu
> Priority: Minor
> Attachments: tomee-1403.patch
>
>
> 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
(v8.3.4#803005)