PD4ML v4 › Forums › PD4ML v3 Archived Forums (Read Only) › Troubleshooting › Erratic NullPointerException in PD4ML.render() This topic has 1 reply, 2 voices, and was last updated Jun 13, 201208:00:54 by PD4ML. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts bwis24 June 13, 2012 at 08:00 #26738 We’re using PD4ML 3.70fx4 in a servlet running in a Tomcat container and PD4ML.render(URL, ByteArrayOutputStream) causes an erratic NullPointerException with the following stacktrace: java.lang.NullPointerException at org.zefer.pd4ml.PD4ML.o00000(Unknown Source) at org.zefer.pd4ml.PD4ML.render(Unknown Source) at PDFGeneratorServlet.doPdfGeneration(PDFGeneratorServlet.java:142) … Sadly, the stacktrace does not provide enough information to locate the root cause. This behaviour is erratic. As a matter of fact, the same request does usually succeed upon retry just a second later. But responding with a 404 is still not feasible from the customers’ perspective. Any suggestions appreciated! PD4ML June 14, 2012 at 18:48 #29026 Did you check if the problem exists in the most recent version of PD4ML? Author Posts Viewing 2 posts - 1 through 2 (of 2 total) The forum ‘Troubleshooting’ is closed to new topics and replies.