persistence@glassfish.java.net

RE: How to prevent stack overflow

From: Dirk Bangel <dirk.bangel_at_gmx.de>
Date: Tue, 29 Aug 2006 09:44:23 -0700

Stacktrace:

 

 

Exception in thread "main" java.lang.StackOverflowError

      at
oracle.toplink.essentials.sessions.Project.getDescriptors(Project.java:376)

      at
oracle.toplink.essentials.internal.sessions.DatabaseSessionImpl.getDescripto
rs(DatabaseSessionImpl.java:319)

      at
oracle.toplink.essentials.threetier.ClientSession.getDescriptors(ClientSessi
on.java:245)

      at
oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.getDescriptors(Un
itOfWorkImpl.java:1716)

      at
oracle.toplink.essentials.internal.sessions.AbstractSession.getDescriptor(Ab
stractSession.java:1242)

      at
oracle.toplink.essentials.internal.sessions.AbstractSession.getDescriptor(Ab
stractSession.java:1286)

      at
oracle.toplink.essentials.internal.descriptors.ObjectBuilder.wrapObject(Obje
ctBuilder.java:2285)

      at
oracle.toplink.essentials.internal.descriptors.ObjectBuilder.wrapObject(Obje
ctBuilder.java:2285)

      at
oracle.toplink.essentials.internal.descriptors.ObjectBuilder.wrapObject(Obje
ctBuilder.java:2285)

 

<<and so on>>

 

  _____

From: Dirk Bangel [mailto:dirk.bangel_at_gmx.de]
Sent: Dienstag, 29. August 2006 09:39
To: persistence_at_glassfish.dev.java.net
Subject: How to prevent stack overflow

 

Again me,

 

After solving my initial problem I am getting "Stack Overflow" exception. Is
there a "Best Practice" to be able

to persist a huge bunch of java instances?

 

-

 

DIrk