java.lang.ClassCastException: java.lang.String

Pentaho BI Platform Tracking | Will Gorman | 7 years ago
  1. 0

    When trying to load my own schema, or the food mart schema, I get the following exception in olap4j datasource editor: 11:20:09,968 ERROR [UncaughtExceptionsModel] UncaughtExcpetionsModel.addException java.lang.ClassCastException: java.lang.String at org.pentaho.reporting.ui.datasources.olap4j.Olap4JDataSourceEditor$QueryNameListCellRenderer.getListCellRendererComponent(Olap4JDataSourceEditor.java:440) at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source) at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source) at javax.swing.plaf.basic.BasicListUI.paint(Unknown Source) at javax.swing.plaf.ComponentUI.update(Unknown Source) at javax.swing.JComponent.paintComponent(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source) at javax.swing.JComponent.paintDoubleBuffered(Unknown Source) at javax.swing.JComponent._paintImmediately(Unknown Source) at javax.swing.JComponent.paintImmediately(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(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.pumpEventsForHierarchy(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at org.pentaho.reporting.ui.datasources.olap4j.Olap4JDataSourceEditor.performConfiguration(Olap4JDataSourceEditor.java:359) at org.pentaho.reporting.ui.datasources.olap4j.BandedMdxDataSourcePlugin.performEdit(BandedMdxDataSourcePlugin.java:42) at org.pentaho.reporting.designer.core.actions.report.AddDataFactoryAction.actionPerformed(AddDataFactoryAction.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.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(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 | 7 years ago | Will Gorman
    java.lang.ClassCastException: java.lang.String
  2. 0

    When trying to load my own schema, or the food mart schema, I get the following exception in olap4j datasource editor: 11:20:09,968 ERROR [UncaughtExceptionsModel] UncaughtExcpetionsModel.addException java.lang.ClassCastException: java.lang.String at org.pentaho.reporting.ui.datasources.olap4j.Olap4JDataSourceEditor$QueryNameListCellRenderer.getListCellRendererComponent(Olap4JDataSourceEditor.java:440) at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source) at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source) at javax.swing.plaf.basic.BasicListUI.paint(Unknown Source) at javax.swing.plaf.ComponentUI.update(Unknown Source) at javax.swing.JComponent.paintComponent(Unknown Source) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source) at javax.swing.JComponent.paintDoubleBuffered(Unknown Source) at javax.swing.JComponent._paintImmediately(Unknown Source) at javax.swing.JComponent.paintImmediately(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(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.pumpEventsForHierarchy(Unknown Source) at java.awt.Dialog$1.run(Unknown Source) at java.awt.Dialog$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at org.pentaho.reporting.ui.datasources.olap4j.Olap4JDataSourceEditor.performConfiguration(Olap4JDataSourceEditor.java:359) at org.pentaho.reporting.ui.datasources.olap4j.BandedMdxDataSourcePlugin.performEdit(BandedMdxDataSourcePlugin.java:42) at org.pentaho.reporting.designer.core.actions.report.AddDataFactoryAction.actionPerformed(AddDataFactoryAction.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.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(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 | 7 years ago | Will Gorman
    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.ui.datasources.olap4j.Olap4JDataSourceEditor$QueryNameListCellRenderer.getListCellRendererComponent()
    2. org.pentaho.reporting
      Olap4JDataSourceEditor$QueryNameListCellRenderer.getListCellRendererComponent
      1. org.pentaho.reporting.ui.datasources.olap4j.Olap4JDataSourceEditor$QueryNameListCellRenderer.getListCellRendererComponent(Olap4JDataSourceEditor.java:440)
      1 frame
    3. Java RT
      Component.setVisible
      1. javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)
      2. javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source)
      3. javax.swing.plaf.basic.BasicListUI.paint(Unknown Source)
      4. javax.swing.plaf.ComponentUI.update(Unknown Source)
      5. javax.swing.JComponent.paintComponent(Unknown Source)
      6. javax.swing.JComponent.paint(Unknown Source)
      7. javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
      8. javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
      9. javax.swing.JComponent._paintImmediately(Unknown Source)
      10. javax.swing.JComponent.paintImmediately(Unknown Source)
      11. javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
      12. javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
      13. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      14. java.awt.EventQueue.dispatchEvent(Unknown Source)
      15. java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      16. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      17. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      18. java.awt.Dialog$1.run(Unknown Source)
      19. java.awt.Dialog$2.run(Unknown Source)
      20. java.security.AccessController.doPrivileged(Native Method)
      21. java.awt.Dialog.show(Unknown Source)
      22. java.awt.Component.show(Unknown Source)
      23. java.awt.Component.setVisible(Unknown Source)
      23 frames
    4. org.pentaho.reporting
      AddDataFactoryAction.actionPerformed
      1. org.pentaho.reporting.ui.datasources.olap4j.Olap4JDataSourceEditor.performConfiguration(Olap4JDataSourceEditor.java:359)
      2. org.pentaho.reporting.ui.datasources.olap4j.BandedMdxDataSourcePlugin.performEdit(BandedMdxDataSourcePlugin.java:42)
      3. org.pentaho.reporting.designer.core.actions.report.AddDataFactoryAction.actionPerformed(AddDataFactoryAction.java:60)
      3 frames
    5. 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.mouseReleased(Unknown Source)
      8. java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
      9. java.awt.Component.processMouseEvent(Unknown Source)
      10. javax.swing.JComponent.processMouseEvent(Unknown Source)
      11. java.awt.Component.processEvent(Unknown Source)
      12. java.awt.Container.processEvent(Unknown Source)
      13. java.awt.Component.dispatchEventImpl(Unknown Source)
      14. java.awt.Container.dispatchEventImpl(Unknown Source)
      15. java.awt.Component.dispatchEvent(Unknown Source)
      16. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      17. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      18. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      19. java.awt.Container.dispatchEventImpl(Unknown Source)
      20. java.awt.Window.dispatchEventImpl(Unknown Source)
      21. java.awt.Component.dispatchEvent(Unknown Source)
      22. java.awt.EventQueue.dispatchEvent(Unknown Source)
      23. java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      24. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      25. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      26. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      27. java.awt.EventDispatchThread.run(Unknown Source)
      27 frames