You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by ri...@bol.com.br on 2007/10/03 01:28:44 UTC
Exception in thread "main" java.lang.StackOverflowError
Guys,
I do a simple teste and I found that error:
Exception in thread "main" java.lang.StackOverflowError
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.openjpa.enhance.Reflection.getDeclaredField(Reflection.java:166)
:
:
The error occurrs in the last commit "transaction.commit();" at line 36.
Re: Exception in thread "main" java.lang.StackOverflowError
Posted by Marc Prud'hommeaux <mp...@apache.org>.
Ricardo-
Can you show us the source for the Tabela class? Also, did you really
put it in the "org.apache.openjpa.enhance" package? I doubt that
would be the cause of the problem, but it is an interesting package
choice.
Also, if you manually enhance the class (rather than performing
runtime enhancement, as it appears you are doing), do you still see
the same problem?
On Oct 2, 2007, at 4:28 PM, ricardo.leoneti@bol.com.br wrote:
> Guys,
>
> I do a simple teste and I found that error:
> Exception in thread "main" java.lang.StackOverflowError
> at java.security.AccessController.doPrivileged(Native Method)
> at org.apache.openjpa.enhance.Reflection.getDeclaredField
> (Reflection.java:166)
> :
> :
>
> The error occurrs in the last commit "transaction.commit();" at
> line 36.
>
>
>
> <persistence.xml><result.txt>