felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Victor Antonovich (JIRA)" <j...@apache.org>
Subject [jira] Created: (FELIX-2635) PluginHolder.setServletContext() must nullify servlet context after plugins destroying
Date Wed, 29 Sep 2010 13:27:32 GMT
PluginHolder.setServletContext() must nullify servlet context after plugins destroying 
---------------------------------------------------------------------------------------

                 Key: FELIX-2635
                 URL: https://issues.apache.org/jira/browse/FELIX-2635
             Project: Felix
          Issue Type: Bug
          Components: Web Console
    Affects Versions: webconsole-3.1.4
            Reporter: Victor Antonovich


Java Servlet Specification Version 2.5, SRV.15.2.12.1 says: "All servlets and filters have
been destroy()ed before any ServletContextListeners are notified of context destruction".
But current PluginHolder.setServletContext() implementation calls destroy() method of plugins
after destroying (nullifying) of ServletContext. This causes NPE in plugins trying to access
to ServletContext in their destroy() methods.

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