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

          Issue Links

            Activity

            Hide
            chiba Shigeru Chiba added a comment -

            This bug has been fixed. Could you download the latest source and make sure that it works?
            This bug fix will be included in 3.9.0 release.

            Show
            chiba Shigeru Chiba added a comment - This bug has been fixed. Could you download the latest source and make sure that it works? This bug fix will be included in 3.9.0 release.
            Hide
            chiba Shigeru Chiba added a comment -

            3.9.0.GA including this bug fix has been released.

            Show
            chiba Shigeru Chiba added a comment - 3.9.0.GA including this bug fix has been released.
            Hide
            dimitris Dimitris Andreadis added a comment -

            When fixing something, please set the fix version properly on the JIRA.

            Show
            dimitris Dimitris Andreadis added a comment - When fixing something, please set the fix version properly on the JIRA.
            Hide
            dimitris Dimitris Andreadis added a comment -

            re-opened to assign a fix version

            Show
            dimitris Dimitris Andreadis added a comment - re-opened to assign a fix version

              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:

                  Development