NPE when registering a web element (e.g. servlet) with a default http context (http context == null) ----------------------------------------------------------------------------------------------------
Key: PAXWEB-87 URL: http://issues.ops4j.org/jira/browse/PAXWEB-87 Project: Pax Web Issue Type: Bug Components: HttpService Reporter: Alin Dreghiciu Assignee: Alin Dreghiciu Pax Web Extender 0.4.0 introduced an NPE bug when registering a servlet with a default http context (hhtp context == null) (or any other web element that uses http context). Something like: Caused by: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:157) at java.util.concurrent.ConcurrentHashMap.putIfAbsent(ConcurrentHashMap.java:872) at org.ops4j.pax.web.service.internal.model.ServerModel.associateHttpContext(ServerModel.java:232) at org.ops4j.pax.web.service.internal.HttpServiceStarted.getOrCreateContext(HttpServiceStarted.java:596) at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerServlet(HttpServiceStarted.java:126) at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerServlet(HttpServiceProxy.java:53) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.ops4j.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general