[
https://jira.codehaus.org/browse/MRM-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Olivier Lamy closed MRM-1833.
-----------------------------
Resolution: Fixed
Fix Version/s: 2.1.0
Assignee: Olivier Lamy
pr merged.
Thanks
> 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
> Assignee: Olivier Lamy
> Fix For: 2.1.0
>
>
> 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)