From: Jeremias Maerki Date: Thu, 11 Dec 2008 14:38:01 +0000 (+0000) Subject: Fixed NPE: the user agent was not set. X-Git-Tag: fop-1_0~115^2~116 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fcbbbcb2c9e21a590efed09066eae5ce3a8abf52;p=xmlgraphics-fop.git Fixed NPE: the user agent was not set. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725701 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/java/org/apache/fop/intermediate/IFTester.java b/test/java/org/apache/fop/intermediate/IFTester.java index 6ad2672e7..7f64ad489 100644 --- a/test/java/org/apache/fop/intermediate/IFTester.java +++ b/test/java/org/apache/fop/intermediate/IFTester.java @@ -113,6 +113,7 @@ public class IFTester { ifRenderer.setUserAgent(ua); IFSerializer serializer = new IFSerializer(); + serializer.setUserAgent(ua); DOMResult result = new DOMResult(); serializer.setResult(result); ifRenderer.setDocumentHandler(serializer);