java.lang.NullPointerException

JIRA | Nathan Voxland | 3 years ago
  1. 0

    From http://forum.liquibase.org/topic/liquibase-3-0-2-nullpointerexception-and-logging-request I'm converting an existing set of changeset files over to use liquibase 3.0.2 from version 2.0.0. I've updated the schema versions, but when running one of my changesets now, I'm receiving the following NPE: ... DEBUG 7/23/13 3:18 PM:liquibase: Executing UPDATE database command: UPDATE ntdm.databasechangelogloc k SET LOCKED = FALSE, LOCKEDBY = NULL, LOCKGRANTED = NULL WHERE ID = 1 INFO 7/23/13 3:18 PM:liquibase: Successfully released change log lock Liquibase update Failed: Unknown Reason SEVERE 7/23/13 3:18 PM:liquibase: Unknown Reason java.lang.NullPointerException at liquibase.precondition.core.ChangeSetExecutedPrecondition.check(ChangeSetExecutedPrecondi tion.java:52) at liquibase.precondition.core.AndPrecondition.check(AndPrecondition.java:34) at liquibase.precondition.core.PreconditionContainer.check(PreconditionContainer.java:199) at liquibase.changelog.visitor.ValidatingVisitor.validate(ValidatingVisitor.java:52) at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:143) at liquibase.Liquibase.update(Liquibase.java:132) at liquibase.integration.commandline.Main.doMigration(Main.java:848) at liquibase.integration.commandline.Main.main(Main.java:138) The lock is released correctly in the databasechangeloglock table. This is on Postgres 9.2. All changesets previously ran correctly under 2.0 (no changes to content, except for the schema version).

    JIRA | 3 years ago | Nathan Voxland
    java.lang.NullPointerException
  2. 0

    From http://forum.liquibase.org/topic/liquibase-3-0-2-nullpointerexception-and-logging-request I'm converting an existing set of changeset files over to use liquibase 3.0.2 from version 2.0.0. I've updated the schema versions, but when running one of my changesets now, I'm receiving the following NPE: ... DEBUG 7/23/13 3:18 PM:liquibase: Executing UPDATE database command: UPDATE ntdm.databasechangelogloc k SET LOCKED = FALSE, LOCKEDBY = NULL, LOCKGRANTED = NULL WHERE ID = 1 INFO 7/23/13 3:18 PM:liquibase: Successfully released change log lock Liquibase update Failed: Unknown Reason SEVERE 7/23/13 3:18 PM:liquibase: Unknown Reason java.lang.NullPointerException at liquibase.precondition.core.ChangeSetExecutedPrecondition.check(ChangeSetExecutedPrecondi tion.java:52) at liquibase.precondition.core.AndPrecondition.check(AndPrecondition.java:34) at liquibase.precondition.core.PreconditionContainer.check(PreconditionContainer.java:199) at liquibase.changelog.visitor.ValidatingVisitor.validate(ValidatingVisitor.java:52) at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:143) at liquibase.Liquibase.update(Liquibase.java:132) at liquibase.integration.commandline.Main.doMigration(Main.java:848) at liquibase.integration.commandline.Main.main(Main.java:138) The lock is released correctly in the databasechangeloglock table. This is on Postgres 9.2. All changesets previously ran correctly under 2.0 (no changes to content, except for the schema version).

    JIRA | 3 years ago | Nathan Voxland
    java.lang.NullPointerException
  3. 0

    Liquibase Hibernate Plugin Does Not Work

    Stack Overflow | 2 years ago | Jazzepi
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unexpected error running Liquibase: Unknown Reason

    Stack Overflow | 2 years ago | user3369864
    java.lang.NullPointerException

    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 liquibase.precondition.core.ChangeSetExecutedPrecondition.check()
    2. Liquibase Core
      Main.main
      1. liquibase.precondition.core.ChangeSetExecutedPrecondition.check(ChangeSetExecutedPrecondition.java:52)
      2. liquibase.precondition.core.AndPrecondition.check(AndPrecondition.java:34)
      3. liquibase.precondition.core.PreconditionContainer.check(PreconditionContainer.java:199)
      4. liquibase.changelog.visitor.ValidatingVisitor.validate(ValidatingVisitor.java:52)
      5. liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:143)
      6. liquibase.Liquibase.update(Liquibase.java:132)
      7. liquibase.integration.commandline.Main.doMigration(Main.java:848)
      8. liquibase.integration.commandline.Main.main(Main.java:138)
      8 frames