My game suddenly crashed while playing. After checking the crash report, the reason is due to an entity ‘bat’ rendering issue. The jvm report is:
java.lang.IncompatibleClassChangeError: Class java.util.stream.ReferencePipeline$7 does not implement the requested interface java.util.Spliterator
And after several tests, sometimes the crash report is like this:
java.lang.IllegalStateException: stream has already been operated upon or closed
I tested them on different minecraft launcher(Official launcher, MultiMC) and both of them having the similar issues('bat' entity rendering) so it might be a game bug itself. Hopefully to get some solution here. Thanks
Attachments are some of the crash reports of minecraft for reference.
Environment
Java 21, 1.21.5
Linked issues
relates to 1
Attachments
Comments 12
I don’t know the exact trigger for the game crash, but I can describe what I did in every world before the game crashing. Just simply fly for a while in spectator mode then switch to creative mode, and the game suddenly crashed with an entity ‘bat’ being ticking. The problem is always due to a bat and i tried in the nether/end, it seems not to crash anymore(I didn’t test for so long but the crash all happened in the overworld). After checking the crash log, the errors are always in the same format like I mentioned in the bug description related to ‘stream’. This is really consistent to reproduce even though I create a new world, switch to a new instance, or even a new launcher, the same crash still happens.
It seems that the crash comes from the bat’s transformation while the bat is trying to stand on a block and remaining stable. During this transformaion, the game is having a larger chance of crashing. I just spawned many bats using the spawn egg and my game crashed because of one standing bat. I am not sure if it is a useful information but hopefully it is useful. Please someone sees this issue and I really want a good game experience rather than continous crashing.
Hello! We are suspecting a memory corruption. To verify, would you be able to run Windows Memory Diagnostics to see if there are any issues?
Here is a link that explains what it is and how to use it. You can follow the “Using the Windows Memory Diagnostic Tool” and “Running the Windows Memory Diagnostic app” sections.
Here I have some new discovery with this problem. I tried the same way in different patches of minecraft, from 1.20.1-1.21.5, and the same rendering issue only happens on patch 1.20.4+, which is the patch that the bat’s texture is reworked. So I think this problem probably comes from the rework model or something related to this. I’m not sure if this is a useful information or not. Hopefully this new information could be taken into account and solve this annoying problem.
Thank you for your report!
After consideration, the issue is being closed as Invalid.
This report does not describe a bug.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Hi! We have just published 25w21a, which contains some changes that might affect the crash that you are seeing. Can you please try running this snapshot version, and check if the issue still occurs?
Thanks!
How can this crash be reproduced?