]
Thomas Diesler updated JBOSGI-480:
----------------------------------
Assignee: Thomas Diesler (was: David Bosschaert)
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)
Components: Core Framework
Reporter: David Bosschaert
Assignee: Thomas Diesler
Fix For: Core Framework 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: