From fcbbbcb2c9e21a590efed09066eae5ce3a8abf52 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 11 Dec 2008 14:38:01 +0000 Subject: [PATCH] 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 --- test/java/org/apache/fop/intermediate/IFTester.java | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5