org.pentaho.di.core.exception.KettleDatabaseException: Unable to get database metadata from this database connection at java.lang.Thread.run (Thread.java:745) at org.pentaho.di.ui.spoon.trans.TransGraph$27.run (TransGraph.java:3989) at org.pentaho.di.trans.Trans.prepareExecution (Trans.java:1120) at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose (TableOutput.java:606) at org.pentaho.di.core.database.Database.rollback (Database.java:826) at org.pentaho.di.core.database.Database.rollback (Database.java:834) at org.pentaho.di.core.database.Database.getDatabaseMetaData (Database.java:2774)

Pentaho BI Platform Tracking | Ihar Chekan | 2 years ago
  1. 0

    "Getting started Transformation.ktr" fails on mavericks, while using shipped 1.7.0_60 java version. This is a mac-specific issue. Transformation works as expected while using java version 1.6 or 1.7.0_25. notice: If I run "Run all sample transformations" job - all samples pass. And if I run "Getting started Transformation.ktr" after the job - it will pass. After spoon restart the transformation is failing again. path: 1. Launch spoon, using 1.7.0_60 java version. 2. Open Sample "Getting started Transformation.ktr" and run it. Stacktrace: 2014/09/24 12:40:19 - Spoon - Launching transformation [Getting Started Transformation]... 2014/09/24 12:40:19 - Spoon - Started the transformation execution. 2014/09/24 12:40:20 - Getting Started Transformation - Dispatching started for transformation [Getting Started Transformation] 2014/09/24 12:40:20 - Write to Database.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : An error occurred intialising this step: 2014/09/24 12:40:20 - Write to Database.0 - Error occured while trying to connect to the database 2014/09/24 12:40:20 - Write to Database.0 - 2014/09/24 12:40:20 - Write to Database.0 - javax.naming.NoInitialContextException: Cannot instantiate class: org.osjava.sj.SimpleContextFactory [Root exception is java.lang.ClassNotFoundException: org.osjava.sj.SimpleContextFactory] 2014/09/24 12:40:20 - Write to Database.0 - Cannot instantiate class: org.osjava.sj.SimpleContextFactory 2014/09/24 12:40:20 - Write to Database.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : Error initializing step [Write to Database] 2014/09/24 12:40:20 - Getting Started Transformation - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : Step [Write to Database.0] failed to initialize! 2014/09/24 12:40:20 - Write to Database.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : Unexpected error rolling back the database connection. 2014/09/24 12:40:20 - Write to Database.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException: 2014/09/24 12:40:20 - Write to Database.0 - Unable to get database metadata from this database connection 2014/09/24 12:40:20 - Write to Database.0 - at java.lang.Thread.run (Thread.java:745) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.ui.spoon.trans.TransGraph$27.run (TransGraph.java:3989) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.trans.Trans.prepareExecution (Trans.java:1120) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose (TableOutput.java:606) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.core.database.Database.rollback (Database.java:826) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.core.database.Database.rollback (Database.java:834) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData (Database.java:2774) 2014/09/24 12:40:20 - Write to Database.0 - 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData(Database.java:2777) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.core.database.Database.rollback(Database.java:834) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.core.database.Database.rollback(Database.java:826) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:606) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:1120) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.ui.spoon.trans.TransGraph$27.run(TransGraph.java:3989) 2014/09/24 12:40:20 - Write to Database.0 - at java.lang.Thread.run(Thread.java:745) 2014/09/24 12:40:20 - Write to Database.0 - Caused by: java.lang.NullPointerException 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData(Database.java:2774) 2014/09/24 12:40:20 - Write to Database.0 - ... 6 more 2014/09/24 12:40:20 - Spoon - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : Getting Started Transformation: preparing transformation execution failed 2014/09/24 12:40:20 - Spoon - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : org.pentaho.di.core.exception.KettleException: 2014/09/24 12:40:20 - Spoon - We failed to initialize at least one step. Execution can not begin! 2014/09/24 12:40:20 - Spoon - 2014/09/24 12:40:20 - Spoon - 2014/09/24 12:40:20 - Spoon - at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:1149) 2014/09/24 12:40:20 - Spoon - at org.pentaho.di.ui.spoon.trans.TransGraph$27.run(TransGraph.java:3989) 2014/09/24 12:40:20 - Spoon - at java.lang.Thread.run(Thread.java:745) 2014/09/24 12:40:20 - Getting Started Transformation - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : Errors detected! 2014/09/24 12:40:20 - Getting Started Transformation - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : Errors detected!

    Pentaho BI Platform Tracking | 2 years ago | Ihar Chekan
    org.pentaho.di.core.exception.KettleDatabaseException: Unable to get database metadata from this database connection at java.lang.Thread.run (Thread.java:745) at org.pentaho.di.ui.spoon.trans.TransGraph$27.run (TransGraph.java:3989) at org.pentaho.di.trans.Trans.prepareExecution (Trans.java:1120) at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose (TableOutput.java:606) at org.pentaho.di.core.database.Database.rollback (Database.java:826) at org.pentaho.di.core.database.Database.rollback (Database.java:834) at org.pentaho.di.core.database.Database.getDatabaseMetaData (Database.java:2774)
  2. 0

    "Getting started Transformation.ktr" fails on mavericks, while using shipped 1.7.0_60 java version. This is a mac-specific issue. Transformation works as expected while using java version 1.6 or 1.7.0_25. notice: If I run "Run all sample transformations" job - all samples pass. And if I run "Getting started Transformation.ktr" after the job - it will pass. After spoon restart the transformation is failing again. path: 1. Launch spoon, using 1.7.0_60 java version. 2. Open Sample "Getting started Transformation.ktr" and run it. Stacktrace: 2014/09/24 12:40:19 - Spoon - Launching transformation [Getting Started Transformation]... 2014/09/24 12:40:19 - Spoon - Started the transformation execution. 2014/09/24 12:40:20 - Getting Started Transformation - Dispatching started for transformation [Getting Started Transformation] 2014/09/24 12:40:20 - Write to Database.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : An error occurred intialising this step: 2014/09/24 12:40:20 - Write to Database.0 - Error occured while trying to connect to the database 2014/09/24 12:40:20 - Write to Database.0 - 2014/09/24 12:40:20 - Write to Database.0 - javax.naming.NoInitialContextException: Cannot instantiate class: org.osjava.sj.SimpleContextFactory [Root exception is java.lang.ClassNotFoundException: org.osjava.sj.SimpleContextFactory] 2014/09/24 12:40:20 - Write to Database.0 - Cannot instantiate class: org.osjava.sj.SimpleContextFactory 2014/09/24 12:40:20 - Write to Database.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : Error initializing step [Write to Database] 2014/09/24 12:40:20 - Getting Started Transformation - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : Step [Write to Database.0] failed to initialize! 2014/09/24 12:40:20 - Write to Database.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : Unexpected error rolling back the database connection. 2014/09/24 12:40:20 - Write to Database.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : org.pentaho.di.core.exception.KettleDatabaseException: 2014/09/24 12:40:20 - Write to Database.0 - Unable to get database metadata from this database connection 2014/09/24 12:40:20 - Write to Database.0 - at java.lang.Thread.run (Thread.java:745) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.ui.spoon.trans.TransGraph$27.run (TransGraph.java:3989) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.trans.Trans.prepareExecution (Trans.java:1120) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose (TableOutput.java:606) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.core.database.Database.rollback (Database.java:826) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.core.database.Database.rollback (Database.java:834) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData (Database.java:2774) 2014/09/24 12:40:20 - Write to Database.0 - 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData(Database.java:2777) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.core.database.Database.rollback(Database.java:834) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.core.database.Database.rollback(Database.java:826) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:606) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:1120) 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.ui.spoon.trans.TransGraph$27.run(TransGraph.java:3989) 2014/09/24 12:40:20 - Write to Database.0 - at java.lang.Thread.run(Thread.java:745) 2014/09/24 12:40:20 - Write to Database.0 - Caused by: java.lang.NullPointerException 2014/09/24 12:40:20 - Write to Database.0 - at org.pentaho.di.core.database.Database.getDatabaseMetaData(Database.java:2774) 2014/09/24 12:40:20 - Write to Database.0 - ... 6 more 2014/09/24 12:40:20 - Spoon - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : Getting Started Transformation: preparing transformation execution failed 2014/09/24 12:40:20 - Spoon - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : org.pentaho.di.core.exception.KettleException: 2014/09/24 12:40:20 - Spoon - We failed to initialize at least one step. Execution can not begin! 2014/09/24 12:40:20 - Spoon - 2014/09/24 12:40:20 - Spoon - 2014/09/24 12:40:20 - Spoon - at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:1149) 2014/09/24 12:40:20 - Spoon - at org.pentaho.di.ui.spoon.trans.TransGraph$27.run(TransGraph.java:3989) 2014/09/24 12:40:20 - Spoon - at java.lang.Thread.run(Thread.java:745) 2014/09/24 12:40:20 - Getting Started Transformation - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : Errors detected! 2014/09/24 12:40:20 - Getting Started Transformation - ERROR (version 5.2.0.0, build 1 from 2014-09-21_16-13-06 by buildguy) : Errors detected!

    Pentaho BI Platform Tracking | 2 years ago | Ihar Chekan
    org.pentaho.di.core.exception.KettleDatabaseException: Unable to get database metadata from this database connection at java.lang.Thread.run (Thread.java:745) at org.pentaho.di.ui.spoon.trans.TransGraph$27.run (TransGraph.java:3989) at org.pentaho.di.trans.Trans.prepareExecution (Trans.java:1120) at org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose (TableOutput.java:606) at org.pentaho.di.core.database.Database.rollback (Database.java:826) at org.pentaho.di.core.database.Database.rollback (Database.java:834) at org.pentaho.di.core.database.Database.getDatabaseMetaData (Database.java:2774)
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NullPointerException

      No message provided

      at org.pentaho.di.core.database.Database.getDatabaseMetaData()
    2. org.pentaho.di
      TransGraph$27.run
      1. org.pentaho.di.core.database.Database.getDatabaseMetaData(Database.java:2774)
      2. org.pentaho.di.core.database.Database.rollback(Database.java:834)
      3. org.pentaho.di.core.database.Database.rollback(Database.java:826)
      4. org.pentaho.di.trans.steps.tableoutput.TableOutput.dispose(TableOutput.java:606)
      5. org.pentaho.di.trans.Trans.prepareExecution(Trans.java:1120)
      6. org.pentaho.di.ui.spoon.trans.TransGraph$27.run(TransGraph.java:3989)
      6 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame