今天客户impdp时报错
ORA-39125: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS while calling DBMS_METADATA.CONVERT []
ORA-06502: PL/SQL: numeric or value error
LPX-00241: entity reference is not well formed
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 6228
----- PL/SQL Call Stack -----
object line object
handle number name
7000006e6f21760 14916 package body SYS.KUPW$WORKER
7000006e6f21760 6293 package body SYS.KUPW$WORKER
7000006e6f21760 12280 package body SYS.KUPW$WORKER
7000006e6f21760 3278 package body SYS.KUPW$WORKER
7000006e6f21760 6882 package body SYS.KUPW$WORKER
7000006e6f21760 1259 package body SYS.KUPW$WORKER
7000006c9b56760 2 anonymous block
当时是在处理TRIGGER时报错,估计TRIGGER有什么问题,加了个exclude=TRIGGER导入,就可以了
查了下MOS,发现一个相近的错误Import Datapump Job fails with ORA-39125 KUPW$WORKER.PUT_DDLS while calling DBMS_METADATA.CONVERT [ID 453918.1]
错误描述有少许不同
ORA-39125: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS while calling
DBMS_METADATA.CONVERT []
ORA-06502: PL/SQL: numeric or value error
LPX-00225: end-element tag "BODY" does not match start-element tag "WHENCLAUSE"
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 6228
----- PL/SQL Call Stack -----
object line object
handle number name
0xed3816d8 14916 package body SYS.KUPW$WORKER
0xed3816d8 6293 package body SYS.KUPW$WORKER
0xed3816d8 12280 package body SYS.KUPW$WORKER
0xed3816d8 3278 package body SYS.KUPW$WORKER
0xed3816d8 6882 package body SYS.KUPW$WORKER
0xed3816d8 1259 package body SYS.KUPW$WORKER
0xd58fc808 2 anonymous block
这个错误是指在EXPDP的源库上,有触发器的WHEN条件后面还带有空字符造成的
但是检查了这个源库上的触发器,未发现有这个情况
但是从报错的堆栈的来,位置都是一模一样,至少可以确认是由于触发器源代码导致的,但是可能原因不同
暂时让客户不导入触发器,触发器使用脚本重建就是
ORA-39125/LPX-00225这个错误在10204修复,10202/10203有小补丁。
ORA-39125: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS while calling DBMS_METADATA.CONVERT []
ORA-06502: PL/SQL: numeric or value error
LPX-00241: entity reference is not well formed
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 6228
----- PL/SQL Call Stack -----
object line object
handle number name
7000006e6f21760 14916 package body SYS.KUPW$WORKER
7000006e6f21760 6293 package body SYS.KUPW$WORKER
7000006e6f21760 12280 package body SYS.KUPW$WORKER
7000006e6f21760 3278 package body SYS.KUPW$WORKER
7000006e6f21760 6882 package body SYS.KUPW$WORKER
7000006e6f21760 1259 package body SYS.KUPW$WORKER
7000006c9b56760 2 anonymous block
当时是在处理TRIGGER时报错,估计TRIGGER有什么问题,加了个exclude=TRIGGER导入,就可以了
查了下MOS,发现一个相近的错误Import Datapump Job fails with ORA-39125 KUPW$WORKER.PUT_DDLS while calling DBMS_METADATA.CONVERT [ID 453918.1]
错误描述有少许不同
ORA-39125: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS while calling
DBMS_METADATA.CONVERT []
ORA-06502: PL/SQL: numeric or value error
LPX-00225: end-element tag "BODY" does not match start-element tag "WHENCLAUSE"
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
ORA-06512: at "SYS.KUPW$WORKER", line 6228
----- PL/SQL Call Stack -----
object line object
handle number name
0xed3816d8 14916 package body SYS.KUPW$WORKER
0xed3816d8 6293 package body SYS.KUPW$WORKER
0xed3816d8 12280 package body SYS.KUPW$WORKER
0xed3816d8 3278 package body SYS.KUPW$WORKER
0xed3816d8 6882 package body SYS.KUPW$WORKER
0xed3816d8 1259 package body SYS.KUPW$WORKER
0xd58fc808 2 anonymous block
这个错误是指在EXPDP的源库上,有触发器的WHEN条件后面还带有空字符造成的
但是检查了这个源库上的触发器,未发现有这个情况
但是从报错的堆栈的来,位置都是一模一样,至少可以确认是由于触发器源代码导致的,但是可能原因不同
暂时让客户不导入触发器,触发器使用脚本重建就是
ORA-39125/LPX-00225这个错误在10204修复,10202/10203有小补丁。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8242091/viewspace-688197/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8242091/viewspace-688197/