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

GitHub | GoogleCodeExporter | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    footnote not working with itext conversion

    GitHub | 1 year ago | GoogleCodeExporter
    java.lang.ClassCastException: Insertion of illegal Element: 12
  2. 0

    OutOfMemory

    GitHub | 1 year ago | tobeorla
    org.odftoolkit.odfdom.converter.core.ODFConverterException: java.lang.ClassCastException: Insertion of illegal Element: 12
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Convert ODT file fails with ClassCastException

    GitHub | 1 year ago | GoogleCodeExporter
    java.lang.ClassCastException: Insertion of illegal Element: 12

    Root Cause Analysis

    1. java.lang.ClassCastException

      Insertion of illegal Element: 12

      at com.lowagie.text.Phrase.add()
    2. iText-4.2.1
      Phrase.add
      1. com.lowagie.text.Phrase.add(Unknown Source)
      1 frame
    3. fr.opensagres.xdocreport
      ExtendedParagraph.addElement
      1. fr.opensagres.xdocreport.itext.extension.ExtendedParagraph.addElement(ExtendedParagraph.java:63)
      1 frame
    4. org.odftoolkit.odfdom
      AbstractODFConverter.convert
      1. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:829)
      2. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:817)
      3. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.processParagraphOrHeading(ElementVisitorForIText.java:382)
      4. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.visit(ElementVisitorForIText.java:320)
      5. org.odftoolkit.odfdom.dom.element.text.TextPElement.accept(TextPElement.java:1681)
      6. org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82)
      7. org.odftoolkit.odfdom.dom.DefaultElementVisitor.visit(DefaultElementVisitor.java:4653)
      8. org.odftoolkit.odfdom.dom.element.text.TextNoteBodyElement.accept(TextNoteBodyElement.java:538)
      9. org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82)
      10. org.odftoolkit.odfdom.dom.DefaultElementVisitor.visit(DefaultElementVisitor.java:4645)
      11. org.odftoolkit.odfdom.dom.element.text.TextNoteElement.accept(TextNoteElement.java:144)
      12. org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82)
      13. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:826)
      14. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:817)
      15. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.processParagraphOrHeading(ElementVisitorForIText.java:382)
      16. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.visit(ElementVisitorForIText.java:320)
      17. org.odftoolkit.odfdom.dom.element.text.TextPElement.accept(TextPElement.java:1681)
      18. org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82)
      19. org.odftoolkit.odfdom.dom.DefaultElementVisitor.visit(DefaultElementVisitor.java:2605)
      20. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.visit(ElementVisitorForIText.java:253)
      21. org.odftoolkit.odfdom.dom.element.office.OfficeTextElement.accept(OfficeTextElement.java:805)
      22. org.odftoolkit.odfdom.converter.pdf.PdfConverter.processBody(PdfConverter.java:126)
      23. org.odftoolkit.odfdom.converter.pdf.PdfConverter.doConvert(PdfConverter.java:65)
      24. org.odftoolkit.odfdom.converter.pdf.PdfConverter.doConvert(PdfConverter.java:43)
      25. org.odftoolkit.odfdom.converter.core.AbstractODFConverter.convert(AbstractODFConverter.java:42)
      25 frames
    5. it.infocamere.mama
      ThreadCreateAnteprimeDisr.run
      1. it.infocamere.mama.gestori.GestoreAllegatoXdocReport.generaAllegatoPdfFromLetteraOdt(GestoreAllegatoXdocReport.java:325)
      2. it.infocamere.mama.gestori.GestoreAllegatoXdocReport.generaInformativaPec(GestoreAllegatoXdocReport.java:118)
      3. it.infocamere.mama.threadDispatcher.create.ThreadCreateAnteprimeDisr.run(ThreadCreateAnteprimeDisr.java:174)
      3 frames