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

LocalHome Finder causes "Unknown method" assertion error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.0-M3
    • Fix Version/s: 1.0-M4
    • Component/s: OpenEJB
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: