>>>>> Steinar Bang <[email protected]>: > I've added the VMOptions to the startup but I still get the same stack > trace, ie. a NullPointerException thrown from here: > public class FrameworkExtensionInstaller { > ... > void addExtensionContent0(Collection<ModuleRevision> revisions, Module > systemModule) throws BundleException { > if (CL == null || ADD_FWK_URL_METHOD == null) { > // use the first revision as the blame > ModuleRevision revision = revisions.isEmpty() ? null : > revisions.iterator().next(); > ==> throw new BundleException("Cannot support framework > extension bundles without a public addURL(URL) method on the framework class > loader: " + revision.getBundle()); //$NON-NLS-1$ > }
> The exception happens in the throw, and the only thing I can see causing > the NPE, is that revisions isn't empty, but contains at least one null > element. Er no... the collection revision is empty so revision becomes null and fails in revision.getBundle() in the throw. I made the following JIRA for the problem: https://ops4j1.jira.com/browse/PAXEXAM-927 -- -- ------------------ OPS4J - http://www.ops4j.org - [email protected] --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/86k1e4jaa0.fsf%40dod.no. For more options, visit https://groups.google.com/d/optout.
