You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/02/23 09:55:27 UTC

[jira] Resolved: (FELIX-2122) Possible NullPointerException reporting failure to instantiate a plugin

     [ https://issues.apache.org/jira/browse/FELIX-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-2122.
--------------------------------------

    Resolution: Fixed

Fixed in Rev. 915246 by catching the null case and providing a reasonable reason message

> Possible NullPointerException reporting failure to instantiate a plugin
> -----------------------------------------------------------------------
>
>                 Key: FELIX-2122
>                 URL: https://issues.apache.org/jira/browse/FELIX-2122
>             Project: Felix
>          Issue Type: Bug
>          Components: Web Console
>    Affects Versions: webconsole-2.0.6
>            Reporter: Nils Hartmann
>            Assignee: Felix Meschberger
>             Fix For: webconsole-3.0.0
>
>
> From [1]:
> In the catch-block you've added to OsgiManager in revision #898253, the line
> if ( message.indexOf( ' ' ) < 0 )
> can cause a NullPointerException as NoClassDefFoundError.getMessage() is allowed to return null according to the method's javadoc. (I'm running into this while installing the webconsole in Eclipse Equinox 3.3.2 with jdk1.5 on windows).
> Can you fix this? Thank you very much! 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.