[jboss-osgi-issues] [JBoss JIRA] Created: (JBOSGI-480) Resolver Exception sometimes gets hidden by a subsequent NPE

David Bosschaert (JIRA) jira-events at lists.jboss.org
Fri Jul 15 10:48:24 EDT 2011


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


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: http://www.atlassian.com/software/jira

        


More information about the jboss-osgi-issues mailing list