java.lang.ClassCastException: org.pentaho.hadoop.shim.common.DriverProxyInvocationChain$ConnectionInvocationHandler cannot be cast to java.sql.Connection

Pentaho BI Platform Tracking | Martin Cansdale | 2 years ago
  1. 0

    Running Report Designer 5.1 on Ubuntu 14.04, with the Hadoop version in /Pentaho/design-tools/report-designer/plugin.properties set to cdh50, I can set up a connection to an Impala database on another server, and the test returns an OK status. Setting up a data source, selecting the Impala connection, and editing the query, when I select the 'default' DB in the query editor I get the following error (note, it's inconvenient having to close every wizard window before I can view it!): java.lang.ClassCastException: org.pentaho.hadoop.shim.common.DriverProxyInvocationChain$ConnectionInvocationHandler cannot be cast to java.sql.Connection at com.sun.proxy.$Proxy16.getConnection(Unknown Source) at nickyb.sqleonardo.querybuilder.ViewObjects.itemStateChanged(ViewObjects.java:185) at javax.swing.JComboBox.fireItemStateChanged(Unknown Source) at javax.swing.JComboBox.selectedItemChanged(Unknown Source) at javax.swing.JComboBox.contentsChanged(Unknown Source) at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source) at javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source) at javax.swing.JComboBox.setSelectedItem(Unknown Source) at javax.swing.JComboBox.setSelectedIndex(Unknown Source) at javax.swing.plaf.basic.BasicComboPopup$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 javax.swing.plaf.basic.BasicComboPopup$1.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.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(Unknown Source) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.setVisible(CommonDialog.java:281) at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.performEdit(CommonDialog.java:193) at org.pentaho.reporting.ui.datasources.jdbc.ui.JdbcQueryDesignerDialog.designQuery(JdbcQueryDesignerDialog.java:151) at org.pentaho.reporting.ui.datasources.jdbc.ui.JdbcDataSourceDialog$InvokeQueryDesignerAction.actionPerformed(JdbcDataSourceDialog.java:256) 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.plaf.basic.BasicButtonListener.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.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(Unknown Source) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.setVisible(CommonDialog.java:281) at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.performEdit(CommonDialog.java:193) at org.pentaho.reporting.ui.datasources.jdbc.ui.JdbcDataSourceDialog.performConfiguration(JdbcDataSourceDialog.java:798) at org.pentaho.reporting.ui.datasources.jdbc.JdbcDataSourcePlugin.performEdit(JdbcDataSourcePlugin.java:71) at org.pentaho.reporting.engine.classic.wizard.ui.xul.steps.DataSourceAndQueryStep.editOrCreateDataFactory(DataSourceAndQueryStep.java:426) at org.pentaho.reporting.engine.classic.wizard.ui.xul.steps.DataSourceAndQueryStep.createDataFactory(DataSourceAndQueryStep.java:405) at org.pentaho.reporting.engine.classic.wizard.ui.xul.steps.DataSourceAndQueryStep$DatasourceAndQueryStepHandler.doCreateDataFactory(DataSourceAndQueryStep.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313) at org.pentaho.ui.xul.swing.tags.SwingButton$OnClickRunnable.run(SwingButton.java:71) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(Unknown Source) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.pentaho.ui.xul.swing.tags.SwingDialog.show(SwingDialog.java:250) at org.pentaho.reporting.engine.classic.wizard.ui.xul.EmbeddedWizard.run(EmbeddedWizard.java:152) at org.pentaho.reporting.designer.extensions.wizard.NewWizardReportAction.actionPerformed(NewWizardReportAction.java:81) 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.plaf.basic.BasicButtonListener.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.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(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 | 2 years ago | Martin Cansdale
    java.lang.ClassCastException: org.pentaho.hadoop.shim.common.DriverProxyInvocationChain$ConnectionInvocationHandler cannot be cast to java.sql.Connection
  2. 0

    Running Report Designer 5.1 on Ubuntu 14.04, with the Hadoop version in /Pentaho/design-tools/report-designer/plugin.properties set to cdh50, I can set up a connection to an Impala database on another server, and the test returns an OK status. Setting up a data source, selecting the Impala connection, and editing the query, when I select the 'default' DB in the query editor I get the following error (note, it's inconvenient having to close every wizard window before I can view it!): java.lang.ClassCastException: org.pentaho.hadoop.shim.common.DriverProxyInvocationChain$ConnectionInvocationHandler cannot be cast to java.sql.Connection at com.sun.proxy.$Proxy16.getConnection(Unknown Source) at nickyb.sqleonardo.querybuilder.ViewObjects.itemStateChanged(ViewObjects.java:185) at javax.swing.JComboBox.fireItemStateChanged(Unknown Source) at javax.swing.JComboBox.selectedItemChanged(Unknown Source) at javax.swing.JComboBox.contentsChanged(Unknown Source) at javax.swing.AbstractListModel.fireContentsChanged(Unknown Source) at javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source) at javax.swing.JComboBox.setSelectedItem(Unknown Source) at javax.swing.JComboBox.setSelectedIndex(Unknown Source) at javax.swing.plaf.basic.BasicComboPopup$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 javax.swing.plaf.basic.BasicComboPopup$1.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.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(Unknown Source) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.setVisible(CommonDialog.java:281) at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.performEdit(CommonDialog.java:193) at org.pentaho.reporting.ui.datasources.jdbc.ui.JdbcQueryDesignerDialog.designQuery(JdbcQueryDesignerDialog.java:151) at org.pentaho.reporting.ui.datasources.jdbc.ui.JdbcDataSourceDialog$InvokeQueryDesignerAction.actionPerformed(JdbcDataSourceDialog.java:256) 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.plaf.basic.BasicButtonListener.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.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(Unknown Source) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.setVisible(CommonDialog.java:281) at org.pentaho.reporting.libraries.designtime.swing.CommonDialog.performEdit(CommonDialog.java:193) at org.pentaho.reporting.ui.datasources.jdbc.ui.JdbcDataSourceDialog.performConfiguration(JdbcDataSourceDialog.java:798) at org.pentaho.reporting.ui.datasources.jdbc.JdbcDataSourcePlugin.performEdit(JdbcDataSourcePlugin.java:71) at org.pentaho.reporting.engine.classic.wizard.ui.xul.steps.DataSourceAndQueryStep.editOrCreateDataFactory(DataSourceAndQueryStep.java:426) at org.pentaho.reporting.engine.classic.wizard.ui.xul.steps.DataSourceAndQueryStep.createDataFactory(DataSourceAndQueryStep.java:405) at org.pentaho.reporting.engine.classic.wizard.ui.xul.steps.DataSourceAndQueryStep$DatasourceAndQueryStepHandler.doCreateDataFactory(DataSourceAndQueryStep.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313) at org.pentaho.ui.xul.swing.tags.SwingButton$OnClickRunnable.run(SwingButton.java:71) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.WaitDispatchSupport$2.run(Unknown Source) at java.awt.WaitDispatchSupport$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(Unknown Source) at java.awt.Dialog.show(Unknown Source) at java.awt.Component.show(Unknown Source) at java.awt.Component.setVisible(Unknown Source) at java.awt.Window.setVisible(Unknown Source) at java.awt.Dialog.setVisible(Unknown Source) at org.pentaho.ui.xul.swing.tags.SwingDialog.show(SwingDialog.java:250) at org.pentaho.reporting.engine.classic.wizard.ui.xul.EmbeddedWizard.run(EmbeddedWizard.java:152) at org.pentaho.reporting.designer.extensions.wizard.NewWizardReportAction.actionPerformed(NewWizardReportAction.java:81) 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.plaf.basic.BasicButtonListener.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.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$200(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(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 | 2 years ago | Martin Cansdale
    java.lang.ClassCastException: org.pentaho.hadoop.shim.common.DriverProxyInvocationChain$ConnectionInvocationHandler cannot be cast to java.sql.Connection
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Upsource Analyzer has crashed

    YouTrack | 2 years ago
    java.lang.ClassCastException: cannot be cast to com.jetbrains.upsource.backend.server.core.tree.DbFileTreeNodeBase

    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

      org.pentaho.hadoop.shim.common.DriverProxyInvocationChain$ConnectionInvocationHandler cannot be cast to java.sql.Connection

      at com.sun.proxy.$Proxy16.getConnection()
    2. com.sun.proxy
      $Proxy16.getConnection
      1. com.sun.proxy.$Proxy16.getConnection(Unknown Source)
      1 frame
    3. nickyb.sqleonardo.querybuilder
      ViewObjects.itemStateChanged
      1. nickyb.sqleonardo.querybuilder.ViewObjects.itemStateChanged(ViewObjects.java:185)
      1 frame
    4. Java RT
      Dialog.setVisible
      1. javax.swing.JComboBox.fireItemStateChanged(Unknown Source)
      2. javax.swing.JComboBox.selectedItemChanged(Unknown Source)
      3. javax.swing.JComboBox.contentsChanged(Unknown Source)
      4. javax.swing.AbstractListModel.fireContentsChanged(Unknown Source)
      5. javax.swing.DefaultComboBoxModel.setSelectedItem(Unknown Source)
      6. javax.swing.JComboBox.setSelectedItem(Unknown Source)
      7. javax.swing.JComboBox.setSelectedIndex(Unknown Source)
      8. javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(Unknown Source)
      9. java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
      10. java.awt.Component.processMouseEvent(Unknown Source)
      11. javax.swing.JComponent.processMouseEvent(Unknown Source)
      12. javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(Unknown Source)
      13. java.awt.Component.processEvent(Unknown Source)
      14. java.awt.Container.processEvent(Unknown Source)
      15. java.awt.Component.dispatchEventImpl(Unknown Source)
      16. java.awt.Container.dispatchEventImpl(Unknown Source)
      17. java.awt.Component.dispatchEvent(Unknown Source)
      18. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      19. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      20. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      21. java.awt.Container.dispatchEventImpl(Unknown Source)
      22. java.awt.Window.dispatchEventImpl(Unknown Source)
      23. java.awt.Component.dispatchEvent(Unknown Source)
      24. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      25. java.awt.EventQueue.access$200(Unknown Source)
      26. java.awt.EventQueue$3.run(Unknown Source)
      27. java.awt.EventQueue$3.run(Unknown Source)
      28. java.security.AccessController.doPrivileged(Native Method)
      29. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      30. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      31. java.awt.EventQueue$4.run(Unknown Source)
      32. java.awt.EventQueue$4.run(Unknown Source)
      33. java.security.AccessController.doPrivileged(Native Method)
      34. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      35. java.awt.EventQueue.dispatchEvent(Unknown Source)
      36. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      37. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      38. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      39. java.awt.WaitDispatchSupport$2.run(Unknown Source)
      40. java.awt.WaitDispatchSupport$4.run(Unknown Source)
      41. java.security.AccessController.doPrivileged(Native Method)
      42. java.awt.WaitDispatchSupport.enter(Unknown Source)
      43. java.awt.Dialog.show(Unknown Source)
      44. java.awt.Component.show(Unknown Source)
      45. java.awt.Component.setVisible(Unknown Source)
      46. java.awt.Window.setVisible(Unknown Source)
      47. java.awt.Dialog.setVisible(Unknown Source)
      47 frames
    5. org.pentaho.reporting
      JdbcDataSourceDialog$InvokeQueryDesignerAction.actionPerformed
      1. org.pentaho.reporting.libraries.designtime.swing.CommonDialog.setVisible(CommonDialog.java:281)
      2. org.pentaho.reporting.libraries.designtime.swing.CommonDialog.performEdit(CommonDialog.java:193)
      3. org.pentaho.reporting.ui.datasources.jdbc.ui.JdbcQueryDesignerDialog.designQuery(JdbcQueryDesignerDialog.java:151)
      4. org.pentaho.reporting.ui.datasources.jdbc.ui.JdbcDataSourceDialog$InvokeQueryDesignerAction.actionPerformed(JdbcDataSourceDialog.java:256)
      4 frames
    6. Java RT
      Dialog.setVisible
      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.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      6. java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
      7. java.awt.Component.processMouseEvent(Unknown Source)
      8. javax.swing.JComponent.processMouseEvent(Unknown Source)
      9. java.awt.Component.processEvent(Unknown Source)
      10. java.awt.Container.processEvent(Unknown Source)
      11. java.awt.Component.dispatchEventImpl(Unknown Source)
      12. java.awt.Container.dispatchEventImpl(Unknown Source)
      13. java.awt.Component.dispatchEvent(Unknown Source)
      14. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      15. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      16. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      17. java.awt.Container.dispatchEventImpl(Unknown Source)
      18. java.awt.Window.dispatchEventImpl(Unknown Source)
      19. java.awt.Component.dispatchEvent(Unknown Source)
      20. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      21. java.awt.EventQueue.access$200(Unknown Source)
      22. java.awt.EventQueue$3.run(Unknown Source)
      23. java.awt.EventQueue$3.run(Unknown Source)
      24. java.security.AccessController.doPrivileged(Native Method)
      25. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      26. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      27. java.awt.EventQueue$4.run(Unknown Source)
      28. java.awt.EventQueue$4.run(Unknown Source)
      29. java.security.AccessController.doPrivileged(Native Method)
      30. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      31. java.awt.EventQueue.dispatchEvent(Unknown Source)
      32. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      33. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      34. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      35. java.awt.WaitDispatchSupport$2.run(Unknown Source)
      36. java.awt.WaitDispatchSupport$4.run(Unknown Source)
      37. java.security.AccessController.doPrivileged(Native Method)
      38. java.awt.WaitDispatchSupport.enter(Unknown Source)
      39. java.awt.Dialog.show(Unknown Source)
      40. java.awt.Component.show(Unknown Source)
      41. java.awt.Component.setVisible(Unknown Source)
      42. java.awt.Window.setVisible(Unknown Source)
      43. java.awt.Dialog.setVisible(Unknown Source)
      43 frames
    7. org.pentaho.reporting
      DataSourceAndQueryStep$DatasourceAndQueryStepHandler.doCreateDataFactory
      1. org.pentaho.reporting.libraries.designtime.swing.CommonDialog.setVisible(CommonDialog.java:281)
      2. org.pentaho.reporting.libraries.designtime.swing.CommonDialog.performEdit(CommonDialog.java:193)
      3. org.pentaho.reporting.ui.datasources.jdbc.ui.JdbcDataSourceDialog.performConfiguration(JdbcDataSourceDialog.java:798)
      4. org.pentaho.reporting.ui.datasources.jdbc.JdbcDataSourcePlugin.performEdit(JdbcDataSourcePlugin.java:71)
      5. org.pentaho.reporting.engine.classic.wizard.ui.xul.steps.DataSourceAndQueryStep.editOrCreateDataFactory(DataSourceAndQueryStep.java:426)
      6. org.pentaho.reporting.engine.classic.wizard.ui.xul.steps.DataSourceAndQueryStep.createDataFactory(DataSourceAndQueryStep.java:405)
      7. org.pentaho.reporting.engine.classic.wizard.ui.xul.steps.DataSourceAndQueryStep$DatasourceAndQueryStepHandler.doCreateDataFactory(DataSourceAndQueryStep.java:165)
      7 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    9. org.pentaho.ui
      SwingButton$OnClickRunnable.run
      1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:313)
      2. org.pentaho.ui.xul.swing.tags.SwingButton$OnClickRunnable.run(SwingButton.java:71)
      2 frames
    10. Java RT
      Dialog.setVisible
      1. java.awt.event.InvocationEvent.dispatch(Unknown Source)
      2. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      3. java.awt.EventQueue.access$200(Unknown Source)
      4. java.awt.EventQueue$3.run(Unknown Source)
      5. java.awt.EventQueue$3.run(Unknown Source)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      8. java.awt.EventQueue.dispatchEvent(Unknown Source)
      9. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      10. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      11. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      12. java.awt.WaitDispatchSupport$2.run(Unknown Source)
      13. java.awt.WaitDispatchSupport$4.run(Unknown Source)
      14. java.security.AccessController.doPrivileged(Native Method)
      15. java.awt.WaitDispatchSupport.enter(Unknown Source)
      16. java.awt.Dialog.show(Unknown Source)
      17. java.awt.Component.show(Unknown Source)
      18. java.awt.Component.setVisible(Unknown Source)
      19. java.awt.Window.setVisible(Unknown Source)
      20. java.awt.Dialog.setVisible(Unknown Source)
      20 frames
    11. org.pentaho.ui
      SwingDialog.show
      1. org.pentaho.ui.xul.swing.tags.SwingDialog.show(SwingDialog.java:250)
      1 frame
    12. org.pentaho.reporting
      NewWizardReportAction.actionPerformed
      1. org.pentaho.reporting.engine.classic.wizard.ui.xul.EmbeddedWizard.run(EmbeddedWizard.java:152)
      2. org.pentaho.reporting.designer.extensions.wizard.NewWizardReportAction.actionPerformed(NewWizardReportAction.java:81)
      2 frames
    13. 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.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      6. java.awt.Component.processMouseEvent(Unknown Source)
      7. javax.swing.JComponent.processMouseEvent(Unknown Source)
      8. java.awt.Component.processEvent(Unknown Source)
      9. java.awt.Container.processEvent(Unknown Source)
      10. java.awt.Component.dispatchEventImpl(Unknown Source)
      11. java.awt.Container.dispatchEventImpl(Unknown Source)
      12. java.awt.Component.dispatchEvent(Unknown Source)
      13. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      14. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      15. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      16. java.awt.Container.dispatchEventImpl(Unknown Source)
      17. java.awt.Window.dispatchEventImpl(Unknown Source)
      18. java.awt.Component.dispatchEvent(Unknown Source)
      19. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      20. java.awt.EventQueue.access$200(Unknown Source)
      21. java.awt.EventQueue$3.run(Unknown Source)
      22. java.awt.EventQueue$3.run(Unknown Source)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      25. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      26. java.awt.EventQueue$4.run(Unknown Source)
      27. java.awt.EventQueue$4.run(Unknown Source)
      28. java.security.AccessController.doPrivileged(Native Method)
      29. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      30. java.awt.EventQueue.dispatchEvent(Unknown Source)
      31. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      32. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      33. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      34. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      35. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      36. java.awt.EventDispatchThread.run(Unknown Source)
      36 frames