Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Feature Model Analyser 1.3.26
-
None
Description
When the scanner is parsing artifacts it uses the ResourceBuilder from Felix but doesn't give it the url of the artifact. That makes it so that if the artifact can not be parsed (e.g. because it has invalid metadata) an exception is thrown that doesn't give any indication of the artifact that caused it.
Looks like this:
org.osgi.framework.BundleException: Unable to build resource for null: Duplicate import: foo
The scanner should pass the artifact url at [0] to the Resourcebuilder so that the exception contains the artifact id.