NPE While Tagging Database From Command Line

Executing a “tag” command from the command line works with 1.9.4, but not 2.0-RC1.

Here is the stack trace with 2.0-RC1 with the logLevel set to DEBUG.
Oct 21, 2009 10:54:06 AM liquibase.logging.JavaUtilLogger info
INFO: Could not set remarks reporting on OracleDatabase: liquibase.database.JdbcConnection.setRemarksReporting(boolean)
LiquiBase Update Failed: Unknown Reason
Oct 21, 2009 10:54:07 AM liquibase.logging.JavaUtilLogger severe
SEVERE: Unknown Reason
liquibase.exception.DatabaseException: java.lang.NullPointerException
at liquibase.database.AbstractDatabase.tag(AbstractDatabase.java:579)
at liquibase.Liquibase.tag(Liquibase.java:487)
at liquibase.integration.commandline.Main.doMigration(Main.java:623)
at liquibase.integration.commandline.Main.main(Main.java:105)
Caused by: java.lang.NullPointerException
at liquibase.database.AbstractDatabase.tag(AbstractDatabase.java:577)
… 3 more

Is it an empty database?  Or have there been changes already ran?

Nathan

Changes were previously run.

I found the issue and fixed it.  Thanks for reporting it.  It will be in the next release, or you can get it in the latest build at http://liquibase.org/ci

Nathan

I’ve confirmed the issue is fixed with the latest build:
http://ci.ops4j.org/browse/LQB-DEF-109/artifact

Thanks.

Thanks for checking it out and letting me know

Nathan