liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.sql.SQLException: Invalid character encountered in

JIRA | Varun Kalaiselvan | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When the database gives a warning for Password expiring shortly (ORA-28002), I was unable to connect to the database. I got the below error message. This was while connecting to an Oracle database schema. Unexpected error running Liquibase: java.sql.SQLException: Invalid character encountered in SEVERE 1/27/16 8:31 PM: liquibase: java.sql.SQLException: Invalid character encountered in liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.sql.SQLException: Invalid character encountered in at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:143) at liquibase.integration.commandline.Main.doMigration(Main.java:915) at liquibase.integration.commandline.Main.run(Main.java:180) at liquibase.integration.commandline.Main.main(Main.java:99) Caused by: liquibase.exception.DatabaseException: java.sql.SQLException: Invalid character encountered in at liquibase.database.DatabaseFactory.openConnection(DatabaseFactory.java:247) at liquibase.database.DatabaseFactory.openDatabase(DatabaseFactory.java:151) at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:85) ... 3 more Caused by: java.sql.SQLException: Invalid character encountered in at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227) at oracle.sql.CharacterSet$2.onFailConversion(CharacterSet.java:2567) at oracle.sql.CharacterSet.convertUTFBytesToJavaChars(CharacterSet.java:1111) at oracle.sql.CharacterSet.convertUTFBytesToJavaChars(CharacterSet.java:923) at oracle.sql.CharacterSet.UTFToJavaChar(CharacterSet.java:825) at oracle.sql.CharacterSet.UTFToString(CharacterSet.java:789) at oracle.jdbc.driver.DBConversion.CharBytesToString(DBConversion.java:520) at oracle.jdbc.driver.T4CTTIoer.processWarning(T4CTTIoer.java:362) at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:636) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:348) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:563) at liquibase.database.DatabaseFactory.openConnection(DatabaseFactory.java:239) ... 5 more

    JIRA | 1 year ago | Varun Kalaiselvan
    liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.sql.SQLException: Invalid character encountered in
  2. 0

    When the database gives a warning for Password expiring shortly (ORA-28002), I was unable to connect to the database. I got the below error message. This was while connecting to an Oracle database schema. Unexpected error running Liquibase: java.sql.SQLException: Invalid character encountered in SEVERE 1/27/16 8:31 PM: liquibase: java.sql.SQLException: Invalid character encountered in liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.sql.SQLException: Invalid character encountered in at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:143) at liquibase.integration.commandline.Main.doMigration(Main.java:915) at liquibase.integration.commandline.Main.run(Main.java:180) at liquibase.integration.commandline.Main.main(Main.java:99) Caused by: liquibase.exception.DatabaseException: java.sql.SQLException: Invalid character encountered in at liquibase.database.DatabaseFactory.openConnection(DatabaseFactory.java:247) at liquibase.database.DatabaseFactory.openDatabase(DatabaseFactory.java:151) at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:85) ... 3 more Caused by: java.sql.SQLException: Invalid character encountered in at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227) at oracle.sql.CharacterSet$2.onFailConversion(CharacterSet.java:2567) at oracle.sql.CharacterSet.convertUTFBytesToJavaChars(CharacterSet.java:1111) at oracle.sql.CharacterSet.convertUTFBytesToJavaChars(CharacterSet.java:923) at oracle.sql.CharacterSet.UTFToJavaChar(CharacterSet.java:825) at oracle.sql.CharacterSet.UTFToString(CharacterSet.java:789) at oracle.jdbc.driver.DBConversion.CharBytesToString(DBConversion.java:520) at oracle.jdbc.driver.T4CTTIoer.processWarning(T4CTTIoer.java:362) at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:636) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308) at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:348) at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:563) at liquibase.database.DatabaseFactory.openConnection(DatabaseFactory.java:239) ... 5 more

    JIRA | 1 year ago | Varun Kalaiselvan
    liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.sql.SQLException: Invalid character encountered in
  3. 0

    WebSphere:WebSphere Application Server:Error setting up a Datasource for Oracle 9i in WAS 7.0.0.19 - WebSphere Application Server Forum

    ibm.com | 1 year ago
    java.sql.SQLException: The Network Adapter could not establish the connectionDSRA0010E: SQL State = 61000, Error Code = 20
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    jdbc connection refused while configuring in hibernate

    Stack Overflow | 3 years ago | user3199285
    org.hibernate.exception.JDBCConnectionException: Error calling Driver#connect
  6. 0

    #17 Unknown Error

    wpthm.com | 2 years ago
    java.sql.SQLException: IO : Undefined Error

  1. osvzs 12 times, last 4 weeks ago
  2. tomthomas 1 times, last 3 months ago
  3. treefolk 21 times, last 5 months ago
  4. Michael 1 times, last 9 months ago
  5. Jeremy 1 times, last 9 months ago
2 more registered users
46 unregistered visitors
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.sql.SQLException

    Invalid character encountered in

    at oracle.jdbc.driver.DatabaseError.throwSqlException()
  2. Oracle jdbc
    OracleDriver.connect
    1. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    2. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
    3. oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
    4. oracle.sql.CharacterSet$2.onFailConversion(CharacterSet.java:2567)
    5. oracle.sql.CharacterSet.convertUTFBytesToJavaChars(CharacterSet.java:1111)
    6. oracle.sql.CharacterSet.convertUTFBytesToJavaChars(CharacterSet.java:923)
    7. oracle.sql.CharacterSet.UTFToJavaChar(CharacterSet.java:825)
    8. oracle.sql.CharacterSet.UTFToString(CharacterSet.java:789)
    9. oracle.jdbc.driver.DBConversion.CharBytesToString(DBConversion.java:520)
    10. oracle.jdbc.driver.T4CTTIoer.processWarning(T4CTTIoer.java:362)
    11. oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:636)
    12. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
    13. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:348)
    14. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
    15. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    16. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:563)
    16 frames
  3. Liquibase Core
    Main.main
    1. liquibase.database.DatabaseFactory.openConnection(DatabaseFactory.java:239)
    2. liquibase.database.DatabaseFactory.openDatabase(DatabaseFactory.java:151)
    3. liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:85)
    4. liquibase.integration.commandline.Main.doMigration(Main.java:915)
    5. liquibase.integration.commandline.Main.run(Main.java:180)
    6. liquibase.integration.commandline.Main.main(Main.java:99)
    6 frames