Hi Guys,
Since yesterday we are getting following ArrayIndexOutOfBoundsException in SessionFactoryImpl.get()
Quote:
java.lang.ArrayIndexOutOfBoundsException: -124
at org.hibernate.impl.SessionFactoryImpl.get(SessionFactoryImpl.java:339)
at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:411)
at org.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:884)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:834)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
at org.springframework.orm.hibernate3.HibernateTemplate$33.doInHibernate(HibernateTemplate.java:901)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:356)
at org.springframework.orm.hibernate3.HibernateTemplate.findByNamedQueryAndNamedParam(HibernateTemplate.java:892)
at org.springframework.orm.hibernate3.HibernateTemplate.findByNamedQueryAndNamedParam(HibernateTemplate.java:882)
This is happening for all the master data which is marked as cacheable. All the queries on this master data have this cacheable attribute set to 'true'. There are no other related errors in the log files which can dictate the cause. I see that in sessionFactory it fails during assigning the object found from cache to the some array which maintains strong references to these objects. Not sure what it is. This is really a critical issue for us and makes the production site to go down.
It would be really great if you can provide your inputs on this.
Thanks,
Ram.