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 on database without default schema #559

Closed
ghost opened this issue Jul 22, 2013 · 0 comments
Closed

NullPointerException on database without default schema #559

ghost opened this issue Jul 22, 2013 · 0 comments

Comments

@ghost
Copy link

@ghost ghost commented Jul 22, 2013

I'm using Flyway 2.2 with PostgreSQL 9.2 and no defaults, i.e. there is neither a public owner nor a default schema. By calling migrate() I'm getting this result:

Exception in thread "FooBar" java.lang.NullPointerException
    at com.googlecode.flyway.core.dbsupport.Schema.equals(Schema.java:267)
    at com.googlecode.flyway.core.Flyway$1.execute(Flyway.java:871)
    at com.googlecode.flyway.core.Flyway$1.execute(Flyway.java:819)
    at com.googlecode.flyway.core.Flyway.execute(Flyway.java:1191)
    at com.googlecode.flyway.core.Flyway.migrate(Flyway.java:819)

This was already a problem in 2.1.1 and I was hoping for 2.2 release because of the fixed issue #456. Sadly the problem is still present.

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

Successfully merging a pull request may close this issue.

None yet
0 participants
You can’t perform that action at this time.