Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #990

Re: Error Code: 33 [ DATA TYPE ERROR ]

From "Jamal" <vodotnet_nospam@yahoo.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Error Code: 33 [ DATA TYPE ERROR ]
Date 2011-04-29 11:54 -0400
Organization A noiseless patient Spider
Message-ID <ipemv4$a4u$1@dont-email.me> (permalink)
References <ip9fng$r5m$1@dont-email.me> <4db9e71a$0$77723$c30e37c6@exi-reader.telstra.net>

Show all headers | View raw


Geoff,

I have the call stack, I just did not show it. Anyway, I modified the code 
to check for NIL, even I set the date to today's date in the window's 
postinit( )!

Jamal

"Geoff Schaller"  wrote in message 
news:4db9e71a$0$77723$c30e37c6@exi-reader.telstra.net...

Jamal,

A pity you don't have a decent error handler to give you the calling
stack etc at this point but no, it is nothing to with the GC. It is
DEFINITELY going to be NIL being send to dEndDate and that is what the
error is telling you. You didn't show us any code so we cannot assist
you with context.

Of course your test for the date's value shows you something because by
the time you test it, it does.

The control's value is NIL or something else at this point.

Geoff



"Jamal" <vodotnet_nospam@yahoo.com> wrote in message
news:ip9fng$r5m$1@dont-email.me:

> Hope all well.
>
> Using VO 2.8 - 2837. Could anyone (Robert if you are there) can shed some
> light on the cause of Error Code:  33 [ DATA TYPE ERROR ] ?
>
> This occurs on various sites, but I cannot duplicate the issue my system 
> and
> I do a remote web session, I still could not duplicate with the customer
> tracing the sequence of operations.
>
> The VOERROR.LOG has an error on a line:
>
> LOCAL dEndDate   AS DATE
>
> dEndDate   := SELF:oDCmDropdate:Value    // ERROR 33 HERE .  oDCmDropdate 
> is
> DateTimePicker control which exists on a data window.
>
>
>
> Error Object created:
> --------------------
> SubSystem       :BASE
> SubCode         :0
> GenCode         :Data type error
> OsCode          :0
> ArgType         :NIL
> FuncPtr         :0x0032F655
> ArgNum          :0
> FuncSym         :=>DATE
> Severity        :0
> Arg             :                            14
> ArgTypeReq      :DATE
> SubstituteType  :DATE
>
> --------------------
>
> In some other cases, the error was on something like:
> LOCAL cValue as STRING
> cValue := SELF:Server:FieldGet(#SOMEFIELD)    // returns a STRING value
>
> I am suspecting the GC has kicked in at some point, then the values were 
> no
> longer valid and thus the error. I did a search on the libraries that I 
> use,
> I found the bBrowser 2.0x has several calls for CollectForced()  ( I am 
> not
> blaming bBrowser), but could those CollectForced()  be causing issues in 
> my
> application?
>
>
> Any pointers on what is really going on?
>
> Jamal 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Error Code:  33 [ DATA TYPE ERROR ] "Jamal" <vodotnet_nospam@yahoo.com> - 2011-04-27 12:19 -0400
  Re: Error Code:  33 [ DATA TYPE ERROR ] Massimo Bighelli <info@arcasistemi.it> - 2011-04-27 19:55 +0200
    Re: Error Code:  33 [ DATA TYPE ERROR ] "Jamal" <vodotnet_nospam@yahoo.com> - 2011-04-28 10:04 -0400
  Re: Error Code:  33 [ DATA TYPE ERROR ] "Willie Moore" <williem@wmconsulting.com> - 2011-04-27 13:38 -0500
    Re: Error Code:  33 [ DATA TYPE ERROR ] "Jamal" <vodotnet_nospam@yahoo.com> - 2011-04-28 09:51 -0400
  Re: Error Code:  33 [ DATA TYPE ERROR ] "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-28 22:15 +0000
    Re: Error Code:  33 [ DATA TYPE ERROR ] "Jamal" <vodotnet_nospam@yahoo.com> - 2011-04-29 11:54 -0400
      Re: Error Code:  33 [ DATA TYPE ERROR ] "Stephen Quinn" <stevejqNO@bigpondSPAM.net.au> - 2011-04-30 02:09 +1000
      Re: Error Code:  33 [ DATA TYPE ERROR ] "Geoff Schaller" <geoffx@softwarexobjectives.com.au> - 2011-04-30 00:14 +0000

csiph-web