Page 1 of 1

Error

Posted: Mon Jul 12, 2010 12:49 am
by skiman
Hi,

The following error is something I see on a regular base. I don't have any idea to track this error.

Code: Select all

------------------------------------------------------------------------------
oError:args         :
oError:canDefault   : N
oError:canRetry     : N
oError:canSubstitute: N
oError:cargo        : NIL
oError:description  : Parameter has a wrong data type
oError:filename     : 
oError:genCode      :          2
oError:operation    : 
oError:osCode       :          0
oError:severity     :          2
oError:subCode      :       2311
oError:subSystem    : BASE
oError:thread       :          6
oError:tries        :          0
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Called from DC_XBPGET:SETDATA(781)
Called from (B)DC_XBPGET:INIT(269)
Called from (B)DC_MERGEBLOCKS(187)
Called from DC_GETLIST:EVENTLOOP(4388)
Called from DC_GETLIST:READGUI(3647)
Called from DC_READGUI(103)
Called from FFACTUREN(2143)
Called from (B)MAIN(665)
All suggestions are welcome.

Re: Error

Posted: Mon Jul 12, 2010 6:45 am
by bwolfsohn
Chris,

I generally get this when i forget to initialize a get variable.

Brian

Re: Error

Posted: Mon Jul 12, 2010 7:10 am
by rdonnay
Chris -

What error handler are you using? Is it the standard Xbase++ handler or your own?
I am going to write a function that will dump out all of the iVars of an object to a string so it can be included in the error dump, but you will need to include a call to this function in your error handler.

This should help us figure out a few things about an object method that causes an error.

Roger

Re: Error

Posted: Mon Jul 12, 2010 9:10 am
by skiman
Roger,

It is my own error handler, no problem to add something to it.

Re: Error

Posted: Mon Jul 12, 2010 9:12 am
by skiman
Brian,

I don't think this is the case, but I will check if I didn't forget any. However, the error is not consistent. If there is a variable not initialized, the problem should occur every time. :?: