java.lang.ClassCastException: java.lang.String

Pentaho BI Platform Tracking | Kurtis Cruzada | 8 years ago
  1. 0

    Create a new report. Add a parameter to the report. Use a table for the parameter. Choose a drop down control. When you select OK. You get the following error. java.lang.ClassCastException: java.lang.String at org.pentaho.reporting.designer.core.editor.parameters.ParameterDialog.createParameterResult(ParameterDialog.java:1063) at org.pentaho.reporting.designer.core.editor.parameters.ParameterDialog.performEditParameter(ParameterDialog.java:1179) at org.pentaho.reporting.designer.core.actions.report.EditParametersAction.performEditMasterReportParameters(EditParametersAction.java:249) at org.pentaho.reporting.designer.core.actions.report.AddParametersAction.actionPerformed(AddParametersAction.java:75) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:334) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051) at apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092) at java.awt.Component.processMouseEvent(Component.java:5602) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5367) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4068) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1801) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Pentaho BI Platform Tracking | 8 years ago | Kurtis Cruzada
    java.lang.ClassCastException: java.lang.String
  2. 0

    Create a new report. Add a parameter to the report. Use a table for the parameter. Choose a drop down control. When you select OK. You get the following error. java.lang.ClassCastException: java.lang.String at org.pentaho.reporting.designer.core.editor.parameters.ParameterDialog.createParameterResult(ParameterDialog.java:1063) at org.pentaho.reporting.designer.core.editor.parameters.ParameterDialog.performEditParameter(ParameterDialog.java:1179) at org.pentaho.reporting.designer.core.actions.report.EditParametersAction.performEditMasterReportParameters(EditParametersAction.java:249) at org.pentaho.reporting.designer.core.actions.report.AddParametersAction.actionPerformed(AddParametersAction.java:75) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258) at javax.swing.AbstractButton.doClick(AbstractButton.java:334) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051) at apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092) at java.awt.Component.processMouseEvent(Component.java:5602) at javax.swing.JComponent.processMouseEvent(JComponent.java:3135) at java.awt.Component.processEvent(Component.java:5367) at java.awt.Container.processEvent(Container.java:2010) at java.awt.Component.dispatchEventImpl(Component.java:4068) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Window.dispatchEventImpl(Window.java:1801) at java.awt.Component.dispatchEvent(Component.java:3903) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

    Pentaho BI Platform Tracking | 8 years ago | Kurtis Cruzada
    java.lang.ClassCastException: java.lang.String
  3. 0

    Vector and AbstractTableModel

    Oracle Community | 1 decade ago | 843805
    java.lang.ClassCastException: java.lang.String
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    get the row id of an spinner item populated from database

    Stack Overflow | 4 years ago | user1381760
    java.lang.ClassCastException: java.lang.String
  6. 0

    How to upload Byte array (image) on facebook wall with android application?

    Stack Overflow | 4 years ago | TKumar
    java.lang.ClassCastException: java.lang.String

    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

      java.lang.String

      at org.pentaho.reporting.designer.core.editor.parameters.ParameterDialog.createParameterResult()
    2. org.pentaho.reporting
      AddParametersAction.actionPerformed
      1. org.pentaho.reporting.designer.core.editor.parameters.ParameterDialog.createParameterResult(ParameterDialog.java:1063)
      2. org.pentaho.reporting.designer.core.editor.parameters.ParameterDialog.performEditParameter(ParameterDialog.java:1179)
      3. org.pentaho.reporting.designer.core.actions.report.EditParametersAction.performEditMasterReportParameters(EditParametersAction.java:249)
      4. org.pentaho.reporting.designer.core.actions.report.AddParametersAction.actionPerformed(AddParametersAction.java:75)
      4 frames
    3. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
      5. javax.swing.AbstractButton.doClick(AbstractButton.java:334)
      6. javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1051)
      7. apple.laf.CUIAquaMenuItem.doClick(CUIAquaMenuItem.java:119)
      8. javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1092)
      9. java.awt.Component.processMouseEvent(Component.java:5602)
      10. javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
      11. java.awt.Component.processEvent(Component.java:5367)
      12. java.awt.Container.processEvent(Container.java:2010)
      13. java.awt.Component.dispatchEventImpl(Component.java:4068)
      14. java.awt.Container.dispatchEventImpl(Container.java:2068)
      15. java.awt.Component.dispatchEvent(Component.java:3903)
      16. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
      17. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
      18. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
      19. java.awt.Container.dispatchEventImpl(Container.java:2054)
      20. java.awt.Window.dispatchEventImpl(Window.java:1801)
      21. java.awt.Component.dispatchEvent(Component.java:3903)
      22. java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
      23. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
      24. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
      25. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
      26. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
      27. java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
      27 frames