Toad World® Forums

Error RE package from DDL script


#1

Hi,

I get a JScript runtime error in REDataMigtratorDDLOR, LoadPackage() at line 4262
[start = parseInt(dataNode.getAttribute("offset*))].

This occurs in a package that declares a number of variables in the Spec and has no Body content.

Maybe you could add some protection for this case.

Regards
Malcolm


#2

Hi Malcolm,

can you send us sample SQL for the package, plese? Thank you in advance.

Regards,

Vaclav


#3

Hi Vaclav,

Here is the code that gives rise to the error.

Regards
Malcolm

CREATE OR REPLACE PACKAGE XYZ
IS

NOTE_ID INTEGER;
SYMBOL_ID INTEGER;
END XYZ;
/
CREATE OR REPLACE PACKAGE BODY XYZ
IS
END XYZ;
/


#4

Hi Malcolm,

thank you. Good news. The problem is fixed. Next version will work better :slight_smile:

Regards,

Vaclav