Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.1
-
None
-
None
Description
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.