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

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Tue Jul 26 06:14:23 EDT 2011


     [ https://issues.jboss.org/browse/JBOSGI-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler updated JBOSGI-480:
----------------------------------

    Component/s: Core Framework


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

        


More information about the jboss-osgi-issues mailing list