[1.20.1][Forge] java.lang.NullPointerException: Cannot invoke "net.minecraft.client.multiplayer.ClientLevel.m_9598_()" because "world" is null
V972 opened this issue ยท 9 comments
Describe the Bug
The game crashes when openning creative inventory. Doesn't happen in survival.
Reproduction Steps
- Start the game
- Open/create the world
- Switch to creative if not already
- Press whatever button the inventory is binded to
Expected Result
Creative inventory opens.
Screenshots and Videos
No response
Crash Report or Log
https://gist.github.com/V972/7b4687590735e23ef78696062ed42cbd
Operating System
Windows 10
Mod Version
0.5.1d
Minecraft Version
1.20.1
Forge Version
47.1.1
Modlist
allthetrims-3.1.0-forge+1.20.1.jar
appleskin-forge-mc1.20.1-2.5.0.jar
architectury-9.1.10-forge.jar
AttributeFix-Forge-1.20-20.0.2.jar
balm-forge-1.20-7.0.4.jar
BetterAdvancements-1.20.1-0.3.2.161.jar
BetterF3-7.0.1-Forge-1.20.1.jar
canary-mc1.20(.1)-0.2.6.jar
catalogue-forge-1.20.1-1.7.1.jar
chat_heads-0.10.16-forge-1.20.jar
cloth-config-11.0.99-forge.jar
Clumps-forge-1.20.1-12.0.0.3.jar
Controlling-forge-1.20.1-12.0.1.jar
corpse-1.20.1-1.0.3.jar
cosmeticarmorreworked-1.20.1-v1a.jar
craftingtweaks-forge-1.20-18.0.2.jar
create-1.20.1-0.5.1.d.jar
curios-forge-5.2.0-beta.3+1.20.1.jar
dynamicassetgenerator-forge-1.20.1-4.1.0.jar
entityculling-forge-1.6.2-mc1.20.jar
entity_model_features_forge_1.20-0.2.13.jar
entity_texture_features_forge_1.20-4.4.5.jar
farsight-1.20.1-3.2.jar
ferritecore-6.0.0-forge.jar
invhud.forge.1.20.1-3.4.14.jar
Jade-1.20-forge-11.1.4.jar
jei-1.20.1-forge-15.2.0.23.jar
JustEnoughProfessions-forge-1.20.1-3.0.1.jar
JustEnoughResources-1.20.1-1.4.0.222.jar
modernfix-forge-5.2.5+mc1.20.1.jar
MouseTweaks-forge-mc1.20-2.25.jar
Neat-1.20-35-FORGE.jar
NoChatReports-FORGE-1.20.1-v2.2.2.jar
rubidium-0.6.5.jar
Searchables-forge-1.20.1-1.0.1.jar
sfcr-1.7.6-mc1.20.jar
starlight-1.1.2+forge.1cda73c.jar
WorldHandler-1.20.1-3.5.jar
yet-another-config-lib-forge-3.0.3+1.20.jar
Additional Context
The crash reports mentions registering creative tabs
there is at present a bug (fixed in github) concerning the creative tabs but it concerns its use on the server. so my suspicions are turning towards the searchables library which you both have in common. try disabling searchables (and the mods that depend on it) and let me know what happens. (this doesn't invalidate my point about starlight though. it is incompatible with create 1.20.1 and unnecessary because minecraft 1.20.1 has a new lighting engine which implements teh techniques from starlight)
https://pastebin.com/ubp1NmpS
I have the same crash and I don't use Starlight
I disabled Searchable and Controlling, and still got https://pastebin.com/mYw5bwin
Full debug.log, if it can help
dang! at this point unfortunately we need to go the hard way and figure out which mod is responsible by narrowing it down. a good general strategy is this: (1) disable half the mods; if the problem persists, then the culprit is in the mods that have remained enabled, (2) if not then it is in the other half. repeat. this is lengthy and no fun, but i dont see another way
Tested, and AllTheTrims is the culprit, removing it fixes/remove the crash to desktop
For some reason I haven't recieved any notifications about this...
But glad that the culplrit was found, now to file an issue on All the trims's github I suppose?