Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-245504

Touchscreen mode crash // java.lang.ClassCastException: class eec$a cannot be cast to class eec$c (eec$a and eec$c are in unnamed module of loader 'app')

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • 1.18.1, 1.19 Pre-release 3
    • 1.19 Pre-release 4
    • None
    • Confirmed
    • Crash
    • Very Important

    Description

      The bug

      If you drag an item out of a creative menu and into the Survival Inventory tab, it will crash the game.

      How to reproduce

      1. Enable Touchscreen Mode in the Controls menu
      2. Open the Creative inventory
      3. Press and hold your cursor on an item, and drag the item above the Survival Inventory icon (the chest in the bottom right)
      4. Release and quickly re-press the item (you should now see the Survival Inventory page but still be holding the item)
      5. Release the item over a slot in the Survival Inventory page
        Crash

      Stack trace

      Description: mouseReleased event handler
      
      java.lang.ClassCastException: class eec$a cannot be cast to class eec$c (eec$a and eec$c are in unnamed module of loader 'app')
      	at eec.a(SourceFile:217)
      	at edp.c(SourceFile:495)
      	at eec.c(SourceFile:523)
      	at dxp.a(SourceFile:96)
      	at ecr.a(SourceFile:491)
      	at dxp.a(SourceFile:96)
      	at dxp.c(SourceFile:165)
      	at auh.execute(SourceFile:101)
      	at dxp.b(SourceFile:165)
      	at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36)
      	at org.lwjgl.system.JNI.invokeV(Native Method)
      	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101)
      	at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:195)
      	at drp.e(SourceFile:310)
      	at dxo.f(SourceFile:1142)
      	at dxo.e(SourceFile:733)
      	at net.minecraft.client.main.Main.main(SourceFile:238)
      

      Attachments

        Activity

          People

            boq [Mojang] Bartosz Bok
            Coderx_Gamer Coderx Gamer
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: