org.w3c.dom.DOMException

The "font-family" property does not support integer values.

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web17

  • via Unknown by markus.sticker.epos@zf.com,
  • via GitHub by Caveat
    ,
  • Stack trace

    • org.w3c.dom.DOMException: The "font-family" property does not support integer values. at org.apache.batik.css.engine.value.AbstractValueFactory.createInvalidLexicalUnitDOMException(AbstractValueFactory.java:60) at org.apache.batik.css.engine.value.css2.FontFamilyManager.createValue(FontFamilyManager.java:174) at org.apache.batik.css.engine.CSSEngine$1.property(CSSEngine.java:744) at org.apache.batik.css.engine.CSSEngine.getCascadedStyleMap(CSSEngine.java:768) at org.apache.batik.css.engine.CSSEngine.getComputedStyle(CSSEngine.java:876) at org.apache.batik.bridge.CSSUtilities.getComputedStyle(CSSUtilities.java:82) at org.apache.batik.bridge.CSSUtilities.convertDisplay(CSSUtilities.java:564) at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:206) at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171) at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(GVTBuilder.java:219) at org.apache.batik.bridge.GVTBuilder.buildComposite(GVTBuilder.java:171) at org.apache.batik.bridge.GVTBuilder.build(GVTBuilder.java:82) at org.apache.fop.render.pdf.PDFImageHandlerSVG.handleImage(PDFImageHandlerSVG.java:99) at org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:242) at org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:198) at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingImageHandler(AbstractIFPainter.java:163) at org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingURI(AbstractIFPainter.java:285) at org.apache.fop.render.pdf.PDFPainter.drawImage(PDFPainter.java:173) at org.apache.fop.render.intermediate.IFRenderer.drawImage(IFRenderer.java:1260) at org.apache.fop.render.intermediate.IFRenderer.renderImage(IFRenderer.java:1247) at org.apache.fop.render.AbstractRenderer.renderInlineViewport(AbstractRenderer.java:816) at org.apache.fop.render.AbstractPathOrientedRenderer.renderInlineViewport(AbstractPathOrientedRenderer.java:829) at org.apache.fop.render.intermediate.IFRenderer.renderInlineViewport(IFRenderer.java:853) at org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:678) at org.apache.fop.render.intermediate.IFRenderer.renderInlineArea(IFRenderer.java:900) at org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:643) at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:561) at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:598) at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:972) at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:546) at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:598) at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:972) at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:546) at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:598) at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:972) at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:546) at org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:598) at org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:972) at org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:546) at org.apache.fop.render.AbstractRenderer.renderFlow(AbstractRenderer.java:451) at org.apache.fop.render.AbstractPathOrientedRenderer.renderFlow(AbstractPathOrientedRenderer.java:782) at org.apache.fop.render.AbstractRenderer.renderMainReference(AbstractRenderer.java:428) at org.apache.fop.render.AbstractRenderer.renderBodyRegion(AbstractRenderer.java:352) at org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:299) at org.apache.fop.render.intermediate.IFRenderer.renderRegionViewport(IFRenderer.java:735) at org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:273) at org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:238) at org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:584) at org.apache.fop.area.RenderPagesModel.renderPage(RenderPagesModel.java:193) at org.apache.fop.area.RenderPagesModel.checkPreparedPages(RenderPagesModel.java:174) at org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:146) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:315) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:190) at org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.makeNewPage(AbstractPageSequenceLayoutManager.java:286) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.makeNewPage(PageSequenceLayoutManager.java:150) at org.apache.fop.layoutmgr.PageBreaker.handleBreakTrait(PageBreaker.java:543) at org.apache.fop.layoutmgr.PageBreaker.startPart(PageBreaker.java:443) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:543) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:486) at org.apache.fop.layoutmgr.AbstractBreaker.addAreas(AbstractBreaker.java:481) at org.apache.fop.layoutmgr.PageBreaker.doPhase3(PageBreaker.java:312) at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:436) at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:90) at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:112) at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267) at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:129) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:347) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:181) at net.sf.saxon.event.ContentHandlerProxy.endElement(ContentHandlerProxy.java:395) at net.sf.saxon.event.NamespaceReducer.endElement(NamespaceReducer.java:208) at net.sf.saxon.event.ReceivingContentHandler.endElement(ReceivingContentHandler.java:425) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(UnknownSource) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(UnknownSource) at org.apache.xerces.parsers.XML11Configuration.parse(UnknownSource) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(UnknownSource) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:405) at net.sf.saxon.event.Sender.send(Sender.java:178) at net.sf.saxon.IdentityTransformer.transform(IdentityTransformer.java:39) at com.zf.softwaredoku.fop.SaxonImpl.convert(SaxonImpl.java:71) at com.zf.softwaredoku.fop.Generator.main(Generator.java:61)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,