openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C N Davies" <...@cndavies.com>
Subject IOB Error
Date Sun, 25 Apr 2010 09:51:56 GMT
This application has been running just fine for the last few months,
suddenly I am starting to get this error. I have restored the DB and there
have been no code changes to this software for months other than updating to
OpenJPA Beta 3 a few weeks ago. 

 

I tested on the latest OpenJPA 2.0 release and have the same issue.

 

The code is just calling final(Class, key) and the key is valid. 

 

 

Using JPA 2.0 Beta 3

 

java.lang.ArrayIndexOutOfBoundsException: 1

        org.apache.openjpa.jdbc.sql.SelectImpl.where(SelectImpl.java:1369)

 
org.apache.openjpa.jdbc.sql.SelectImpl.wherePrimaryKey(SelectImpl.java:1293)

 
org.apache.openjpa.jdbc.sql.SelectImpl.wherePrimaryKey(SelectImpl.java:1270)

 
org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.wherePrimaryKey(Logical
Union.java:751)

 
org.apache.openjpa.jdbc.kernel.JDBCStoreManager$1.select(JDBCStoreManager.ja
va:612)

 
org.apache.openjpa.jdbc.sql.LogicalUnion.select(LogicalUnion.java:297)

 
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getInitializeStateUnionResul
t(JDBCStoreManager.java:608)

 
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initializeState(JDBCStoreMan
ager.java:392)

 
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.initialize(JDBCStoreManager.
java:342)

 
org.apache.openjpa.kernel.DelegatingStoreManager.initialize(DelegatingStoreM
anager.java:112)

 
org.apache.openjpa.kernel.ROPStoreManager.initialize(ROPStoreManager.java:57
)

 
org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:1005)

        org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:963)

        org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:880)

 
org.apache.openjpa.kernel.DelegatingBroker.find(DelegatingBroker.java:223)

 
org.apache.openjpa.persistence.EntityManagerImpl.find(EntityManagerImpl.java
:476)

 

Thx 

 

Chris

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message