felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-484) Possible NPE in BundleRepository RequirementImpl
Date Wed, 27 Aug 2008 19:29:44 GMT

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

Felix Meschberger updated FELIX-484:

    Fix Version/s: bundlerepository-1.0.6

> Possible NPE in BundleRepository RequirementImpl
> ------------------------------------------------
>                 Key: FELIX-484
>                 URL: https://issues.apache.org/jira/browse/FELIX-484
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: felix-1.0.0
>            Reporter: Alin Dreghiciu
>            Assignee: Richard S. Hall
>             Fix For: bundlerepository-1.0.6
> In case of setting an invalid syntax requirement filter in RequirementImpl internal Filter
(m_filter) is set to null.
> This results in NPE as soon as getFilter, isSatisfied, equals or hashcode gets called.
> I think that an invalid syntax filter should re-throw org.osgi.framework.InvalidSyntaxException
and calling code should handle this case by skipping the resource + a warning or more dramatically
by failing the repository parsing.

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

View raw message