debug in embedded mode

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

debug in embedded mode

Matthew Broadhead-2
hi, i am using FOP like
StreamSource xml = new StreamSource(new StringReader(fopjuice));
FopFactory fopFactory = FopFactory.newInstance(new File(".").toURI());
ByteArrayOutputStream out = new ByteArrayOutputStream();
Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, out);
TransformerFactory factory = TransformerFactory.newInstance();
Transformer transformer = factory.newTransformer();
Result res = new SAXResult(fop.getDefaultHandler());
transformer.transform(xml, res);

How do I turn on debugging?  I am getting this error message which
doesn't make sense to me
java.lang.ArrayIndexOutOfBoundsException: 0 >= 0

it only happens if i exclude xalan and xml-apis when embedding fop in
TomEE 7.0.3.  when i include the jars it works fine

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]