java.lang.IllegalStateException: Got no handler for type external-element-field

Pentaho BI Platform Tracking | Will Gorman | 8 years 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

    In trying to understand what the external-element-field is used for, I ran into a heap space error during preview and save error with a simple report that only had an external-element-field in the report header, which linked to a simple report that had a single label in the report header. Save Error: java.lang.IllegalStateException: Got no handler for type external-element-field at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleElementWriterFactory.createHandler(BundleElementWriterFactory.java:69) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeChildElements(AbstractElementWriteHandler.java:577) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportHeaderElementWriteHandler.writeElement(ReportHeaderElementWriteHandler.java:94) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportDefinitionWriteHandler.writeChildElement(ReportDefinitionWriteHandler.java:124) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportDefinitionWriteHandler.writeElement(ReportDefinitionWriteHandler.java:111) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.LayoutFileWriter.writeReport(LayoutFileWriter.java:99) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:146) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:113) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReportToZipFile(BundleWriter.java:189) at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:182) at org.pentaho.reporting.designer.core.actions.report.SaveReportAsAction.saveReportAs(SaveReportAsAction.java:97) at org.pentaho.reporting.designer.core.actions.report.SaveReportAsAction.actionPerformed(SaveReportAsAction.java:60) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(Unknown Source) at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source) at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source) at javax.swing.JMenuItem.processMouseEvent(Unknown Source) at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source) at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(Unknown Source) at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source) at java.awt.Toolkit.notifyAWTEventListeners(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

    Pentaho BI Platform Tracking | 8 years ago | Will Gorman
    java.lang.IllegalStateException: Got no handler for type external-element-field
  2. 0

    In trying to understand what the external-element-field is used for, I ran into a heap space error during preview and save error with a simple report that only had an external-element-field in the report header, which linked to a simple report that had a single label in the report header. Save Error: java.lang.IllegalStateException: Got no handler for type external-element-field at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleElementWriterFactory.createHandler(BundleElementWriterFactory.java:69) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeChildElements(AbstractElementWriteHandler.java:577) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportHeaderElementWriteHandler.writeElement(ReportHeaderElementWriteHandler.java:94) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportDefinitionWriteHandler.writeChildElement(ReportDefinitionWriteHandler.java:124) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportDefinitionWriteHandler.writeElement(ReportDefinitionWriteHandler.java:111) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.LayoutFileWriter.writeReport(LayoutFileWriter.java:99) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:146) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:113) at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReportToZipFile(BundleWriter.java:189) at org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:182) at org.pentaho.reporting.designer.core.actions.report.SaveReportAsAction.saveReportAs(SaveReportAsAction.java:97) at org.pentaho.reporting.designer.core.actions.report.SaveReportAsAction.actionPerformed(SaveReportAsAction.java:60) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(Unknown Source) at javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source) at javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source) at javax.swing.JMenuItem.processMouseEvent(Unknown Source) at javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source) at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(Unknown Source) at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source) at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source) at java.awt.Toolkit.notifyAWTEventListeners(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

    Pentaho BI Platform Tracking | 8 years ago | Will Gorman
    java.lang.IllegalStateException: Got no handler for type external-element-field

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Got no handler for type external-element-field

      at org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleElementWriterFactory.createHandler()
    2. org.pentaho.reporting
      SaveReportAsAction.actionPerformed
      1. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleElementWriterFactory.createHandler(BundleElementWriterFactory.java:69)
      2. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.AbstractElementWriteHandler.writeChildElements(AbstractElementWriteHandler.java:577)
      3. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportHeaderElementWriteHandler.writeElement(ReportHeaderElementWriteHandler.java:94)
      4. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportDefinitionWriteHandler.writeChildElement(ReportDefinitionWriteHandler.java:124)
      5. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.elements.ReportDefinitionWriteHandler.writeElement(ReportDefinitionWriteHandler.java:111)
      6. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.LayoutFileWriter.writeReport(LayoutFileWriter.java:99)
      7. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:146)
      8. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReport(BundleWriter.java:113)
      9. org.pentaho.reporting.engine.classic.core.modules.parser.bundle.writer.BundleWriter.writeReportToZipFile(BundleWriter.java:189)
      10. org.pentaho.reporting.designer.core.actions.report.SaveReportUtilities.saveReport(SaveReportUtilities.java:182)
      11. org.pentaho.reporting.designer.core.actions.report.SaveReportAsAction.saveReportAs(SaveReportAsAction.java:97)
      12. org.pentaho.reporting.designer.core.actions.report.SaveReportAsAction.actionPerformed(SaveReportAsAction.java:60)
      12 frames
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      2. javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      4. javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      5. javax.swing.AbstractButton.doClick(Unknown Source)
      6. javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
      7. javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(Unknown Source)
      8. javax.swing.JMenuItem.fireMenuDragMouseReleased(Unknown Source)
      9. javax.swing.JMenuItem.processMenuDragMouseEvent(Unknown Source)
      10. javax.swing.JMenuItem.processMouseEvent(Unknown Source)
      11. javax.swing.MenuSelectionManager.processMouseEvent(Unknown Source)
      12. javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(Unknown Source)
      13. java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown Source)
      14. java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown Source)
      15. java.awt.Toolkit.notifyAWTEventListeners(Unknown Source)
      16. java.awt.Component.dispatchEventImpl(Unknown Source)
      17. java.awt.Container.dispatchEventImpl(Unknown Source)
      18. java.awt.Component.dispatchEvent(Unknown Source)
      19. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      20. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      21. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      22. java.awt.Container.dispatchEventImpl(Unknown Source)
      23. java.awt.Window.dispatchEventImpl(Unknown Source)
      24. java.awt.Component.dispatchEvent(Unknown Source)
      25. java.awt.EventQueue.dispatchEvent(Unknown Source)
      26. java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      27. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      28. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      29. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      30. java.awt.EventDispatchThread.run(Unknown Source)
      30 frames