]
Thomas Diesler updated JBOSGI-480:
----------------------------------
Fix Version/s: JBossOSGi 1.0.1
(was: Approved but Unscheduled)
Resolver Exception sometimes gets hidden by a subsequent NPE
------------------------------------------------------------
Key: JBOSGI-480
URL:
https://issues.jboss.org/browse/JBOSGI-480
Project: JBoss OSGi
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: David Bosschaert
Assignee: David Bosschaert
Fix For: JBossOSGi 1.0.1
In some cases a resolver exception gets shadowed by a NPE that happens during the
processing of the resolver exception, this means that the end user has no way of knowing
why the resolution failed, he only sees the NPE.
The offending code can be found in the FelixResolver class, line 117:
XResolverException resex = new XResolverException(msg, exmod.getModule(), exreq);
In some cases exmod is null which means that an NPE gets thrown and the resolution
exception is lost.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: