java.lang.ClassCastException: Insertion of illegal Element: 12

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • OutOfMemory
    via GitHub by tobeorla
    ,
    • java.lang.ClassCastException: Insertion of illegal Element: 12 at org.odftoolkit.odfdom.converter.pdf.PdfConverter.doConvert(PdfConverter.java:82) at package1.Main$PdfConverterExt.doConvert(Main.java:81) at package1.Main.doWork(Main.java:40) at package1.Main.main(Main.java:71) Caused by: java.lang.ClassCastException: Insertion of illegal Element: 12 at com.lowagie.text.Phrase.add(Unknown Source) at fr.opensagres.xdocreport.itext.extension.ExtendedParagraph.addElement(ExtendedParagraph.java:61) at org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:704) at org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:692) at org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.visit(ElementVisitorForIText.java:320) at org.odftoolkit.odfdom.dom.element.text.TextPElement.accept(TextPElement.java:1681) at org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82) at org.odftoolkit.odfdom.dom.DefaultElementVisitor.visit(DefaultElementVisitor.java:1813) at org.odftoolkit.odfdom.dom.element.draw.DrawTextBoxElement.accept(DrawTextBoxElement.java:737) at org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82) at org.odftoolkit.odfdom.dom.DefaultElementVisitor.visit(DefaultElementVisitor.java:1605) at org.odftoolkit.odfdom.dom.element.draw.DrawFrameElement.accept(DrawFrameElement.java:617) at org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82) at org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:701) at org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:692) at org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.visit(ElementVisitorForIText.java:320) at org.odftoolkit.odfdom.dom.element.text.TextPElement.accept(TextPElement.java:1681) at org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82) at org.odftoolkit.odfdom.dom.DefaultElementVisitor.visit(DefaultElementVisitor.java:2605) at org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.visit(ElementVisitorForIText.java:248) at org.odftoolkit.odfdom.dom.element.office.OfficeTextElement.accept(OfficeTextElement.java:805) at org.odftoolkit.odfdom.converter.pdf.PdfConverter.processBody(PdfConverter.java:126) at org.odftoolkit.odfdom.converter.pdf.PdfConverter.doConvert(PdfConverter.java:65) ... 3 more
    No Bugmate found.