-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Transient failure: ClassFormatError: Truncated class file
#20314
Comments
we hit a similar problem on one of our internal apps, along with this piece of stacktrace:
We were scratching our head when we decided to ask around (incl. chatgpt) decompiler showed foo.bar.Sample entry was there.. abc.jar is an uberjar and ideally a jar should have one copy of the class per package. good day! |
@sadaaithal thanks for your comment. This instance of the error happens on our CI only from time to time, it might be due concurrent access to the same class file which would corrupt it. |
Got it again today: https://github.com/scala/scala3/actions/runs/13242917509/job/36962276025 for #22574. |
ClassFormatError: Truncated class file
@mbovel from https://github.com/scala/scala3/actions/runs/13242917509/job/36962276025 I see the exception is
I see the source for ChildJVMMain here https://github.com/michelou/scala3/blob/main/compiler/test/dotty/tools/vulpix/ChildJVMMain.java I can't see how the we can trigger a concurrent classload of the "Test" class. It would help if you could point me in the right direction .. |
Is this a flaky CI issue?
Failed run: https://github.com/scala/scala3/actions/runs/8909891046/job/24468041106
cc @hamzaremmal
The text was updated successfully, but these errors were encountered: