[jboss-jira] [JBoss JIRA] Created: (JASSIST-66) NullPointerException in RuntimeSupport.DefaultMethodHandler (not thread-safe)

Patrick Taylor (JIRA) jira-events at lists.jboss.org
Tue Sep 16 15:28:20 EDT 2008


NullPointerException in RuntimeSupport.DefaultMethodHandler (not thread-safe)
-----------------------------------------------------------------------------

                 Key: JASSIST-66
                 URL: https://jira.jboss.org/jira/browse/JASSIST-66
             Project: Javassist
          Issue Type: Bug
    Affects Versions: 3.8.1.GA
            Reporter: Patrick Taylor
            Assignee: Shigeru Chiba


There appears to be a race condition which can result in a NullPointerException thrown by RuntimeSupport.DefaultMethodHandler.invoke().  It is documented in the following two forum posts:

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=126583
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176648

The first post includes a patch.  I downloaded the 3.8.1.GA source, applied the patch, and the problem no longer occurs, so I believe the patch is good. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list