User d8da4712c1
28-05-2013 13:04:39
Greetings "Peter ;-)",
so I was trying some jc_insert calls using sql*plus/sql developer when I found out that my default request (1) works without problems while when using other parameters (2) I'm having the following error (3), thank you for checking the code bellow:
(1):
declare
cd_id cd_id_array;
begin
cd_id :=jchem_table_pkg.jc_insert('qq1
Marvin 03140315382D
--
13 14 0 0 0 0 0 0 0 0999 V2000
2.2043 0.1758 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
1.4898 0.5883 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.4898 1.4133 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
0.7754 0.1758 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0609 0.5883 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-0.6536 0.1758 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-1.3680 0.5883 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-2.0825 0.1758 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-2.0825 -0.6492 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-1.3680 -1.0617 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-0.6536 -0.6492 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0609 -1.0617 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
0.7754 -0.6492 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1 2 1 0 0 0 0
2 3 2 0 0 0 0
2 4 1 0 0 0 0
4 5 2 0 0 0 0
5 6 1 0 0 0 0
6 7 2 0 0 0 0
7 8 1 0 0 0 0
8 9 2 0 0 0 0
9 10 1 0 0 0 0
10 11 2 0 0 0 0
6 11 1 0 0 0 0
11 12 1 0 0 0 0
12 13 1 0 0 0 0
4 13 1 0 0 0 0
M END
','sub_structure',null,'true','true');
end;
(3)////////////////////////////////////////////////////////////////////////////////
Erreur commençant à la ligne 1 de la commande :
declare
cd_id cd_id_array;
begin
cd_id :=jchem_table_pkg.jc_insert('qq1
Marvin 03140315382D
--
13 14 0 0 0 0 0 0 0 0999 V2000
2.2043 0.1758 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
1.4898 0.5883 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.4898 1.4133 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
0.7754 0.1758 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0609 0.5883 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-0.6536 0.1758 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-1.3680 0.5883 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-2.0825 0.1758 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-2.0825 -0.6492 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-1.3680 -1.0617 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-0.6536 -0.6492 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0609 -1.0617 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
0.7754 -0.6492 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1 2 1 0 0 0 0
2 3 2 0 0 0 0
2 4 1 0 0 0 0
4 5 2 0 0 0 0
5 6 1 0 0 0 0
6 7 2 0 0 0 0
7 8 1 0 0 0 0
8 9 2 0 0 0 0
9 10 1 0 0 0 0
10 11 2 0 0 0 0
6 11 1 0 0 0 0
11 12 1 0 0 0 0
12 13 1 0 0 0 0
4 13 1 0 0 0 0
M END
','sub_structure',null,'true','true');
end;
Rapport d'erreur :
ORA-29532: appel Java arrêté par une exception Java non interceptée : java.lang.RuntimeException: Error while getting the next hits: ORA-00600: code d'erreur interne, arguments : [kollasg-2], [], [], [], [], [], [], [], [], [], [], []
ORA-06512: à "KIET.JCHEM_TABLE_PKG", ligne 30
ORA-06512: à "KIET.JCHEM_TABLE_PKG", ligne 20
ORA-06512: à ligne 4
29532. 00000 - "Java call terminated by uncaught Java exception: %s"
*Cause: A Java exception or error was signaled and could not be
resolved by the Java code.
*Action: Modify Java code, if this behavior is not intended.
(2)///////////////////////////////////////////////////:
declare
cd_id cd_id_array;
begin
cd_id :=jchem_table_pkg.jc_insert('qq1
Marvin 03140315382D
--
13 14 0 0 0 0 0 0 0 0999 V2000
2.2043 0.1758 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
1.4898 0.5883 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1.4898 1.4133 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
0.7754 0.1758 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0609 0.5883 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-0.6536 0.1758 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-1.3680 0.5883 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-2.0825 0.1758 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-2.0825 -0.6492 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-1.3680 -1.0617 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
-0.6536 -0.6492 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
0.0609 -1.0617 0.0000 O 0 0 0 0 0 0 0 0 0 0 0 0
0.7754 -0.6492 0.0000 C 0 0 0 0 0 0 0 0 0 0 0 0
1 2 1 0 0 0 0
2 3 2 0 0 0 0
2 4 1 0 0 0 0
4 5 2 0 0 0 0
5 6 1 0 0 0 0
6 7 2 0 0 0 0
7 8 1 0 0 0 0
8 9 2 0 0 0 0
9 10 1 0 0 0 0
10 11 2 0 0 0 0
6 11 1 0 0 0 0
11 12 1 0 0 0 0
12 13 1 0 0 0 0
4 13 1 0 0 0 0
M END
','sub_structure');
end;