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

GitHub | GoogleCodeExporter | 1 year ago
  1. 0

    Convert ODT file fails with ClassCastException

    GitHub | 1 year ago | GoogleCodeExporter
    java.lang.ClassCastException: Insertion of illegal Element: 12
  2. 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
  3. 0

    footnote not working with itext conversion

    GitHub | 1 year ago | GoogleCodeExporter
    java.lang.ClassCastException: Insertion of illegal Element: 12
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OutOfMemory

    GitHub | 9 months ago | tobeorla
    org.odftoolkit.odfdom.converter.core.ODFConverterException: 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. org.odftoolkit.odfdom
      AbstractODFConverter.convert
      1. org.odftoolkit.odfdom.converter.pdf.internal.stylable.StylablePhrase.addElement(StylablePhrase.java:58)
      2. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:829)
      3. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:817)
      4. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.processParagraphOrHeading(ElementVisitorForIText.java:382)
      5. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.visit(ElementVisitorForIText.java:320)
      6. org.odftoolkit.odfdom.dom.element.text.TextPElement.accept(TextPElement.java:1681)
      7. org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82)
      8. org.odftoolkit.odfdom.dom.DefaultElementVisitor.visit(DefaultElementVisitor.java:4653)
      9. org.odftoolkit.odfdom.dom.element.text.TextNoteBodyElement.accept(TextNoteBodyElement.java:538)
      10. org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82)
      11. org.odftoolkit.odfdom.dom.DefaultElementVisitor.visit(DefaultElementVisitor.java:4645)
      12. org.odftoolkit.odfdom.dom.element.text.TextNoteElement.accept(TextNoteElement.java:144)
      13. org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82)
      14. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:826)
      15. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:817)
      16. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.visit(ElementVisitorForIText.java:426)
      17. org.odftoolkit.odfdom.dom.element.text.TextSpanElement.accept(TextSpanElement.java:1731)
      18. org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82)
      19. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:826)
      20. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.addITextContainer(ElementVisitorForIText.java:817)
      21. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.processParagraphOrHeading(ElementVisitorForIText.java:382)
      22. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.visit(ElementVisitorForIText.java:320)
      23. org.odftoolkit.odfdom.dom.element.text.TextPElement.accept(TextPElement.java:1681)
      24. org.odftoolkit.odfdom.converter.core.ElementVisitorConverter.visit(ElementVisitorConverter.java:82)
      25. org.odftoolkit.odfdom.dom.DefaultElementVisitor.visit(DefaultElementVisitor.java:2605)
      26. org.odftoolkit.odfdom.converter.pdf.internal.ElementVisitorForIText.visit(ElementVisitorForIText.java:253)
      27. org.odftoolkit.odfdom.dom.element.office.OfficeTextElement.accept(OfficeTextElement.java:805)
      28. org.odftoolkit.odfdom.converter.pdf.PdfConverter.processBody(PdfConverter.java:126)
      29. org.odftoolkit.odfdom.converter.pdf.PdfConverter.doConvert(PdfConverter.java:65)
      30. org.odftoolkit.odfdom.converter.pdf.PdfConverter.doConvert(PdfConverter.java:43)
      31. org.odftoolkit.odfdom.converter.core.AbstractODFConverter.convert(AbstractODFConverter.java:42)
      31 frames
    4. com.aca.report
      XMDIPanel_ReportBrowser$21.run
      1. com.aca.report.content.ReportContent_JOO.createPDF(ReportContent_JOO.java:130)
      2. com.aca.report.content.ReportContent_JOO.getBytes(ReportContent_JOO.java:90)
      3. com.aca.report.viewer.PDFRendererAdapter.<init>(PDFRendererAdapter.java:30)
      4. com.aca.report.viewer.ViewerPanel.loadReport(ViewerPanel.java:391)
      5. com.aca.report.viewer.XMDIPanel_ReportBrowser.loadReport(XMDIPanel_ReportBrowser.java:574)
      6. com.aca.report.viewer.XMDIPanel_ReportBrowser.access$9(XMDIPanel_ReportBrowser.java:566)
      7. com.aca.report.viewer.XMDIPanel_ReportBrowser$21.run(XMDIPanel_ReportBrowser.java:556)
      7 frames
    5. Java RT
      Dialog.setVisible
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
      3. java.awt.EventQueue.access$200(EventQueue.java:103)
      4. java.awt.EventQueue$3.run(EventQueue.java:694)
      5. java.awt.EventQueue$3.run(EventQueue.java:692)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      11. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
      12. java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
      13. java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
      14. java.security.AccessController.doPrivileged(Native Method)
      15. java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
      16. java.awt.Dialog.show(Dialog.java:1082)
      17. java.awt.Component.show(Component.java:1651)
      18. java.awt.Component.setVisible(Component.java:1603)
      19. java.awt.Window.setVisible(Window.java:1014)
      20. java.awt.Dialog.setVisible(Dialog.java:1005)
      20 frames
    6. org.jsphere.swing
      Desktop.handleException
      1. org.jsphere.swing.dialogs.ErrorDialog.init(ErrorDialog.java:120)
      2. org.jsphere.swing.dialogs.ErrorDialog.<init>(ErrorDialog.java:107)
      3. org.jsphere.swing.dialogs.ErrorDialog.handleException(ErrorDialog.java:84)
      4. org.jsphere.swing.panels.Desktop.handleException(Desktop.java:221)
      4 frames
    7. com.aca.report
      XMDIPanel_ReportBrowser$21.run
      1. com.aca.report.viewer.PDFRendererAdapter.<init>(PDFRendererAdapter.java:35)
      2. com.aca.report.viewer.ViewerPanel.loadReport(ViewerPanel.java:391)
      3. com.aca.report.viewer.XMDIPanel_ReportBrowser.loadReport(XMDIPanel_ReportBrowser.java:574)
      4. com.aca.report.viewer.XMDIPanel_ReportBrowser.access$9(XMDIPanel_ReportBrowser.java:566)
      5. com.aca.report.viewer.XMDIPanel_ReportBrowser$21.run(XMDIPanel_ReportBrowser.java:556)
      5 frames
    8. Java RT
      Dialog.setVisible
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
      3. java.awt.EventQueue.access$200(EventQueue.java:103)
      4. java.awt.EventQueue$3.run(EventQueue.java:694)
      5. java.awt.EventQueue$3.run(EventQueue.java:692)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      11. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
      12. java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
      13. java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
      14. java.security.AccessController.doPrivileged(Native Method)
      15. java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
      16. java.awt.Dialog.show(Dialog.java:1082)
      17. java.awt.Component.show(Component.java:1651)
      18. java.awt.Component.setVisible(Component.java:1603)
      19. java.awt.Window.setVisible(Window.java:1014)
      20. java.awt.Dialog.setVisible(Dialog.java:1005)
      20 frames
    9. org.jsphere.swing
      Desktop.handleException
      1. org.jsphere.swing.dialogs.ErrorDialog.init(ErrorDialog.java:120)
      2. org.jsphere.swing.dialogs.ErrorDialog.<init>(ErrorDialog.java:107)
      3. org.jsphere.swing.dialogs.ErrorDialog.handleException(ErrorDialog.java:84)
      4. org.jsphere.swing.panels.Desktop.handleException(Desktop.java:221)
      4 frames
    10. com.aca.report
      XMDIPanel_ReportBrowser$21.run
      1. com.aca.report.viewer.PDFRendererAdapter.<init>(PDFRendererAdapter.java:35)
      2. com.aca.report.viewer.ViewerPanel.loadReport(ViewerPanel.java:391)
      3. com.aca.report.viewer.XMDIPanel_ReportBrowser.loadReport(XMDIPanel_ReportBrowser.java:574)
      4. com.aca.report.viewer.XMDIPanel_ReportBrowser.access$9(XMDIPanel_ReportBrowser.java:566)
      5. com.aca.report.viewer.XMDIPanel_ReportBrowser$21.run(XMDIPanel_ReportBrowser.java:556)
      5 frames
    11. Java RT
      Dialog.setVisible
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
      3. java.awt.EventQueue.access$200(EventQueue.java:103)
      4. java.awt.EventQueue$3.run(EventQueue.java:694)
      5. java.awt.EventQueue$3.run(EventQueue.java:692)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      11. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154)
      12. java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
      13. java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
      14. java.security.AccessController.doPrivileged(Native Method)
      15. java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
      16. java.awt.Dialog.show(Dialog.java:1082)
      17. java.awt.Component.show(Component.java:1651)
      18. java.awt.Component.setVisible(Component.java:1603)
      19. java.awt.Window.setVisible(Window.java:1014)
      20. java.awt.Dialog.setVisible(Dialog.java:1005)
      20 frames
    12. org.jsphere.swing
      Desktop.handleException
      1. org.jsphere.swing.dialogs.ErrorDialog.init(ErrorDialog.java:120)
      2. org.jsphere.swing.dialogs.ErrorDialog.<init>(ErrorDialog.java:107)
      3. org.jsphere.swing.dialogs.ErrorDialog.handleException(ErrorDialog.java:84)
      4. org.jsphere.swing.panels.Desktop.handleException(Desktop.java:221)
      4 frames
    13. com.aca.report
      XMDIPanel_ReportBrowser$21.run
      1. com.aca.report.viewer.PDFRendererAdapter.<init>(PDFRendererAdapter.java:35)
      2. com.aca.report.viewer.ViewerPanel.loadReport(ViewerPanel.java:391)
      3. com.aca.report.viewer.XMDIPanel_ReportBrowser.loadReport(XMDIPanel_ReportBrowser.java:574)
      4. com.aca.report.viewer.XMDIPanel_ReportBrowser.access$9(XMDIPanel_ReportBrowser.java:566)
      5. com.aca.report.viewer.XMDIPanel_ReportBrowser$21.run(XMDIPanel_ReportBrowser.java:556)
      5 frames
    14. Java RT
      EventDispatchThread.run
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
      2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
      3. java.awt.EventQueue.access$200(EventQueue.java:103)
      4. java.awt.EventQueue$3.run(EventQueue.java:694)
      5. java.awt.EventQueue$3.run(EventQueue.java:692)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      8. java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      11. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      12. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      13. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      14. java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
      14 frames