openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: java.lang.StackOverflowError at SelectImpl.aliasSize
Date Wed, 23 May 2012 16:17:27 GMT
Now that I say that, it appears that Heath just merged those changes to
2.0.x and 2.1.x this week.... so the fix isn't in a part of a release yet.
You could always grab the nightly 2.0 build.

Thanks,
Rick

On Wed, May 23, 2012 at 12:16 PM, Rick Curtis <curtisr7@gmail.com> wrote:

> It appears that this has already been fixed. Can you try a newer version
> of OpenJPA?
>
> Thanks,
> Rick
>
> [1] https://issues.apache.org/jira/browse/OPENJPA-1974
>
>
> On Wed, May 23, 2012 at 11:59 AM, VRB007 <vikram.borra@yahoo.com> wrote:
>
>> 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
>>
>>
>
> --
> *Rick Curtis*
>
>


-- 
*Rick Curtis*

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