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

GitHub | GoogleCodeExporter | 1 year ago
  1. 0

    The text ODF document with frame can't be converted to PDF

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

    footnote not working with itext conversion

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

    OutOfMemory

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

    Automated exception search integrated into your IDE

  5. 0

    Convert ODT file fails with ClassCastException

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

    Insertion of illegal Element

    Stack Overflow | 3 years ago | user2750557
    java.lang.ClassCastException: Insertion of illegal Element: 30

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    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:61)
      1 frame
    4. org.odftoolkit.odfdom
      PdfConverter.doConvert
      1. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:704)
      2. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:692)
      3. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.visit(ElementVisitorForIText.java:320)
      4. org.odftoolkit.odfdom.dom.element.text.TextPElement.accept(TextPElement.java:1681)
      5. org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82)
      6. org.odftoolkit.odfdom.dom.DefaultElementVisitor.visit(DefaultElementVisitor.java:1813)
      7. org.odftoolkit.odfdom.dom.element.draw.DrawTextBoxElement.accept(DrawTextBoxElement.java:737)
      8. org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82)
      9. org.odftoolkit.odfdom.dom.DefaultElementVisitor.visit(DefaultElementVisitor.java:1605)
      10. org.odftoolkit.odfdom.dom.element.draw.DrawFrameElement.accept(DrawFrameElement.java:617)
      11. org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82)
      12. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:701)
      13. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:692)
      14. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.visit(ElementVisitorForIText.java:320)
      15. org.odftoolkit.odfdom.dom.element.text.TextPElement.accept(TextPElement.java:1681)
      16. org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82)
      17. org.odftoolkit.odfdom.dom.DefaultElementVisitor.visit(DefaultElementVisitor.java:2605)
      18. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.visit(ElementVisitorForIText.java:248)
      19. org.odftoolkit.odfdom.dom.element.office.OfficeTextElement.accept(OfficeTextElement.java:805)
      20. org.odftoolkit.odfdom.converter.pdf.PdfConverter.processBody(PdfConverter.java:126)
      21. org.odftoolkit.odfdom.converter.pdf.PdfConverter.doConvert(PdfConverter.java:65)
      21 frames
    5. package1
      Main.main
      1. package1.Main$PdfConverterExt.doConvert(Main.java:81)
      2. package1.Main.doWork(Main.java:40)
      3. package1.Main.main(Main.java:71)
      3 frames