Page 1 of 1

Raising FB-Exception with 2 Parameters: <Missing arg #1 - possibly status vector overflow>

Posted: Fri 02 Aug 2019 09:37
by Jank
Hi,

first, this themes to be a problem with the Firebird-Server, but I have it using IBDAC. If I use isql, I do not have the problem.

I create a exception in employee.fdb:

Code: Select all

CREATE EXCEPTION EX_2 '@1@2'; 
Now I raise it:

Code: Select all

execute block 
as 
begin 
  exception EX_2 using ('a', 'b'); 
end 
with Ibdac (6.2.9) i get this message:
EX_2
ab
<Missing arg #1 - possibly status vector overflow>

in isql i get:
-EX_2
-ab
-At block line: 1, col: 24


what is the difference, why I get <Missing arg #1 - possibly status vector overflow>, what does ibdac different to isql?
If I set a 3rd Param, I don't get the 'Missing arg'-Extension.

Code: Select all

execute block 
as 
begin 
  exception EX_2 using ('a', 'b', 'c'); 
end 
Regards, Jan

Re: Raising FB-Exception with 2 Parameters: <Missing arg #1 - possibly status vector overflow>

Posted: Fri 02 Aug 2019 11:01
by Jank
The Firebird-Crew said something to the problem:

http://tracker.firebirdsql.org/browse/CORE-6113


Are there Any Plans to switch from the isc-Api to the new OO-Api?

Regards, Jan

Re: Raising FB-Exception with 2 Parameters: <Missing arg #1 - possibly status vector overflow>

Posted: Mon 05 Aug 2019 09:13
by MaximG
Currently we're not intending to transition from isc-Api to to the new OO-Api. You can leave your feedback or suggestions on our UserVoice page (https://devart.uservoice.com/forums/104 ... y_id=24461). If your suggestion gets enough votes, we'll implement it.

Re: Raising FB-Exception with 2 Parameters: <Missing arg #1 - possibly status vector overflow>

Posted: Tue 13 Aug 2019 11:54
by frickler
The problem is that IBDAC has to connect to Interbase and Firebird. So they have to use an API which work with both. Maybe some day in the future there will be a "FBDAC" for Firebird only.

Re: Raising FB-Exception with 2 Parameters: <Missing arg #1 - possibly status vector overflow>

Posted: Fri 29 May 2020 12:13
by ViktorV
OO-Api is not on our roadmap at the moment, but as we wrote earlier, you can write about supporting this functionality on our User Voice forum: https://devart.uservoice.com/forums/104 ... y_id=24461 to speed up the implementation of this functionality.