You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Sten Roger Sandvik (JIRA)" <ji...@apache.org> on 2009/11/16 23:03:39 UTC

[jira] Created: (FELIX-1872) NPE while setting attribute on ServletContext

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.


[jira] Closed: (FELIX-1872) NPE while setting attribute on ServletContext

Posted by "Sten Roger Sandvik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-1872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sten Roger Sandvik closed FELIX-1872.
-------------------------------------

    Resolution: Fixed

> 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.