openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-1768) StackOverflowError when finding an Entity with an Eager ManyToMany relationship.
Date Fri, 13 Aug 2010 19:50:15 GMT
StackOverflowError when finding an Entity with an Eager ManyToMany relationship.
--------------------------------------------------------------------------------

                 Key: OPENJPA-1768
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1768
             Project: OpenJPA
          Issue Type: Bug
          Components: datacache
    Affects Versions: 2.0.0, 2.1.0
            Reporter: Rick Curtis
            Priority: Critical


I ran across the following StackOverflowError when working on OPENJPA-1469. I haven't done
much for analysis on this failure, but to recreate the exception set "openjpa.DataCache","true"
to the test org.apache.openjpa.jdbc.kernel.TestM2MBiVersion.

java.lang.StackOverflowError
	at java.util.HashMap.getEntry(HashMap.java:508)
	at java.util.HashMap.get(HashMap.java:496)
	at org.apache.openjpa.datacache.DataCacheManagerImpl.isCachable(DataCacheManagerImpl.java:157)
	at org.apache.openjpa.datacache.DataCacheManagerImpl.selectCache(DataCacheManagerImpl.java:140)
	at org.apache.openjpa.datacache.DataCacheStoreManager.load(DataCacheStoreManager.java:414)
	at org.apache.openjpa.kernel.DelegatingStoreManager.load(DelegatingStoreManager.java:117)
	at org.apache.openjpa.kernel.ROPStoreManager.load(ROPStoreManager.java:78)
	at org.apache.openjpa.kernel.StateManagerImpl.loadFields(StateManagerImpl.java:3047)
	at org.apache.openjpa.kernel.StateManagerImpl.load(StateManagerImpl.java:451)
	at org.apache.openjpa.kernel.BrokerImpl.findAll(BrokerImpl.java:1127)
	at org.apache.openjpa.kernel.BrokerImpl.findAll(BrokerImpl.java:1033)
	at org.apache.openjpa.kernel.AbstractPCData.toRelationFields(AbstractPCData.java:221)
	at org.apache.openjpa.kernel.AbstractPCData.toNestedFields(AbstractPCData.java:168)
	at org.apache.openjpa.kernel.AbstractPCData.toField(AbstractPCData.java:78)
	at org.apache.openjpa.kernel.PCDataImpl.loadField(PCDataImpl.java:204)
	at org.apache.openjpa.kernel.PCDataImpl.load(PCDataImpl.java:174)
	at org.apache.openjpa.datacache.DataCacheStoreManager.load(DataCacheStoreManager.java:420)
	at org.apache.openjpa.kernel.DelegatingStoreManager.load(DelegatingStoreManager.java:117)
	at org.apache.openjpa.kernel.ROPStoreManager.load(ROPStoreManager.java:78)
	at org.apache.openjpa.kernel.StateManagerImpl.loadFields(StateManagerImpl.java:3047)
	at org.apache.openjpa.kernel.StateManagerImpl.load(StateManagerImpl.java:451)
	at org.apache.openjpa.kernel.BrokerImpl.findAll(BrokerImpl.java:1127)
	at org.apache.openjpa.kernel.BrokerImpl.findAll(BrokerImpl.java:1033)
	at org.apache.openjpa.kernel.AbstractPCData.toRelationFields(AbstractPCData.java:221)
	at org.apache.openjpa.kernel.AbstractPCData.toNestedFields(AbstractPCData.java:168)
	at org.apache.openjpa.kernel.AbstractPCData.toField(AbstractPCData.java:78)
	at org.apache.openjpa.kernel.PCDataImpl.loadField(PCDataImpl.java:204)
	at org.apache.openjpa.kernel.PCDataImpl.load(PCDataImpl.java:174)
	at org.apache.openjpa.datacache.DataCacheStoreManager.load(DataCacheStoreManager.java:420)
	at org.apache.openjpa.kernel.DelegatingStoreManager.load(DelegatingStoreManager.java:117)
......
	at org.apache.openjpa.kernel.DelegatingStoreManager.load(DelegatingStoreManager.java:117)
	at org.apache.openjpa.kernel.ROPStoreManager.load(ROPStoreManager.java:78)
	at org.apache.openjpa.kernel.StateManagerImpl.loadFields(StateManagerImpl.java:3047)
	at org.apache.openjpa.kernel.StateManagerImpl.load(StateManagerImpl.java:451)
	at org.apache.openjpa.kernel.BrokerImpl.findAll(BrokerImpl.java:1127)
	at org.apache.openjpa.kernel.BrokerImpl.findAll(BrokerImpl.java:1033)
	at org.apache.openjpa.kernel.AbstractPCData.toRelationFields(AbstractPCData.java:221)
	at org.apache.openjpa.kernel.AbstractPCData.toNestedFields(AbstractPCData.java:168)
	at org.apache.openjpa.kernel.AbstractPCData.toField(AbstractPCData.java:78)
	at org.apache.openjpa.kernel.PCDataImpl.loadField(PCDataImpl.java:204)
	at org.apache.openjpa.kernel.PCDataImpl.load(PCDataImpl.java:154)
	at org.apache.openjpa.datacache.DataCacheStoreManager.loadAll(DataCacheStoreManager.java:487)
	at org.apache.openjpa.kernel.DelegatingStoreManager.loadAll(DelegatingStoreManager.java:122)
	at org.apache.openjpa.kernel.BrokerImpl.findAll(BrokerImpl.java:1104)
	at org.apache.openjpa.kernel.BrokerImpl.findAll(BrokerImpl.java:1033)
	at org.apache.openjpa.kernel.AbstractPCData.toRelationFields(AbstractPCData.java:221)
	at org.apache.openjpa.kernel.AbstractPCData.toNestedFields(AbstractPCData.java:168)
	at org.apache.openjpa.kernel.AbstractPCData.toField(AbstractPCData.java:78)
	at org.apache.openjpa.kernel.PCDataImpl.loadField(PCDataImpl.java:204)
	at org.apache.openjpa.kernel.PCDataImpl.load(PCDataImpl.java:154)
	at org.apache.openjpa.datacache.DataCacheStoreManager.initialize(DataCacheStoreManager.java:368)
	at org.apache.openjpa.kernel.DelegatingStoreManager.initialize(DelegatingStoreManager.java:112)
	at org.apache.openjpa.kernel.ROPStoreManager.initialize(ROPStoreManager.java:57)
	at org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:1014)
	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:972)
	at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:889)
	at org.apache.openjpa.kernel.DelegatingBroker.find(DelegatingBroker.java:223)
	at org.apache.openjpa.persistence.EntityManagerImpl.find(EntityManagerImpl.java:477)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message