Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2757

java.lang.NullPointerException: groovy.lang.MetaClassImpl.findMethod

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.5.4, 1.5.5
    • 1.5.6
    • class generator
    • None
    • Linux xdblade09b08 2.6.16.27-0.9-smp #1 SMP Tue Feb 13 09:35:18 UTC 2007 x86_64 x86_64 x86_64 GNU/Linux
      SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10
      2x dual core Intel(R) Xeon(TM) CPU 3.40GHz
      4 GB Mem

    Description

      About 15 min into a ProjectZero SVT, semi-heavy load, test we start seeing null pointers arising. We have seen this on both 1.5.4 and 1.5.5.

      Here is the ProjectZero bug: http://www.projectzero.org/bugzilla/show_bug.cgi?id=4471 with attachements

      I looked into the problem a bit and it seems like CachedMethod.find(Method method) is returning null. The return value of CachedMethod.find(Method method) is not checked, passed to MetaClassImpl.findMethod(CachedMethod aMethod) where aMethod.getName() is called. This throws a nullpointer because aMethod is null.

      Attachments

        Activity

          People

            blackdrag Jochen Theodorou
            trgissel Tom Gissel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: