Error

This forum is for eXpress++ general support.
Post Reply
Message
Author
skiman
Posts: 1185
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Error

#1 Post 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.
Best regards,

Chris.
www.aboservice.be

bwolfsohn
Posts: 648
Joined: Thu Jan 28, 2010 7:07 am
Location: Alachua, Florida USA
Contact:

Re: Error

#2 Post by bwolfsohn »

Chris,

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

Brian
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Error

#3 Post 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
The eXpress train is coming - and it has more cars.

skiman
Posts: 1185
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: Error

#4 Post by skiman »

Roger,

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

Chris.
www.aboservice.be

skiman
Posts: 1185
Joined: Thu Jan 28, 2010 1:22 am
Location: Sijsele, Belgium
Contact:

Re: Error

#5 Post 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. :?:
Best regards,

Chris.
www.aboservice.be

Post Reply