I've gotten exit code 0 and exit code -1. This has become extremely frustrating. I've tried everything, everything on my PC is updated. Recently, the game has let me play sometimes while trying to fix it. So I stay in the world for a minute, then leave. If I don't leave, it will still crash in under a minute. When I join again, I get another exit code 0.
Edit: Still no change. Uninstalling and reinstalling does nothing. I've double checked for updates and everything is fine. There's no conflicting programs.
Edit 2: No change, even with the JDK links in the comments. It's still crashing when the world loads. No matter what I try to fix it, I get error codes 0, 1 and -1.
Edit 3: I now have exit code -805306369 and exit code 1
Edit 4:
The game crashed whilst exception ticking world
Error: java.lang.NullPointerException: Cannot invoke "com.mojang.datafixers.util.Either.left()" because "$$6" is null
Exit Code: -1
Edit 5: Snapshot 22w06a crashed (report attached). Playing 1.17.1-
The game crashed whilst rendering overlay
Error: java.lang.BootstrapMethodError: java.lang.SecurityException: SHA-256 digest error for esx.class
Exit Code: -1
Edit 6: It's been a month with the same issues. There's a new error. Exit code -1073741819
Edit 7: PC crashed when I played a new world
Attachments
Comments 12
Have you tried using your own JDK? (https://jdk.java.net/17)
Hi @Sam - we've just released the Microsfot Build of OpenJDK 17.0.2 with several fixes included for the C2 compiler. Are you able to download it from https://docs.microsoft.com/en-gb/java/openjdk/download and use that to launch your Minecraft and see if it's resolved?
@unknown please provide not only the crash log from the launcher, but also the game logs under /logs as well as crash reports under /crash-reports.
@@unknown, sensitive data has been removed from your attachment(s) and they have been re-uploaded as:
[media]-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit