Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

JavaWorld Daily Brew

rendering reports using xep



hi,
i'm new to java and i need some help regarding some reports. i'm generating pdf reports from xml using xep and weblogic 9.2. from time to time for a column in the report the value NaN is diplayed instead of the actual value. after regenerating the report the column has the correct value. i checked both xml generated for the reports and are the same(same value for that column in each xml. Both times same xsl is used. when the Nan value is display i gett the following exception:

[Error] Context - XEPReportCreator.writeReport
Exception Message - java.lang.ArrayIndexOutOfBoundsException: -1
javax.xml.transform.TransformerException: java.lang.ArrayIndexOutOfBoundsException: -1
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:670)
at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:300)

Please help.