openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From VRB007 <vikram.bo...@yahoo.com>
Subject java.lang.StackOverflowError at SelectImpl.aliasSize
Date Wed, 23 May 2012 15:59:23 GMT
Hi 
  I just upgraded openJPA from 1.2.2 to 2.0.1 
I have a test case which was running fine before now throws exception as
below

"java.lang.StackOverflowError
	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2134)
	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2132)
	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2140)
	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2132)
	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2140)
	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2132)
	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2140)
	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2132)
	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2140)
	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2132)
	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectImpl.java:2140)
	at org.apache.openjpa.jdbc.sql.SelectImpl.aliasSize(SelectIm.............
...........
at
org.apache.openjpa.jdbc.sql.SelectImpl.getTableIndex(SelectImpl.java:2025)
	at org.apache.openjpa.jdbc.sql.SelectImpl.access$900(SelectImpl.java:73)
	at
org.apache.openjpa.jdbc.sql.SelectImpl$SelectJoins.join(SelectImpl.java:2892)
	at
org.apache.openjpa.jdbc.sql.SelectImpl$SelectJoins.joinRelation(SelectImpl.java:2830)
	at
org.apache.openjpa.jdbc.meta.strats.RelationToManyInverseKeyFieldStrategy.join(RelationToManyInverseKeyFieldStrategy.java:103)
	at
org.apache.openjpa.jdbc.meta.strats.RelationCollectionInverseKeyFieldStrategy.join(RelationCollectionInverseKeyFieldStrategy.java:80)
	at
org.apache.openjpa.jdbc.meta.strats.StoreCollectionFieldStrategy.selectEager(StoreCollectionFieldStrategy.java:212)
	at
org.apache.openjpa.jdbc.meta.strats.StoreCollectionFieldStrategy.selectEagerParallel(StoreCollectionFieldStrategy.java:154)
	at
org.apache.openjpa.jdbc.meta.FieldMapping.selectEagerParallel(FieldMapping.java:840)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.selectBaseMappings(JDBCStoreManager.java:1355)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.select(JDBCStoreManager.java:1161)
	at org.apache.openjpa.jdbc.sql.SelectImpl.select(SelectImpl.java:953)
	at
org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.select(LogicalUnion.java:626)
	at
org.apache.openjpa.jdbc.sql.LogicalUnion$UnionSelect.selectIdentifier(LogicalUnion.java:648)
	at
org.apache.openjpa.jdbc.kernel.exps.SelectConstructor.select(SelectConstructor.java:328)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.populateSelect(JDBCStoreQuery.java:289)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.access$100(JDBCStoreQuery.java:83)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreQuery$1.select(JDBCStoreQuery.java:261)
	at org.apache.openjpa.jdbc.sql.LogicalUnion.select(LogicalUnion.java:297)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.populateUnion(JDBCStoreQuery.java:259)
	at
org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeQuery(JDBCStoreQuery.java:205)
	at
org.apache.openjpa.kernel.ExpressionStoreQuery$DataStoreExecutor.executeQuery(ExpressionStoreQuery.java:753)
	at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:1003)
	at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:861)
	at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:792)
	at
org.apache.openjpa.kernel.DelegatingQuery.execute(DelegatingQuery.java:542)
	at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:288)
	at
org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:302)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:618)
	at
org.springframework.orm.jpa.SharedEntityManagerCreator$DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:310)"

Any Idea about this error ?

Please let me know if you want me to provide more information.

Thanks

--
View this message in context: http://openjpa.208410.n2.nabble.com/java-lang-StackOverflowError-at-SelectImpl-aliasSize-tp7573688.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Mime
View raw message