[ http://issues.apache.org/jira/browse/GERONIMO-1082?page=comments#action_12453508 ] Rakesh Midha commented on GERONIMO-1082: ----------------------------------------
Added new jira and provide patch in https://issues.apache.org/jira/browse/OPENEJB-384, please review and commit > Deployment doesn't ensure queries defined for ejbSelect methods > --------------------------------------------------------------- > > Key: GERONIMO-1082 > URL: http://issues.apache.org/jira/browse/GERONIMO-1082 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment, OpenEJB > Affects Versions: 1.0-M5 > Reporter: Aaron Mulder > Assigned To: Rakesh Midha > Priority: Critical > Fix For: Verification Required > > > I deployed a CMP entity bean with an ejbSelect method, but I forgot to > actually define a query for it in my ejb-jar.xml. This caused a very bizarre > NullPointerException at runtime. Instead, the deployment should check that > all ejbSelect methods have queries defined. (And the same for finders, if it > doesn't already.) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
