-
-
Notifications
You must be signed in to change notification settings - Fork 695
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
java.lang.IllegalStateException: zip file closed #279
Comments
I just had the same issue with |
I have the same issue with 9.12 in springboot |
I got the same issue when running a packed jar from spring boot, but starting the same application from the source-code with maven spring plugin, run without any related issue |
take a look at this : sebastianarnold/TeXoo#20 (comment) |
.. due to a known regression: ronmamo/reflections#279
.. due to a known regression: ronmamo/reflections#279
.. due to a known regression: ronmamo/reflections#279
.. due to a known regression: ronmamo/reflections#279
When using the springboot jar, you can rewrite the org.reflections.vfs.zipfile class and implement it with org.springframework.boot.loader.jar.JarFile. org.springframework.boot spring-boot-loader |
I have the same issue with 9.12 in springboot |
Could this be related to multi threading issue that's been around since |
I have the same issue after upgrading to reflections 9.12.
|
#me_too --> downgraded to 0.9.11 as suggested. |
Facing the same issue ... any updates? |
.. due to a known regression: ronmamo/reflections#279
This is still an issue, I also had to downgrade to 0.9.11, is there something we can do to help figure this out ? |
Same issue since Spring Boot upgrade from 2.3.3 to 2.3.4 (spring-boot-starter-parent) |
We've seen the same with egeria (link above) which affects both 2.3.4 and 2.3.5 of spring boot. 2.3.3 is working fine. We do have a dependency (maven build) on reflections 0.9.12 also used elsewhere. |
This seems to have been fixed now in Spring boot 2.3.6.RELEASE
https://github.com/spring-projects/spring-boot/releases/tag/v2.3.6.RELEASE |
As far as I understood spring fixed a similar problem, but not the same. At least I still have the problem with spring-boot 2.4.0 and reflections 0.9.12. Downgrading to 0.9.11 solves it. |
0.9.11 has the same error popping up for us randomly (we are not using spring), with exactly same message. Could it be that there is something unfortunate in openjdk 11? We are mixing things built with java 11 and java 8, don't know if this is important. |
I'm trying (after some time digging) but I'm still getting same issue,
|
Can a 0.9.13 patch version be released to fix this issue ? |
Does this issue still persist in latest 0.10.x releases? |
as @nachomezzadra mentioned
not sure if it worth a workaround (avoid jarFile.stream() introduced in 937c8f3 ZipDir#getFiles) even though it was fixed later in springboot, or else |
Oh ok, I wasn't sure if it was fixed because of these comments I am on Spring 2.5.x so I will give latest version a try |
downgraded to 0.9.11 and worked for me. For me issue was only when i was running as docker container. |
I have checked different versions of Spring and I can confirm what @bmaehr already mentioned. The library throws this exception when it is used with Spring framework ticket related to this issue: spring-projects/spring-boot#23821 |
When using version 9.12 on kubernetes 1.15 with spring boot 2.2.4 we get following error.
When using version 9.11 we do not have this issue.
Our config is as follows:
"edit"
It runs on adoptOpenJdk 11.0.6_10
The text was updated successfully, but these errors were encountered: