Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> nullpointerexception when running xslsample procedure from Oracle?
Running the xslsample procedure from 9i I get this error on
random executions when running multiple times from one
connection. Is there a patch for this or is this a known
problem?
I'm trying to set up a procedure to take in a clob, parse it,
transform it with a stylesheet, and then insert it to the
database, but I'm having the problem demonstrated here by
the Oracle provided xslsample procedure.
Here's some output - fails, then runs 3 times ok, then fails. All the calls are exactly the same.
BEGIN xslsample
( '/u01/apps/oracle/product/9.0.1/xdk/demo/plsql/parser', 'family
.xml','iden.xsl','n.xml','err' ); END;
*
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.NullPointerException
ORA-06512: at "SYS.XSLPROCESSORCOVER", line 0 ORA-06512: at "SYS.XSLPROCESSOR", line 95 ORA-06512: at "PROPERTIES.XSLSAMPLE", line 67 ORA-06512: at line 1BEGIN xslsample
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
BEGIN xslsample
( '/u01/apps/oracle/product/9.0.1/xdk/demo/plsql/parser', 'family
.xml','iden.xsl','n.xml','err' ); END;
*
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.NullPointerException
ORA-06512: at "SYS.XSLPROCESSORCOVER", line 0 ORA-06512: at "SYS.XSLPROCESSOR", line 95 ORA-06512: at "PROPERTIES.XSLSAMPLE", line 67 ORA-06512: at line 1BEGIN xslsample
*
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.NullPointerException
ORA-06512: at "SYS.XSLPROCESSORCOVER", line 0 ORA-06512: at "SYS.XSLPROCESSOR", line 95 ORA-06512: at "PROPERTIES.XSLSAMPLE", line 67 ORA-06512: at line 1Received on Mon Oct 29 2001 - 11:45:45 CST