mojira.dev
MC-125474

Opening the creative inventory while the crafting recipe book is enabled causes a crash

The bug

When the recipe book is enabled in a crafting table or in survival inventory, opening the creative inventory make the game to crash.

How to reproduce

  1. Use a crafting table or open your inventory in survival mode

  2. Enable the recipe book

  3. Close the crafting table menu or close your inventory

  4. Switch to creative mode

  5. Open your inventory

Crash report

18w07b\: [^crash-2018-02-15_16.59.33-client.txt]

Description: Unexpected error

java.lang.ClassCastException: cby$b cannot be cast to amn
	at cda.a(SourceFile:39)
	at ccy.f(SourceFile:84)
	at ccy.a(SourceFile:73)
	at ccx.c(SourceFile:186)
	at ccx.a(SourceFile:114)
	at ccx.a(SourceFile:78)
	at ccg.c(SourceFile:56)
	at cau.a(SourceFile:310)
	at bxe.a(SourceFile:728)
	at bxe.av(SourceFile:1335)
	at bxe.m(SourceFile:1220)
	at bxe.b(SourceFile:791)
	at bxe.a(SourceFile:381)
	at net.minecraft.client.main.Main.main(SourceFile:141)

Linked issues

MC-125465 Client crash after closing crafting menu Resolved MC-125485 The game crahs when I touch the E Resolved MC-125486 Opening Inventory In Creative Mode Resolved MC-125500 Game Crash When Opening Inventory Resolved MC-125506 Game crashes Resolved

Attachments

Comments 8

Please attach the crash report.

This Bug can also be reproduced by having wooden tools in the inventory. After Crafting them, switching to creative mode and opening the inventory will immediately crash the game

I've changed the report a little bit, I hope you're fine with that. Please tell if something is wrong now because of my changes.

I have had this happen, I can't open my inventory at all in my profiile, I have to use the official snapshot profile

Just had it happen. Was trying to figure out kelp and it just crashed when i tried to switch out.

I didn't need to even be in survival mode. I put down a crafting table, attempted to use it, and when I tried to get out it crashed.

Right, for the crafting table it's not required, It's a mistake caused by a mod edit.

franswa

Nathan Adams

Confirmed

Minecraft 18w07b

Minecraft 18w07c

Retrieved