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
Warning "Input stream has been finalized or forced closed without being explicitly closed" #2031
Comments
Bisected it to this change 1692dce. |
Which JVM are you using here? That line in question
is really harmless, so I suspect an issue in the version you are using. What is the result with the latest Oracle 8, 9 or 10 JRE? |
Please note, that the only changing element/version in my env is flyway 5.0.7 -> 5.1.1. |
Agreed, but that happens much later though. The stack trace is quite clear about where this is triggered. Could you provide a small repo that reliably reproduces the issue so we can debug it? |
I'll try to prepare repro, but can't commit to the nearest future. Will let you know once ready. |
Here is maven project with flyway 5.1.1, that upon Details of env used:
|
Thanks for the repo. This was very useful as it appears this only happens under GlassFish. If you run the same code from your repo in a regular JUnit test, no such warning is issued. It was a potential resource leak nonetheless and it has now been fixed. |
Thank you for fix. |
…closed without being explicitly closed
Which version and edition of Flyway are you using?
5.1.1 - with the issue reported
5.0.7 - without the issue reported
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Integration test executed under maven with glassfish-embed.
Which database are you using (type & version)?
Apache Derby 10.14.2.0
Which operating system are you using?
GNU/Linux
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
Upgraded dependency to flyway from 5.0.7 to 5.1.1, and went with
mvn verify
on my project as before.What did you expect to see?
No warning quoted below.
What did you see instead?
The text was updated successfully, but these errors were encountered: