Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Unexpected error running Liquibase: java.lang.RuntimeException: java.lang.NullPointerException

$
0
0
Hello.

I been unable to use liqubase, it throws this java.lang.NullPointerException error when used, it is a big DB with 836 tables so that maybe has something to do with it.

  1. END)  AS referencing_name from dependency_pair where REFERENCED_NAME != REFERENCING_NAME  AND ( REFERENCED_NAME like 'public.%' OR REFERENCED_NAME NOT LIKE '%.%')  AND referencing_schema_name is not null and referencing_name is not null
  2. 16:35:18.373 ERROR [liquibase.integration.commandline.Main]: Unexpected error running Liquibase: java.lang.RuntimeException: java.lang.NullPointerException
  3. liquibase.exception.LiquibaseException: liquibase.command.CommandExecutionException: java.lang.RuntimeException: java.lang.NullPointerException
  4. at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:284)
  5. at liquibase.integration.commandline.Main.doMigration(Main.java:1317)
  6. at liquibase.integration.commandline.Main.run(Main.java:279)
  7. at liquibase.integration.commandline.Main.main(Main.java:157)
  8. Caused by: liquibase.command.CommandExecutionException: java.lang.RuntimeException: java.lang.NullPointerException
  9. at liquibase.command.AbstractCommand.execute(AbstractCommand.java:24)
  10. at liquibase.integration.commandline.CommandLineUtils.doGenerateChangeLog(CommandLineUtils.java:282)
  11. ... 3 common frames omitted
  12. Caused by: java.lang.RuntimeException: java.lang.NullPointerException
  13. at liquibase.diff.output.changelog.DiffToChangeLog$1.run(DiffToChangeLog.java:178)
  14. at liquibase.Scope.child(Scope.java:101)
  15. at liquibase.Scope.child(Scope.java:82)
  16. at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:121)
  17. at liquibase.diff.output.changelog.DiffToChangeLog.print(DiffToChangeLog.java:88)
  18. at liquibase.command.core.GenerateChangeLogCommand.run(GenerateChangeLogCommand.java:69)
  19. at liquibase.command.AbstractCommand.execute(AbstractCommand.java:19)
  20. ... 4 common frames omitted
  21. Caused by: java.lang.NullPointerException: null
  22. at liquibase.diff.output.changelog.DiffToChangeLog.addDependencies(DiffToChangeLog.java:637)
  23. at liquibase.diff.output.changelog.DiffToChangeLog.sortObjects(DiffToChangeLog.java:369)
  24. at liquibase.diff.output.changelog.DiffToChangeLog.sortMissingObjects(DiffToChangeLog.java:337)
  25. at liquibase.diff.output.changelog.DiffToChangeLog.generateChangeSets(DiffToChangeLog.java:278)
  26. at liquibase.diff.output.changelog.DiffToChangeLog.printNew(DiffToChangeLog.java:205)
  27. at liquibase.diff.output.changelog.DiffToChangeLog$1.run(DiffToChangeLog.java:127)
  28. ... 10 common frames omitted
Thanks

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>