Command info: Comparison method violates its general contract! #1575
What version of Flyway are you using?
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
What database are you using (type & version)?
Oracle Database 12c Enterprise Edition Release 184.108.40.206.0 - 64bit Production
What operating system are you using?
Windows 7 Professional Service Pack 1
What did you do?
(Please include the content causing the issue, any relevant configuration settings, and the command you ran)
There exist several normal successful migrations in the database, which have been executed with flyway Version 3.2.1.
What did you expect to see?
The normal info-Output.
What did you see instead?
This error message:
The text was updated successfully, but these errors were encountered:
I noticed, that the milestone for this issue has been changed to 5.0.0.
For that reason we are forced to remain with all of our customers on Version 3.2.1, because we are responsible for the reliability of our delivered software (including database).
Please don't hesitate to contact me here, if you need additional information concerning this issue.
I believe this is related to a change in the way Java performs sorting:
To circumvent this issue in the short term I added the following parameter to the flyway java command line:
I suspect the reason why 3.21 works is because it's bundled with an earlier JAVA version?
Here an extract of the file 'flyway' to clarify: