Every time I open Minecraft 1.18.2 and I click Singleplayer, it says Saving World and crashes. The error code is:
Description: mouseClicked event handler
java.lang.StackOverflowError: mouseClicked event handler
at og$1.a(SourceFile:134)
at og$1.a(SourceFile:136)
at og$1.a(SourceFile:136)
at og$1.a(SourceFile:136)
at og$1.a(SourceFile:136)
at og$1.a(SourceFile:136)
at og$1.a(SourceFile:136)
at og$1.a(SourceFile:136)
at og$1.a(SourceFile:136)
at og$1.a(SourceFile:136)
at og$1.a(SourceFile:136)
at og$1.a(SourceFile:136)
at og$1.a(SourceFile:136)
at og$1.a(SourceFile:136)
at og$1.a(SourceFile:136)
at og$1.a(SourceFile:136)
...
Linked issues
Attachments
Comments 8
In the prerelease it should log which world folder is causing the issue before the crash.
Can you please attach the level.dat from that folder to the report?
Ahh ok.
To find out which world is causing is:
1. Reproduce the crash in the prerelease.
2. Check the file %APPDATA%\.minecraft\logs\latest.log
. It should contain a line like Ran out of stack trying to read summary of <folder of level that caused the crash> (pretty much the last non-indented line towards the end of the file).
The file you provided was very insightful. It is broken in an interesting way.
The next prerelease (1.18.2-pre3) will try to restore the world if possible. It will still crash once, but shouldn't when starting it a second time.
Thank you for your help! 🙂
Please attach the crash report not just a screenshot of it