geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mircea (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-3815) ContextManager.getCurrentContext() throws NullPointerException
Date Mon, 27 Jul 2009 07:58:14 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735511#action_12735511
] 

Mircea commented on GERONIMO-3815:
----------------------------------

I'm deploying a third party product so I don't have too much knowledge about how to reproduce
this but all I can say is I can reproduce it with the Jetty version but it's gone when using
the Tomcat version.

> 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.0.3, 2.1, 2.1.4
>            Reporter: Vamsavardhana Reddy
>            Assignee: David Jencks
>             Fix For: Wish List
>
>         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.


Mime
View raw message