geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ivanrc <>
Subject ArrayIndexOutOfBoundsException invoking find methods of EJB Entity CMP
Date Tue, 27 Nov 2007 08:44:32 GMT

Hello, I´m ussing Apache geronimo 2.0.2

When ejb-ql doesn´t obtain any result, the associate find method throw
EJBException whith this caused by:

Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
	... 26 more

for example, I´ve got this findPlanByFechaDesdeFact and if query doesn´t
obtain any result, intead of return empty or null collection, it throw
javax.ejb.EJBException with message ArrayIndexOutOfBoundsException:0

                    <method-params />
                <ejb-ql>SELECT DISTINCT OBJECT(p) FROM PlanExplotacionBean
AS p</ejb-ql>

How can I resolve this?,Thanks.
View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message