Page 1 of 1

Assertion Failure

Posted: Fri 03 Dec 2004 15:52
by Alexsandro Afonso MOura
I'm using ODAC 3.30 with Delphi 5.0 and Oracle 9.

Sometimes, when opening a query, my application gives the exception:

Project pSaltm.exe raised exception class EAssertionFailed with message 'Assertion failure (D:\Projects\Delphi\Odac\Source\OraClasses.pas, linha 1330)'. Process stoped. Use Step or Run to continue.

It is not in an especific point neither a moment, but it usually happens when selecting from a table that is frequently accessed by others applications for inserting, updating and deleting and has about 250000 records.

In time, there's no D: drive in the machine and 'linha' means line in Portuguese.

Thanks,

Alex

Posted: Wed 08 Dec 2004 11:06
by Paul
This error message is raised if WaitForSingleObject returns WAIT_FAILED. We cannot receive this error in normal situation. Please specify what is your operation system.

Posted: Thu 09 Dec 2004 12:31
by Alexsandro Afonso MOura
Paul,

The system is:
Microsoft Windows 2000
5.00.2195
Service Pack 4

And the machine is:
Computer Intel(R)Xeon(TM)
CPU 2.4GHz
AT/AT compatible
1.047.568 kb of RAM

Thanks,

Alex

Posted: Fri 10 Dec 2004 14:11
by Paul
Sorry, We cannot reproduce your problem in our environment.

Assertion Failure

Posted: Mon 13 Dec 2004 11:15
by Serg
I've been receive exact this message, when used a TDBMemo with varchar2 data type, and no data in this field when trying to Post.
Just fill it with space and problem will disappear.

Re: Assertion Failure

Posted: Mon 13 Dec 2004 11:37
by Paul
Serg wrote:I've been receive exact this message, when used a TDBMemo with varchar2 data type, and no data in this field when trying to Post.
Just fill it with space and problem will disappear.
Send us please small demo project to demonstrate the problem and include script to create server objects to our support address.

Error

Posted: Mon 13 Dec 2004 11:47
by Serg
Sorry, it was long time ago. I've recollected, that this error occuring when trying to call refresh method in some conditions (in what case - i can't remember).

Posted: Mon 13 Dec 2004 12:18
by Paul
Sorry, it was long time ago. I've recollected, that this error occuring when trying to call refresh method in some conditions (in what case - i can't remember).
Assertion failure can happen if you receive any kind of unexpected error. It can be the different problem. Are you sure that line number was 1330.

Error

Posted: Mon 13 Dec 2004 12:25
by Serg
I still have a project where i've used a lot of odac functions and options. I've found some conditions when different errors are occuring. And i've found a ways to avoid this errors. I can test this and oter situations again, but i have no latest version of ODAC.