java.lang.reflect.InvocationTargetException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Get the error below when trying to connect to a MS SQL Server 2005 instance NOT running on the default port. To duplicate create a connection as follows Host Name : MyServer Database Name : MyDatabase Instance Name : MyInstance Port Number : 2433 Using NT authentification so no user name or password provided. However if I change the connection to specify the port directly after the host name then it works. Eg. Host Name : MyServer:2433 Database Name : MyDatabase Instance Name : MyInstance Port Number : 2433 Error stack below java.lang.reflect.InvocationTargetException: Problem encountered getting information from the database: org.pentaho.di.core.exception.KettleDatabaseException: Unable to retrieve database information because of an error Error occured while trying to connect to the database Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver) Unable to get information from SQL Server: DWK4001. at org.pentaho.di.ui.core.database.dialog.GetDatabaseInfoProgressDialog$1.run(GetDatabaseInfoProgressDialog.java:68) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.pentaho.di.core.exception.KettleDatabaseException: Unable to retrieve database information because of an error Error occured while trying to connect to the database Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver) Unable to get information from SQL Server: DWK4001. at org.pentaho.di.core.database.DatabaseMetaInformation.getData(DatabaseMetaInformation.java:320) at org.pentaho.di.ui.core.database.dialog.GetDatabaseInfoProgressDialog$1.run(GetDatabaseInfoProgressDialog.java:64) ... 1 more Caused by: org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver) Unable to get information from SQL Server: DWK4001. at org.pentaho.di.core.database.Database.normalConnect(Database.java:318) at org.pentaho.di.core.database.Database.connect(Database.java:267) at org.pentaho.di.core.database.Database.connect(Database.java:229) at org.pentaho.di.core.database.Database.connect(Database.java:219) at org.pentaho.di.core.database.DatabaseMetaInformation.getData(DatabaseMetaInformation.java:168) ... 2 more Caused by: org.pentaho.di.core.exception.KettleDatabaseException: Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver) Unable to get information from SQL Server: DWK4001. at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:435) at org.pentaho.di.core.database.Database.normalConnect(Database.java:302) ... 6 more Caused by: java.sql.SQLException: Unable to get information from SQL Server: DWK4001. at net.sourceforge.jtds.jdbc.MSSqlServerInfo.<init>(MSSqlServerInfo.java:91) at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:263) at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50) at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:421) ... 7 more
    via by Paul Blackburn,
    • java.lang.reflect.InvocationTargetException: Problem encountered getting information from the database: org.pentaho.di.core.exception.KettleDatabaseException: Unable to retrieve database information because of an error Error occured while trying to connect to the database Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver) Unable to get information from SQL Server: DWK4001. at org.pentaho.di.ui.core.database.dialog.GetDatabaseInfoProgressDialog$1.run(GetDatabaseInfoProgressDialog.java:68) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.pentaho.di.core.exception.KettleDatabaseException: Unable to retrieve database information because of an error Error occured while trying to connect to the database Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver) Unable to get information from SQL Server: DWK4001. at org.pentaho.di.core.database.DatabaseMetaInformation.getData(DatabaseMetaInformation.java:320) at org.pentaho.di.ui.core.database.dialog.GetDatabaseInfoProgressDialog$1.run(GetDatabaseInfoProgressDialog.java:64) ... 1 more Caused by: org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver) Unable to get information from SQL Server: DWK4001. at org.pentaho.di.core.database.Database.normalConnect(Database.java:318) at org.pentaho.di.core.database.Database.connect(Database.java:267) at org.pentaho.di.core.database.Database.connect(Database.java:229) at org.pentaho.di.core.database.Database.connect(Database.java:219) at org.pentaho.di.core.database.DatabaseMetaInformation.getData(DatabaseMetaInformation.java:168) ... 2 more Caused by: org.pentaho.di.core.exception.KettleDatabaseException: Error connecting to database: (using class net.sourceforge.jtds.jdbc.Driver) Unable to get information from SQL Server: DWK4001. at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:435) at org.pentaho.di.core.database.Database.normalConnect(Database.java:302) ... 6 more Caused by: java.sql.SQLException: Unable to get information from SQL Server: DWK4001. at net.sourceforge.jtds.jdbc.MSSqlServerInfo.<init>(MSSqlServerInfo.java:91) at net.sourceforge.jtds.jdbc.ConnectionJDBC2.<init>(ConnectionJDBC2.java:263) at net.sourceforge.jtds.jdbc.ConnectionJDBC3.<init>(ConnectionJDBC3.java:50) at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:178) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:421) ... 7 more

    Users with the same issue

    abrazeneb
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    odd
    41 times, last one,
    Unknown visitor1 times, last one,
    8 more bugmates