Uploaded image for project: 'Javassist'
  1. Javassist
  2. JASSIST-66

NullPointerException in RuntimeSupport.DefaultMethodHandler (not thread-safe)

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.8.1.GA
    • Fix Version/s: 3.9.0.GA
    • Labels:

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  chiba Shigeru Chiba
                  Reporter:
                  pmeister Patrick Taylor
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: