openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C N Davies" <...@cndavies.com>
Subject Stack overflow issue
Date Tue, 29 Sep 2009 06:06:39 GMT
Hi, 

 

My software is loading some data and as a result creates about 2000 db
records. The transaction commits just fine, and the function returns ok, a
few seconds later I get a stack overflow error as below.

 

Everything seems to work fine, all the records make it to the database, but
I can't see why the stack overflow is being thrown. I increased the stack
size to 1024 but get the same result. I can even close the entity manager
fine but again I get the stack overflow issue.

 

Does anyone have any ideas as to what the issue is?

 

Thanks 

 

Chris

 

OpenJPA 1.2.1

 

Exception in thread "Thread-8" java.lang.StackOverflowError

      at java.security.AccessController.doPrivileged(Native Method)

      at
org.apache.openjpa.enhance.Reflection.getDeclaredField(Reflection.java:201)

      at
org.apache.openjpa.enhance.Reflection.findField(Reflection.java:180)

      at
org.apache.openjpa.enhance.com$trm$loadtypes$McQEquitrac$pcsubclass.pcProvid
eField(Unknown Source)

      at
org.apache.openjpa.kernel.StateManagerImpl.provideField(StateManagerImpl.jav
a:3013)

      at
org.apache.openjpa.kernel.SaveFieldManager.isFieldEqual(SaveFieldManager.jav
a:189)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
827)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

      at
org.apache.openjpa.kernel.ManagedCache.dirtyCheck(ManagedCache.java:307)

      at
org.apache.openjpa.kernel.BrokerImpl.hasTransactionalObjects(BrokerImpl.java
:3796)

      at org.apache.openjpa.kernel.BrokerImpl.setDirty(BrokerImpl.java:3913)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1601)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirty(StateManagerImpl.java:1515)

      at
org.apache.openjpa.kernel.StateManagerImpl.dirtyCheck(StateManagerImpl.java:
828)

 

 

--
Neil Davies
Chief Technology Officer

 

Mobile:                +61 403 655 872
Email:                   <mailto:neil.davies@spendware.com>
neil.davies@spendware.com
Web:                      <http://www.spendware.com/> www.spendware.com

 

logo

 


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