FrameworkExtensionInstaller.addExtensionContent0 throws NullPointerException when attempting to throw a BundleException

Description

If BundleExtensionInstaller.addExtensionContent0 fails and has an empty revision list then it will get a NullPointerException when throwing the BundleException, because revision.getBundle() will fail:

The stack trace, is:

Environment

JDK11 specific

Activity

Show:
Freeman Fang
June 7, 2019, 8:53 PM

discussion is here
https://groups.google.com/forum/#!msg/ops4j/Xg08A3p5EgU/LLrxWujeBAAJ

Assignee

Freeman Fang

Reporter

Steinar Bang

Labels

None

Priority

Major
Configure