NPE in AbstractTypeConverter.getDataType

Using 2.0-RC1, I get the following exception when running a diffChangeLog:

java.lang.NullPointerException
at liquibase.database.typeconversion.core.AbstractTypeConverter.getDataType(AbstractTypeConverter.java:55)
at liquibase.diff.DiffResult.addMissingColumnChanges(DiffResult.java:740)
at liquibase.diff.DiffResult.printChangeLog(DiffResult.java:419)
at liquibase.diff.DiffResult.printChangeLog(DiffResult.java:345)
at liquibase.integration.commandline.CommandLineUtils.doDiffToChangeLog(CommandLineUtils.java:119)
at liquibase.integration.commandline.Main.doMigration(Main.java:602)
at liquibase.integration.commandline.Main.main(Main.java:105)

Interestingly, this does not happen when only doing a diff. Here is the command I’m using:
liquibase --driver=oracle.jdbc.OracleDriver --url=“jdbc:oracle:thin:@myserver:1521:target” --username=target --password=target --logLevel=debug diffChangeLog --referenceDriver=oracle.jdbc.OracleDriver --referenceUrl=“jdbc:oracle:thin:@ipvmncodelnx:1521:reference” --referenceUsername=reference --referencePassword=reference

Here’s the output I get:
INFO 10/9/09 5:33 PM:liquibase: Could not set remarks reporting on OracleDatabase: liquibase.database.JdbcConnection.setRemarksReporting(boolean)
INFO 10/9/09 5:33 PM:liquibase: Could not set remarks reporting on OracleDatabase: liquibase.database.JdbcConnection.setRemarksReporting(boolean)
DEBUG 10/9/09 5:33 PM:liquibase: Reading tables for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
INFO 10/9/09 5:33 PM:liquibase: Reading tables for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
DEBUG 10/9/09 5:33 PM:liquibase: Reading views for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
INFO 10/9/09 5:33 PM:liquibase: Reading views for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
DEBUG 10/9/09 5:33 PM:liquibase: Reading foreign keys for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
INFO 10/9/09 5:33 PM:liquibase: Reading foreign keys for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
DEBUG 10/9/09 5:33 PM:liquibase: Reading primary keys for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
INFO 10/9/09 5:33 PM:liquibase: Reading primary keys for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
DEBUG 10/9/09 5:33 PM:liquibase: Reading columns for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
INFO 10/9/09 5:33 PM:liquibase: Reading columns for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
DEBUG 10/9/09 5:33 PM:liquibase: Reading unique constraints for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
INFO 10/9/09 5:33 PM:liquibase: Reading unique constraints for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
DEBUG 10/9/09 5:33 PM:liquibase: Reading indexes for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
INFO 10/9/09 5:33 PM:liquibase: Reading indexes for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
DEBUG 10/9/09 5:33 PM:liquibase: Reading sequences for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
INFO 10/9/09 5:33 PM:liquibase: Reading sequences for reference @ jdbc:oracle:thin:@ipvmncodelnx:1521:reference …
DEBUG 10/9/09 5:33 PM:liquibase: Reading tables for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
INFO 10/9/09 5:33 PM:liquibase: Reading tables for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
DEBUG 10/9/09 5:33 PM:liquibase: Reading views for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
INFO 10/9/09 5:33 PM:liquibase: Reading views for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
DEBUG 10/9/09 5:33 PM:liquibase: Reading foreign keys for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
INFO 10/9/09 5:33 PM:liquibase: Reading foreign keys for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
DEBUG 10/9/09 5:33 PM:liquibase: Reading primary keys for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
INFO 10/9/09 5:33 PM:liquibase: Reading primary keys for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
DEBUG 10/9/09 5:33 PM:liquibase: Reading columns for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
INFO 10/9/09 5:33 PM:liquibase: Reading columns for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
WARNING 10/9/09 5:33 PM:liquibase: Do not know how to convert type 1111
DEBUG 10/9/09 5:33 PM:liquibase: Reading unique constraints for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
INFO 10/9/09 5:33 PM:liquibase: Reading unique constraints for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
DEBUG 10/9/09 5:33 PM:liquibase: Reading indexes for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
INFO 10/9/09 5:33 PM:liquibase: Reading indexes for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
DEBUG 10/9/09 5:33 PM:liquibase: Reading sequences for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
INFO 10/9/09 5:33 PM:liquibase: Reading sequences for target @ jdbc:oracle:thin:@ipvmncodelnx:1521:target …
LiquiBase Update Failed: Unknown Reason
SEVERE 10/9/09 5:33 PM:liquibase: Unknown Reason
java.lang.NullPointerException
at liquibase.database.typeconversion.core.AbstractTypeConverter.getDataType(AbstractTypeConverter.java:55)
at liquibase.diff.DiffResult.addMissingColumnChanges(DiffResult.java:740)
at liquibase.diff.DiffResult.printChangeLog(DiffResult.java:419)
at liquibase.diff.DiffResult.printChangeLog(DiffResult.java:345)
at liquibase.integration.commandline.CommandLineUtils.doDiffToChangeLog(CommandLineUtils.java:119)
at liquibase.integration.commandline.Main.doMigration(Main.java:602)
at liquibase.integration.commandline.Main.main(Main.java:105)

Any help would be appreciated. Thanks.

I think I see what is causing that.  I uploaded http://www.liquibase.org/liquibase-2.0-rc2-SNAPSHOT-bin.zip

Can you test out that version and see if it fixes the problem?

Thanks,
Nathan

Yep, that fixes the problem. Thanks.

Great, thanks for testing that out.  Let me know if you run into any other troubles.

Nathan