I meant a Java stack trace. You are saying that you get an error. How do
you know that? There must be something in the log showing the line in the
code where an error has occurred, with the full call stack. E.g.:
org.objectstyle.cayenne.CayenneRuntimeException: Global exception
at
org.objectstyle.cayenne.access.util.SelectObserver.nextGlobalException(SelectObserver.java:156)
at
org.objectstyle.cayenne.access.DataNode.performQueries(DataNode.java:331)
.....
Andrus
> Sorry, I haven't figured out how to make a stack trace. I only found how
> to set the debugging level on queries, but it didn't yield anything. The
> simple question is. How do I make a stack trace?
>
> Elia
>
> ----- Original Message -----
> From: "Andrus Adamchik" <andru..bjectstyle.org>
> To: <cayenne-use..bjectstyle.org>
> Sent: Monday, January 17, 2005 4:00 PM
> Subject: Re: Debugging Faults
>
>
>>
>> On Jan 17, 2005, at 3:26 AM, Elia Morling wrote:
>>
>> > I get a relationship to-many Fault error when attempting to read an
>> array. How do I debug what's wrong? Everything seems ok in the
>> modeler and the classes are in place. I need more information.
>> >
>> > Thanks,
>> > Elia
>>
>> Hi Elia,
>>
>> You can start by posting a stack trace of an exception.
>>
>> Andrus
>>
>>
>>
This archive was generated by hypermail 2.0.0 : Tue Jan 18 2005 - 12:52:45 EST