[ 
https://jira.codehaus.org/browse/MRM-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=345240#comment-345240
 ] 

Sascha Vogt commented on MRM-1833:
----------------------------------

PullRequest: https://github.com/apache/archiva/pull/1

> Nullpointer when browsing artifacts which have dependencies with scope 
> "import"
> -------------------------------------------------------------------------------
>
>                 Key: MRM-1833
>                 URL: https://jira.codehaus.org/browse/MRM-1833
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Sascha Vogt
>
> When browsing artifacts with dependencies with scope "import" the following 
> NPE occurs.
> Caused by: java.lang.NullPointerException
>         at 
> org.apache.archiva.metadata.repository.storage.maven2.RepositoryModelResolver.resolveModel(RepositoryModelResolver.java:129)
>  ~[maven2-repository-2.0.1.jar:?]
>         at 
> org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:813)
>  ~[maven-model-builder-3.0.5.jar:3.0.5]
> This seems to be caused by the RepositoryModelResolver.newCopy() method, 
> which uses the "small" constructor instead of the full constructor. 



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to