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

Thomas Diesler (JIRA) jira-events at lists.jboss.org
Wed Jan 25 10:45:50 EST 2012


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

Thomas Diesler resolved JBOSGI-480.
-----------------------------------

    Fix Version/s:     (was: JBossOSGi 1.0.1)
       Resolution: Duplicate Issue


Duplicates JBOSGI-490
                
> 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
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-osgi-issues mailing list