Assertion Failure

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Alexsandro Afonso MOura
Posts: 2
Joined: Fri 03 Dec 2004 15:39

Assertion Failure

Post by Alexsandro Afonso MOura » Fri 03 Dec 2004 15:52

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

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Wed 08 Dec 2004 11:06

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.

Alexsandro Afonso MOura
Posts: 2
Joined: Fri 03 Dec 2004 15:39

Post by Alexsandro Afonso MOura » Thu 09 Dec 2004 12:31

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

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Fri 10 Dec 2004 14:11

Sorry, We cannot reproduce your problem in our environment.

Serg

Assertion Failure

Post by Serg » Mon 13 Dec 2004 11:15

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.

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Re: Assertion Failure

Post by Paul » Mon 13 Dec 2004 11:37

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.

Serg

Error

Post by Serg » Mon 13 Dec 2004 11:47

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).

Paul
Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Mon 13 Dec 2004 12:18

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.

Serg

Error

Post by Serg » Mon 13 Dec 2004 12:25

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.

Post Reply