[ https://issues.apache.org/jira/browse/FELIX-157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard S. Hall closed FELIX-157. --------------------------------- > NullPointerException in isResourceUpdatable > ------------------------------------------- > > Key: FELIX-157 > URL: https://issues.apache.org/jira/browse/FELIX-157 > Project: Felix > Issue Type: Bug > Components: Bundle Repository (OBR) > Environment: Felix SVN Rev. 452367 > Reporter: Felix Meschberger > Assigned To: Richard S. Hall > Attachments: bundlerepository_fm_20061003.diff > > > The isResourceUpdatable() method may throw a NullPointerException in case the > bundle to be check whether it is updatable has no capabilities, that is > neiterh exported services nor exported packages. In this case the > getResolvableRequirements() method returns null, which is not caught by the > isResourceUpdatable() method. > I suppose that the resource is perfectly updatable in this situation and a > check may simply be built in, which just returns true in case the resource > has no capabilities at all. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.