liquibase.exception.DatabaseException

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.

  • 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
    via by Varun Kalaiselvan,
  • 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
    via by Varun Kalaiselvan,
  • #17 Unknown Error
    via by Unknown author,
  • Error entre Eclipse y Oracle
    via by Mariano Agustin Reyes,
  • connect to oracle
    via by Unknown author,
    • 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

    Users with the same issue

    osvzs
    12 times, last one,
    Unknown visitor1 times, last one,
    treefolk
    21 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    92 more bugmates