Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 21627 invoked from network); 24 Oct 2008 00:24:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Oct 2008 00:24:06 -0000 Received: (qmail 3164 invoked by uid 500); 24 Oct 2008 00:24:07 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 3113 invoked by uid 500); 24 Oct 2008 00:24:07 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 3101 invoked by uid 99); 24 Oct 2008 00:24:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Oct 2008 17:24:07 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Oct 2008 00:23:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 49A90234C236 for ; Thu, 23 Oct 2008 17:23:44 -0700 (PDT) Message-ID: <505104639.1224807824300.JavaMail.jira@brutus> Date: Thu, 23 Oct 2008 17:23:44 -0700 (PDT) From: "Jay D. McHugh (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-3815) ContextManager.getCurrentContext() throws NullPointerException In-Reply-To: <13220575.1202244788514.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jay D. McHugh updated GERONIMO-3815: ------------------------------------ Fix Version/s: (was: 2.0.3) 2.0.4 > ContextManager.getCurrentContext() throws NullPointerException > -------------------------------------------------------------- > > Key: GERONIMO-3815 > URL: https://issues.apache.org/jira/browse/GERONIMO-3815 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: security > Affects Versions: 2.0.2, 2.1 > Reporter: Vamsavardhana Reddy > Fix For: 2.0.4, 2.1.4, 2.2 > > Attachments: GERONIMO-3815-2.debug.patch, GERONIMO-3815-3.debug.patch, GERONIMO-3815.debug.patch > > > ContextManager.getCurrentContext() is throwing a NullPointerException. This is observed only when there is heavy load on the application. Most likely it is a threading issue where one thread is unregistering the subject while another is executing getCurrentContext(). Excerpt from stacktrace given below. > .... > Caused by: java.lang.NullPointerException > at org.apache.geronimo.security.ContextManager.getCurrentContext(ContextManager.java:197) > at org.apache.geronimo.openejb.GeronimoSecurityService.isCallerAuthorized(GeronimoSecurityService.java:101) > at org.apache.openejb.core.stateless.StatelessContainer.invoke(StatelessContainer.java:142) > at org.apache.openejb.core.ivm.EjbHomeProxyHandler.create(EjbHomeProxyHandler.java:267) > at org.apache.openejb.core.ivm.EjbHomeProxyHandler._invoke(EjbHomeProxyHandler.java:158) > at org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:321) > at org.apache.openejb.util.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:49) > at $Proxy16.create(Unknown Source) > ... 53 more > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.