felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sten Roger Sandvik (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-1872) NPE while setting attribute on ServletContext
Date Mon, 16 Nov 2009 22:03:39 GMT
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.


Mime
View raw message