bndtools/bndtools — Issue #306: NullPointerException in MavenRepository version parsing
Author: lindsayismith
Created: 2011-11-29 03:21:28+00:00
State: open

I have a MavenRepository plugin configured against my local maven repository.

When I try to add bundle to the project build path, the repository appears, and it has the artifact names listed. However none of the items have any sub-items with version numbers, and on the console for eclipse the following is repeatedly displayed:

java.lang.NullPointerException
at aQute.bnd.maven.MavenRepository.versions(MavenRepository.java:125)
at aQute.bnd.build.Project.getBundle(Project.java:958)
at aQute.bnd.build.Project.getBundles(Project.java:425)
at aQute.bnd.build.Project.parseBuildpath(Project.java:344)
at aQute.bnd.build.Project.prepare(Project.java:252)
at aQute.bnd.build.Project.getDependson(Project.java:661)

I can provide screenshots or any other supporting information if required.