Chisels & Bits - For Fabric

Chisels & Bits - For Fabric

2M Downloads

[1.18.2-1.2.113] Fatal Crash Retrieving Blueprint from Chest

Peekofwar opened this issue ยท 7 comments

commented

I pulled a blueprint out of a chest that was made a couple mod versions ago, and my game immediately crashed.

While my client did crash, the server seems to still be running.

The blueprint was likely made in Chisels & Bits version 1.18.2-1.2.84. It is also possible it was made after the mod was updated in the server to 1.18.2-1.2.111.

The game crashed whilst unexpected error
Error: java.lang.NullPointerException: Cannot invoke "mod.chiselsandbits.platforms.core.registries.deferred.IRegistryObject.get()" because "convertedItemProvider" is null
Exit Code: -1

crash-2022-07-23_13.34.45-client.txt

[13:34:45] [Server thread/INFO] [minecraft/ServerGamePacketListenerImpl]: Peekofwar lost connection: Disconnected
[13:34:45] [Server thread/INFO] [minecraft/DedicatedServer]: Peekofwar left the game
say hello world
[13:37:57] [Server thread/INFO] [minecraft/DedicatedServer]: [Server] hello world

Minecraft version 1.18.2
Mods (note - both client and server are running the exact same mod list and versions):

Mod                       | Version
--------------------------|-------------
Forge Mod Loader          | 40.1.60
Advanced Peripherals      | 0.7.15b
Computercraft: Tweaked    | 1.100.8
Chisel & Bits             | 1.2.113
Create                    | 0.5.0c
Create Crafts & Additions | 20220715a
Flywheel                  | 0.6.4.87
Just Enough Items         | 9.7.0.209
Mekanism                  | 10.2.2.462
Mekanism Generators       | 10.2.2.462
Mekanism Tools            | 10.2.2.462
MrCrayfish' Furniture Mod | 7.0.0-pre29
Security Craft            | 1.9.2
Rebind Narrator           | 1.1.1
commented

I can no longer login without crashing.

commented

Had to do this to get back into the server without crashing:

[13:48:48] [Server thread/INFO] [minecraft/DedicatedServer]: Peekofwar joined the game
clear Peekofwar chiselsandbits:pattern_single_use
[13:48:48] [Server thread/INFO] [minecraft/DedicatedServer]: Removed 9 items from player Peekofwar

This however does mean that the server operator (in this case, me) has to apply this fix anytime someone gets in a crash loop. That said, I think I might be the only one who had Chisels & Bits blueprints in my server.

commented

Thanks for the report, I will check it out

commented

Same issue here, but I was in a singleplayer world, so there's no way for me to join the world anymore without the game crashing :(

In my case I had just installed the mod and the game crashed right when I changed the placement mode of a simple pattern after writing it with a quill.

crash-2022-08-17_17.54.05-client.txt

If the issue isn't going to be resolved soon I'd appreciate if there's some way to recover the world so I can join it again. I've tried erasing the player data (inside the "playerdata" folder) but it didn't work. Removing the mod solves it but I lose all my chiseled stuff (lots of it haha).
Thanks!

commented

I have the same problem

commented

I can not reproduce this.
Any idea how you got a broken pattern?
Were mods removed or added?

commented

I can not reproduce this. Any idea how you got a broken pattern? Were mods removed or added?

Did you try creating a pattern in the version mentioned before putting it into a chest, then updating to the next version and opening the chest? You might need to change the pattern placement mode before putting it in the chest.
Either something with patterns was bugged at the time, or something was rendered incompatible in an update.