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


Groups > comp.lang.clipper.visual-objects > #968 > unrolled thread

Error Code: 33 [ DATA TYPE ERROR ]

Started by"Jamal" <vodotnet_nospam@yahoo.com>
First post2011-04-27 12:19 -0400
Last post2011-04-30 00:14 +0000
Articles 9 — 5 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  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

#968 — Error Code: 33 [ DATA TYPE ERROR ]

From"Jamal" <vodotnet_nospam@yahoo.com>
Date2011-04-27 12:19 -0400
SubjectError Code: 33 [ DATA TYPE ERROR ]
Message-ID<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 

[toc] | [next] | [standalone]


#969

FromMassimo Bighelli <info@arcasistemi.it>
Date2011-04-27 19:55 +0200
Message-ID<ip9l99$t9a$1@speranza.aioe.org>
In reply to#968
Jamal,

use SelecteDate instead of value

Massimo



Il 27/04/2011 18:19, Jamal ha scritto:
> 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

[toc] | [prev] | [next] | [standalone]


#979

From"Jamal" <vodotnet_nospam@yahoo.com>
Date2011-04-28 10:04 -0400
Message-ID<ipbs5i$rk6$1@dont-email.me>
In reply to#969
Massimo,

Thanks for the advice.

Jamal

"Massimo Bighelli"  wrote in message news:ip9l99$t9a$1@speranza.aioe.org...

Jamal,

use SelecteDate instead of value

Massimo



Il 27/04/2011 18:19, Jamal ha scritto:
> 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 

[toc] | [prev] | [next] | [standalone]


#970

From"Willie Moore" <williem@wmconsulting.com>
Date2011-04-27 13:38 -0500
Message-ID<ip9nqe$5cs$1@speranza.aioe.org>
In reply to#968
Jamal,

It looks like they didn’t pick a date so the return from datetimepicker is 
NIL.

Regards,
Willie

"Jamal"  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 

[toc] | [prev] | [next] | [standalone]


#978

From"Jamal" <vodotnet_nospam@yahoo.com>
Date2011-04-28 09:51 -0400
Message-ID<ipbrdl$jsk$1@dont-email.me>
In reply to#970
Willie,

I have a Dispatch() which ensures that dates in the DateTimePicker is not 
NIL and if it is set it to NULL_DATE (which is valid).

Still not sure about:

cValue := SELF:Server:FieldGet(#SOMEFIELD)    // returns a STRING value

When the database was checked, I did not see any invalid characters in the 
field; I even did a scan of the DBF via various DBF utilities but they did 
not find anything.

I removed all those CollectForced( ) from bbBrowser and any Collect( ) in my 
app; I see what happens in the next few weeks.

Thanks!
Jamal


"Willie Moore"  wrote in message news:ip9nqe$5cs$1@speranza.aioe.org...

Jamal,

It looks like they didn’t pick a date so the return from datetimepicker is
NIL.

Regards,
Willie

"Jamal"  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 

[toc] | [prev] | [next] | [standalone]


#980

From"Geoff Schaller" <geoffx@softwarexobjectives.com.au>
Date2011-04-28 22:15 +0000
Message-ID<4db9e71a$0$77723$c30e37c6@exi-reader.telstra.net>
In reply to#968
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

[toc] | [prev] | [next] | [standalone]


#990

From"Jamal" <vodotnet_nospam@yahoo.com>
Date2011-04-29 11:54 -0400
Message-ID<ipemv4$a4u$1@dont-email.me>
In reply to#980
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 

[toc] | [prev] | [next] | [standalone]


#991

From"Stephen Quinn" <stevejqNO@bigpondSPAM.net.au>
Date2011-04-30 02:09 +1000
Message-ID<fnBup.2867$aH5.1211@viwinnwfe02.internal.bigpond.com>
In reply to#990
Jamal

>> dEndDate   := SELF:oDCmDropdate:Value    // ERROR 33 HERE .  oDCmDropdate 
>> is
>> DateTimePicker control which exists on a data window.

Maybe the returned VALUE is a DATE + TIME which definately isn't a VO DATE 
type

CYA
Steve 

[toc] | [prev] | [next] | [standalone]


#996

From"Geoff Schaller" <geoffx@softwarexobjectives.com.au>
Date2011-04-30 00:14 +0000
Message-ID<4dbb5449$0$77724$c30e37c6@exi-reader.telstra.net>
In reply to#990
You've missed the point.

You are checking for the value BEFORE you assign it.
Using the Postinit may be too late already.

Geoff



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

> 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

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web