[ https://issues.apache.org/jira/browse/FELIX-5057?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed FELIX-5057. ----------------------------------- > Race condition between getService and stopping the http service > --------------------------------------------------------------- > > Key: FELIX-5057 > URL: https://issues.apache.org/jira/browse/FELIX-5057 > Project: Felix > Issue Type: Bug > Components: HTTP Service > Affects Versions: http.base-3.0.0 > Reporter: Carsten Ziegeler > Assignee: Carsten Ziegeler > Fix For: http.base-3.0.2, http.jetty-3.1.2, http.bridge-3.0.2 > > > It might happen that getService() is called on the HttpServiceFactory while > stop() is called and the context is set to null. This results in an IAE. > We should first unregister the factory and then set the context to null. In > addition if the context is null, getService should just return null and not > throw -- This message was sent by Atlassian JIRA (v6.3.4#6332)