NPE while setting attribute on ServletContext
---------------------------------------------

                 Key: FELIX-1872
                 URL: https://issues.apache.org/jira/browse/FELIX-1872
             Project: Felix
          Issue Type: Bug
          Components: HTTP Service
    Affects Versions: http-2.0.2
            Reporter: Sten Roger Sandvik
            Assignee: Sten Roger Sandvik
             Fix For: http-2.0.4


NPE inside ServletContextImpl.setAttribute(..) when setting with null key 
and/or null value. Should be failsafe.

java.lang.NullPointerException
        at 
java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881)
        at 
org.apache.felix.http.base.internal.context.ServletContextImpl.setAttribute(ServletContextImpl.java:152)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to