Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

parameter installedBy should be optional #19

Closed
felixgao opened this issue Oct 6, 2016 · 1 comment
Closed

parameter installedBy should be optional #19

felixgao opened this issue Oct 6, 2016 · 1 comment

Comments

@felixgao
Copy link

felixgao commented Oct 6, 2016

according to the README the username is optional. so installedBy should be nullable but

Exception in thread "main" java.lang.IllegalArgumentException: Parameter specified as non-null is null: method com.builtamont.cassandra.migration.internal.metadatatable.AppliedMigration.<init>, parameter installedBy
        at com.builtamont.cassandra.migration.internal.metadatatable.AppliedMigration.<init>(AppliedMigration.kt)
        at com.builtamont.cassandra.migration.internal.dbsupport.SchemaVersionDAO.findAppliedMigrations(SchemaVersionDAO.java:238)
        at com.builtamont.cassandra.migration.internal.info.MigrationInfoServiceImpl.refresh(MigrationInfoServiceImpl.kt:58)
        at com.builtamont.cassandra.migration.internal.command.Migrate.run(Migrate.kt:71)
        at com.builtamont.cassandra.migration.CassandraMigration$migrateAction$1.execute(CassandraMigration.kt:357)
        at com.builtamont.cassandra.migration.CassandraMigration$migrateAction$1.execute(CassandraMigration.kt:342)
        at com.builtamont.cassandra.migration.CassandraMigration.execute$cassandra_migration(CassandraMigration.kt:265)
        at com.builtamont.cassandra.migration.CassandraMigration.migrate(CassandraMigration.kt:131)
        at com.builtamont.cassandra.migration.CommandLine.main(CommandLine.kt:73)
@felixgao felixgao closed this as completed Oct 6, 2016
@felixgao
Copy link
Author

felixgao commented Oct 6, 2016

it seems I have an older schema, destroyed the keyspace and recreate made this error go away.

jcam3ron pushed a commit to jcam3ron/cassandra-migration that referenced this issue Dec 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant