Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

XMLDom Package fails with ORA-29532: Java call terminated by uncaught Java exception

3990Apr 11 2002
Hi,
i receive the following errormessage.

ORA-29532: Java call terminated by uncaught Java exception:
java.lang.ArrayIndexOutOfBoundsException: -2048 < 0
ORA-06512: at "WF_OWNER.PKG_OUTBOUND", line 1023

What do i do?
I select Clobs from a table and put them into a xml document using the XML Dom package.
I use a plsql procedure running in a loop, as long as it can find a clob. It writes a maximum of 500 clobs into one xml document. Then it creates the next document containing 500 clobs at a max. After the creation of the fourth file, the error is raised.
I receive the same error when i put 1000 clobs into each xml document, but then i receive it after the creation of 2 files.
I tried to create only 1 file containg 2000 clobs. The error is the same, but this document is not created at all.

When i set serveroutput on, i get the following inforamtion:
...
...
...
The id is2146435072
The id is2146435073
The id is-2147483648
java.lang.ArrayIndexOutOfBoundsException: -2048 < 0
at java.util.Vector.elementAt(Vector.java)
at oracle.xml.parser.plsql.XMLNodeCover.getDocument(XMLNodeCover.java:55)
at oracle.xml.parser.plsql.XMLDocumentCover.getDocumentElement(XMLDocumentCover.java:223)

begin PKG_OUTBOUND.CREATE_OUTBOUND_PIPE; end;

ORA-29554: unhandled Java out of memory condition
ORA-29532: Java call terminated by uncaught Java exception: java.lang.ArrayIndexOutOfBoundsException: -2048 < 0
ORA-06512: at "WF_OWNER.PKG_OUTBOUND", line 853

Looking up where the string: "The id is xxxx" is generated,
i found that it is from a oracle plsql procedure in the xml dom package.

The only thing i can do, is close the session, open a new one and start the creation of the files again.
Then it will do another 2000 clobs.

Thanks for help in advance
Claus

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 9 2002
Added on Apr 11 2002
0 comments
351 views