felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (FELIX-484) Possible NPE in BundleRepository RequirementImpl
Date Mon, 11 Feb 2008 16:46:08 GMT

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

Stuart McCulloch reassigned FELIX-484:

    Assignee: Stuart McCulloch

> 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: 1.0.0
>            Reporter: Alin Dreghiciu
>            Assignee: Stuart McCulloch
> 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