1

Minecraft exit code -1

User4802862G 10/3/23 2:39 pm
1.1k
11/10/2023 7:44 pm
i play minecraft with70+ mods and i have this message when i start to generate a world :

The game crashed whilst unexpected error
Error: java.lang.NullPointerException: Cannot invoke "net.minecraft.world.entity.Entity.m_20202_()" because "this.self" is null

i have no idea of what could have happened

Posted by
User4802862G
Level 1 : New Miner
0

  Have something to say?

JoinSign in

4

VintagePhil
11/10/2023 7:44 pm
Level 19 : Journeyman Artist Birb
history
java.lang.NullPointerException occurs due to a situation in application code where an uninitialized object is attempted to be accessed or modified, meaning that you might have removed a mod which had an entity attatched to the player and now the game can't load in said entity because it doesnt exist, since its value is "null"(=nothing), resulting in a crash.
1
HaloCEPrime
10/21/2023 5:49 pm
Level 27 : Expert Explorer
I've had this problem as well, but mine had to do with the graphics rendering program OpenGL. Usually this error code is caused by incompatible mods, mods made for a different version of minecraft, or two or more mods that are each made for a different version. (My error was the third, and I fixed it by removing my mods and installing the respective minecraft version they were made for.)
1
WarnedCrayon509
10/21/2023 4:13 pm
He/Him • Level 4 : Apprentice Explorer
Some things with mods do this. It's hard to find them in big groups, though. Your best bet is to try removing one mod and adding it back in when you remove the next one.
1
HoboMaggot
10/03/2023 10:27 pm
Level 55 : Grandmaster Blob
Is that the entire error?
Can you give me the crash log?
1

Welcome