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

JIRA | Varun Kalaiselvan | 10 months ago
  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 | 10 months 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 | 10 months ago | Varun Kalaiselvan
    liquibase.exception.DatabaseException: liquibase.exception.DatabaseException: java.sql.SQLException: Invalid character encountered in
  3. 0

    jdbc connection refused while configuring in hibernate

    Stack Overflow | 3 years ago | user3199285
    org.hibernate.exception.JDBCConnectionException: Error calling Driver#connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    hibernate_慕课问答

    imooc.com | 1 year ago
    org.hibernate.exception.JDBCConnectionException: Error calling Driver#connect
  6. 0

    How to set the timezone region for JDBC Connection and avoid the SqlException timezone region not found?

    Stack Overflow | 2 years ago | AndreaNobili
    java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-01882: timezone region not found

  1. Michael 1 times, last 4 months ago
  2. Jeremy 1 times, last 4 months ago
  3. qavid 2 times, last 6 months ago
  4. Kawada 4 times, last 6 months ago
45 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