You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2014/06/17 14:56:01 UTC

[jira] [Commented] (ARIES-1214) NPE in subsystem-core

    [ https://issues.apache.org/jira/browse/ARIES-1214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14033749#comment-14033749 ] 

David Bosschaert commented on ARIES-1214:
-----------------------------------------

I implemented a possible fix (with unit test) in http://svn.apache.org/viewvc?view=revision&revision=1602905

It would be great if someone could review/double check that this is ok.

> NPE in subsystem-core
> ---------------------
>
>                 Key: ARIES-1214
>                 URL: https://issues.apache.org/jira/browse/ARIES-1214
>             Project: Aries
>          Issue Type: Bug
>          Components: Subsystem
>    Affects Versions: 1.0
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>             Fix For: subsystem-1.0.1
>
>
> When using Subsystems with OBR (via the OSGi Repository API) I'm running into a NPE in org/apache/aries/subsystem/core/internal/BundleRevisionResource.java
> The problem is that computeServiceCapabilities() returns null which is then fed into Collections.unmodifiableList() in the getCapabilities() method.



--
This message was sent by Atlassian JIRA
(v6.2#6252)