[jira] Updated: (GERONIMO-3815) ContextManager.getCurrentContext() throws NullPointerException

2009-05-28 Thread David Jencks (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Jencks updated GERONIMO-3815:
---

Fix Version/s: (was: 2.2)
   Wish List

Unlikely I'll be able to look further for 2.2.  Not sure if it is still a 
problem

 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.



[jira] Updated: (GERONIMO-3815) ContextManager.getCurrentContext() throws NullPointerException

2009-02-04 Thread Jarek Gawor (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jarek Gawor updated GERONIMO-3815:
--

Affects Version/s: 2.1.4
   2.0.3
Fix Version/s: (was: 2.0.4)
   (was: 2.1.4)

Updating versions as it probably will not get fixed for 2.1.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.0.3, 2.1, 2.1.4
Reporter: Vamsavardhana Reddy
 Fix For: 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.



[jira] Updated: (GERONIMO-3815) ContextManager.getCurrentContext() throws NullPointerException

2008-10-23 Thread Jay D. McHugh (JIRA)

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



[jira] Updated: (GERONIMO-3815) ContextManager.getCurrentContext() throws NullPointerException

2008-09-02 Thread Donald Woods (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Donald Woods updated GERONIMO-3815:
---

Fix Version/s: (was: 2.1.3)
   2.1.4

moving to 2.1.4 as there is no patch for consideration in 2.1.3.

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



[jira] Updated: (GERONIMO-3815) ContextManager.getCurrentContext() throws NullPointerException

2008-07-23 Thread Joe Bohn (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bohn updated GERONIMO-3815:
---

Fix Version/s: (was: 2.1.x)
   (was: 2.0.x)
   2.1.3
   2.0.3

 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.3, 2.1.3, 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.



[jira] Updated: (GERONIMO-3815) ContextManager.getCurrentContext() throws NullPointerException

2008-04-14 Thread Joe Bohn (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bohn updated GERONIMO-3815:
---

Fix Version/s: (was: 2.1.1)
   2.2
   2.1.x

moving fix version to 2.1.x and 2.2 ... doesn't look like it will make 2.1.1

 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.x, 2.1.x, 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.



[jira] Updated: (GERONIMO-3815) ContextManager.getCurrentContext() throws NullPointerException

2008-02-14 Thread Aman Nanner (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aman Nanner updated GERONIMO-3815:
--

Attachment: GERONIMO-3815-3.debug.patch

The error occurred in the getCurrentPrincpal() method instead of the 
getCurrentContext() method this time, and so the special traces were never 
outputted to the server log.  I've attached a new patch that will also output 
the trace logs if the NullPointerException occurs in the getCurrentPrincipal() 
method.

 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.x, 2.1.1

 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.



[jira] Updated: (GERONIMO-3815) ContextManager.getCurrentContext() throws NullPointerException

2008-02-13 Thread David Jencks (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Jencks updated GERONIMO-3815:
---

Attachment: GERONIMO-3815-2.debug.patch

Previous patch did not result in useful information.  The subject was 
registered but never unregistered, yet not present when looked for.  I'm 
wondering if SSO has introduced a race condition, so I've added more logging.

As before, this patch will result in an enormous memory leak.

 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.x, 2.1.1

 Attachments: GERONIMO-3815-2.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.



[jira] Updated: (GERONIMO-3815) ContextManager.getCurrentContext() throws NullPointerException

2008-02-05 Thread David Jencks (JIRA)

 [ 
https://issues.apache.org/jira/browse/GERONIMO-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Jencks updated GERONIMO-3815:
---

Attachment: GERONIMO-3815.debug.patch

This patch should tell us the sequence of events that led up to the problem 
(assuming it works as intended).  It will also install a giant memory leak: if 
this is so big as to run out of memory before reproducing the problem we can 
look into some periodic cleanup code.

It's not in the bit of stack trace quoted, but this installation is also using 
tomcat SSO.

 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.x, 2.1.1

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