V4RB Unexpected Quit

alvin alvin at ins.co.nz
Mon Feb 17 23:28:48 CST 2003


Thanks Ruslan,

I checked it out and removed a character from the original database. Then
did another XML dump and found another one. The offending line says:

<f n="cdocid">rvtwgq~ü8!</f>

There is actually nothing wrong with this but it appears the rectangel
between the w and the g is what is causing the error. I could be wrong, but
I would have thought that shouldn't cause problems.

In any case, there doesn't seem to be anything wrong with the record itself
as it is not that record that is causing the server program to quit. Is
there anything that can cause Realbasic to quit without even touching an
exception error when updating a record? I've exported the whole database
where the offending records are and reimported it with no problems so it
doesn't look like there is any problem with the data itself. All the program
does is read the data, load the appropriate database record, set the fields
with the new data and then update the record. It is when it is updating the
record that the server program quits and I cannot catch any errors to see
why.

Any suggestions would be really appreciated.

Thanks very much.

Cindy

> From: Ruslan Zasukhin <sunshine at public.kherson.ua>
> Reply-To: Valentina Developers <valentina at lists.macserve.net>
> Date: Mon, 17 Feb 2003 10:48:32 +0200
> To: <valentina at lists.macserve.net>
> Subject: Re: V4RB Unexpected Quit
> 
> on 2/17/03 6:49 AM, alvin at alvin at ins.co.nz wrote:
> 
>> Hi All,
>> 
>> I am using sockets to send information from a workstation to a server. In
>> one of my sites, the program gets to a particular record and when it tries
>> to send this (there is nothing immediately apparent wrong with the record),
>> the server version immediately quits, no messages, nothing. It just quits.
>> 
>> I've narrowed it down to the Update command (res = workingCursor.Update())
>> which works perfectly well on all my other records except for this one and
>> one or two others out of 3,000 records.
>> 
>> When I try to XML dump my file and reload it I get the message:
>> 
>> Error 4:not well-formed (invalid token), line: 19533, position 28.
>> 
>> What does this mean and how can I fix it?
> 
> Most probably this is corrupted value of VarChar field.
> 
> Look into like 19533 to check this.
> 
> Now look what is wrong on this line. You can manually edit text at this
> line. In worse case you can remove field value on that line.
> 
> And try Load XML file again.
> 
> -- 
> Best regards,
> Ruslan Zasukhin      [ I feel the need...the need for speed ]
> -------------------------------------------------------------
> e-mail: ruslan at paradigmasoft.com
> web: http://www.paradigmasoft.com
> 
> To subscribe to the Valentina mail list go to:
> http://listserv.macserve.net/mailman/listinfo/valentina
> -------------------------------------------------------------
> 
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
> 



More information about the Valentina mailing list