at com.itextpdf.tool.xml.css.CssUtils.processFont(CssUtils.java:292) at com.itextpdf.tool.xml.css.StyleAttrCSSResolver.splitRules(StyleAttrCSSResolver.java:289) at com.itextpdf.tool.xml.css.StyleAttrCSSResolver.resolveStyles(StyleAttrCSSResolver.java:176) at com.itextpdf.tool.xml.pipeline.css.CssResolverPipeline.open(CssResolverPipeline.java:102) at com.itextpdf.tool.xml.XMLWorker.startElement(XMLWorker.java:102) at com.itextpdf.tool.xml.parser.XMLParser.startElement(XMLParser.java:370) at com.itextpdf.tool.xml.parser.state.TagAttributeState.process(TagAttributeState.java:79) at com.itextpdf.tool.xml.parser.XMLParser.parseWithReader(XMLParser.java:235) at com.itextpdf.tool.xml.parser.XMLParser.parse(XMLParser.java:213) at com.itextpdf.tool.xml.XMLWorkerHelper.parseXHtml(XMLWorkerHelper.java:175) at com.soft.plat.common.util.PDFUtil.createPDF(PDFUtil.java:273) at com.soft.plat.common.util.PDFUtil.scontractExport(PDFUtil.java:114) atcom.soft.exchange.biz.contract.action.PrintScontractPdfAction.downAgreement(PrintScontractPdfAction.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 在用freemarker做模板用itextpdf做输出时候抛出这个错误,求助。 XMLWorkerHelper.getInstance().parseXHtml(pdfwriter, document, isr)