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

Jamie goodyear closed KARAF-722.
--------------------------------

    
> throw more meaningful exception but not NPE when the BUNDLE_SYMBOLICNAME is 
> null
> --------------------------------------------------------------------------------
>
>                 Key: KARAF-722
>                 URL: https://issues.apache.org/jira/browse/KARAF-722
>             Project: Karaf
>          Issue Type: Improvement
>    Affects Versions: 2.2.2
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 2.2.3
>
>
> when install feature, if the feature contain some jar isn't the OSGi 
> friendly,  which means it not has Bundle-SymbolicName OSGi header, then the 
> blow code
>       {code}
>            String sn = 
> m.getMainAttributes().getValue(Constants.BUNDLE_SYMBOLICNAME);
>            int attributeIndexSep = sn.indexOf(';');
>       {code}
> we should add a check for sn and throw more meaningful exception if it's NULL 
> but not just the NPE

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to