Once in a while, we see this exception in JBoss 3.0.0 during an entity bean call. Is it something the bean is doing wrong or is this a container bug?
Embedded Exception
java.lang.ArrayIndexOutOfBoundsException: 17; nested exception is:
javax.ejb.EJBException: null
Embedded Exception
java.lang.ArrayIndexOutOfBoundsException: 17
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterce
ptor.java:119)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptor
CMT.java:167)
at
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:61)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.jav
a:129)
at
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:166)
at
org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:493)
at org.jboss.ejb.Container.invoke(Container.java:705)
at
org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1055)
at
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
at
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:98)
at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:1
02)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.jav
a:73)
at
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
at
org.jboss.proxy.ejb.EntityInterceptor.invoke(EntityInterceptor.java:116)
at
org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
if u r using a vector or array in ur bean and it out of size then error will occur