Javassist
  1. Javassist
  2. JASSIST-66

NullPointerException in RuntimeSupport.DefaultMethodHandler (not thread-safe)

    Details

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

      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
            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
            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
            Shigeru Chiba added a comment -

            3.9.0.GA including this bug fix has been released.

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

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

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

            re-opened to assign a fix version

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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development