Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-584

LocalHome Finder causes "Unknown method" assertion error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.0-M3
    • 1.0-M4
    • OpenEJB
    • None

    Description

      In M3: calling a finder on the LocalHome of a CMP EJB results in:

      java.lang.AssertionError: Unknown method: method=public abstract java.util.Collection com.xyz.ptms.ejb.entity.ParentListHome.findByTrader(java.lang.Integer) throws javax.ejb.FinderException
      at org.openejb.proxy.EJBMethodInterceptor.intercept(EJBMethodInterceptor.java:126)
      at org.openejb.proxy.EntityEJBLocalHome$$EnhancerByCGLIB$$8489d00d.findByTrader(<generated>)

      The finder method is in the home interface (and in fact the CGlib interface seems to have it), there's a query in the ejb-jar.xml... I'm not sure what the problem it.

      I haven't tried this on HEAD.

      Attachments

        Activity

          People

            gianny Gianny Damour
            ammulder Aaron Mulder
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: