Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 68206 invoked from network); 29 Sep 2010 13:27:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Sep 2010 13:27:58 -0000 Received: (qmail 44141 invoked by uid 500); 29 Sep 2010 13:27:58 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 43788 invoked by uid 500); 29 Sep 2010 13:27:55 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 43777 invoked by uid 99); 29 Sep 2010 13:27:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Sep 2010 13:27:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Sep 2010 13:27:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8TDRW4N018771 for ; Wed, 29 Sep 2010 13:27:32 GMT Message-ID: <106092.461861285766852537.JavaMail.jira@thor> Date: Wed, 29 Sep 2010 09:27:32 -0400 (EDT) From: "Victor Antonovich (JIRA)" To: dev@felix.apache.org Subject: [jira] Created: (FELIX-2635) PluginHolder.setServletContext() must nullify servlet context after plugins destroying MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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.