Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException with repeatable scripts #9

Open
chewlett opened this issue Jan 2, 2019 · 0 comments
Open

NullPointerException with repeatable scripts #9

chewlett opened this issue Jan 2, 2019 · 0 comments

Comments

@chewlett
Copy link

chewlett commented Jan 2, 2019

Flyway has the ability to deploy repeatable scripts (by default with the prefix "R__"), which are deployed when the contents of the file has changed.

https://flywaydb.org/getstarted/repeatable

When a repeatable script is deployed, the record inserted in the schema_version table is null. I'm guessing that the null pointer exception is being thrown when the code is trying to get the migration info from the schema_version table and the version is unexpectedly null.

Below is a screen shot from my CloudWatch logs, the exception is being thrown after the deployment has proceeded successfully.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant