liquibase.exception.DatabaseException: java.lang.NullPointerException

JIRA | Per Östgärd | 2 years ago
  1. 0

    When trying to add a tag to a database with several rows in the database changelog table the following stacktrace is returned: [echo] Adding tag before-3.16.8 [tagDatabase] INFO 6/25/14 8:34 AM: liquibase: Successfully acquired change log lock [tagDatabase] INFO 6/25/14 8:35 AM: liquibase: Successfully released change log lock BUILD FAILED /home/developer/database.ent:30: liquibase.exception.DatabaseException: java.lang.NullPointerException at liquibase.changelog.StandardChangeLogHistoryService.tag(StandardChangeLogHistoryService.java:306) at liquibase.database.AbstractJdbcDatabase.tag(AbstractJdbcDatabase.java:834) at liquibase.Liquibase.tag(Liquibase.java:695) at liquibase.integration.ant.TagDatabaseTask.executeWithLiquibaseClassloader(TagDatabaseTask.java:32) at liquibase.integration.ant.BaseLiquibaseTask.execute(BaseLiquibaseTask.java:75) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.Main.runBuild(Main.java:809) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Caused by: java.lang.NullPointerException at liquibase.changelog.StandardChangeLogHistoryService.tag(StandardChangeLogHistoryService.java:304) ... 20 more The tag is added with the ant task tagdatabase before any new changesets are applied.

    JIRA | 2 years ago | Per Östgärd
    liquibase.exception.DatabaseException: java.lang.NullPointerException
  2. 0

    When trying to add a tag to a database with several rows in the database changelog table the following stacktrace is returned: [echo] Adding tag before-3.16.8 [tagDatabase] INFO 6/25/14 8:34 AM: liquibase: Successfully acquired change log lock [tagDatabase] INFO 6/25/14 8:35 AM: liquibase: Successfully released change log lock BUILD FAILED /home/developer/database.ent:30: liquibase.exception.DatabaseException: java.lang.NullPointerException at liquibase.changelog.StandardChangeLogHistoryService.tag(StandardChangeLogHistoryService.java:306) at liquibase.database.AbstractJdbcDatabase.tag(AbstractJdbcDatabase.java:834) at liquibase.Liquibase.tag(Liquibase.java:695) at liquibase.integration.ant.TagDatabaseTask.executeWithLiquibaseClassloader(TagDatabaseTask.java:32) at liquibase.integration.ant.BaseLiquibaseTask.execute(BaseLiquibaseTask.java:75) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.Main.runBuild(Main.java:809) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Caused by: java.lang.NullPointerException at liquibase.changelog.StandardChangeLogHistoryService.tag(StandardChangeLogHistoryService.java:304) ... 20 more The tag is added with the ant task tagdatabase before any new changesets are applied.

    JIRA | 2 years ago | Per Östgärd
    liquibase.exception.DatabaseException: java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.changelog.StandardChangeLogHistoryService.tag()
    2. Liquibase Core
      BaseLiquibaseTask.execute
      1. liquibase.changelog.StandardChangeLogHistoryService.tag(StandardChangeLogHistoryService.java:304)
      2. liquibase.database.AbstractJdbcDatabase.tag(AbstractJdbcDatabase.java:834)
      3. liquibase.Liquibase.tag(Liquibase.java:695)
      4. liquibase.integration.ant.TagDatabaseTask.executeWithLiquibaseClassloader(TagDatabaseTask.java:32)
      5. liquibase.integration.ant.BaseLiquibaseTask.execute(BaseLiquibaseTask.java:75)
      5 frames
    3. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    5. Ant
      Main.startAnt
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:390)
      4. org.apache.tools.ant.Target.performTasks(Target.java:411)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
      6. org.apache.tools.ant.Project.executeTarget(Project.java:1368)
      7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      8. org.apache.tools.ant.Project.executeTargets(Project.java:1251)
      9. org.apache.tools.ant.Main.runBuild(Main.java:809)
      10. org.apache.tools.ant.Main.startAnt(Main.java:217)
      10 frames
    6. Apache Ant Launcher
      Launcher.main
      1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
      2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
      2 frames