diennea / docetproject

Docet - an online documentation manager
https://docetproject.org
Apache License 2.0
2 stars 10 forks source link

PDFDocumentGenerator.java > Error on Serving PDF Document #47

Open mcRoot opened 6 years ago

mcRoot commented 6 years ago

See stacktrace below:

Exception com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators.

com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced save/restore state operators.
    at com.lowagie.text.pdf.PdfContentByte.sanityCheck(PdfContentByte.java:3126)
    at com.lowagie.text.pdf.PdfContentByte.reset(PdfContentByte.java:1283)
    at com.lowagie.text.pdf.PdfContentByte.reset(PdfContentByte.java:1272)
    at com.lowagie.text.pdf.PdfWriter.resetContent(PdfWriter.java:741)
    at com.lowagie.text.pdf.PdfDocument.initPage(PdfDocument.java:1147)
    at com.lowagie.text.pdf.PdfDocument.newPage(PdfDocument.java:965)
    at com.lowagie.text.pdf.PdfDocument.close(PdfDocument.java:813)
    at com.lowagie.text.Document.close(Document.java:450)
    at docet.engine.PDFDocumentHandler.createPDF(PDFDocumentHandler.java:919)
    at docet.engine.PDFDocumentHandler.createPDF(PDFDocumentHandler.java:375)
    at docet.engine.PDFDocumentGenerator.generateDocetDocument(PDFDocumentGenerator.java:81)
    at docet.engine.DocetManager.serveRequest(DocetManager.java:1002)