https://issues.apache.org/bugzilla/show_bug.cgi?id=49452
Summary: NullPointerException in LineHeightPropertyMaker.java:57 Product: Fop Version: 0.95 Platform: PC OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: general AssignedTo: fop-dev@xmlgraphics.apache.org ReportedBy: dominik.stad...@gmx.at We use FOP to generate PDF reports. On one machine it started to fail with the following error with no apparent reason. It seems this is an intermittent problem as it did work before without code change. Also the same code runs fine on other machines. We will restart the machine soon and see if it keeps appearing on this one or if it really is gone again after restarting. I am attaching the XSL-FO that is used here, but generating this on another machine works fine so it doesn't seem to be the cause. Caused by: javax.xml.transform.TransformerException: java.lang.NullPointerException at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:717) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:313) at com.dynatrace.diagnostics.report.velocity.VelFopProcessor.merge(VelFopProcessor.java:136) at com.dynatrace.diagnostics.report.velocity.VelFOPReportRenderer.renderLayoutComponents(VelFOPReportRenderer.java:70) ... 40 more Caused by: java.lang.NullPointerException at org.apache.fop.fo.properties.LineHeightPropertyMaker.make(LineHeightPropertyMaker.java:57) at org.apache.fop.fo.properties.LineHeightPropertyMaker.compute(LineHeightPropertyMaker.java:75) at org.apache.fop.fo.properties.PropertyMaker.findProperty(PropertyMaker.java:267) at org.apache.fop.fo.properties.PropertyMaker.get(PropertyMaker.java:296) at org.apache.fop.fo.properties.CompoundPropertyMaker.get(CompoundPropertyMaker.java:145) at org.apache.fop.fo.PropertyList.get(PropertyList.java:176) at org.apache.fop.fo.StaticPropertyList.get(StaticPropertyList.java:72) at org.apache.fop.fo.PropertyList.get(PropertyList.java:156) at org.apache.fop.fo.flow.Block.bind(Block.java:120) at org.apache.fop.fo.FObj.processNode(FObj.java:126) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:286) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:163) at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:204) at com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:524) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.characters(AbstractSAXParser.java:538) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:463) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:637) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:708) ... 43 more -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.