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

Game crashed when try check null loaded crossbow in inventory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 19w11b
    • None
    • Unconfirmed

      To reproduce

      1:Get item with this command.

       /give @s crossbow{charged:1b}

      2:Open inventory, and place the cursor over that crossbow.

      3:Crash.

      ---- Minecraft Crash Report ----
      // Why is it breaking :(
      
      Time: 19/03/17 17:55
      Description: Rendering screen
      
      java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
      	at java.util.ArrayList.rangeCheck(ArrayList.java:653)
      	at java.util.ArrayList.get(ArrayList.java:429)
      	at azj.a(SourceFile:383)
      	at bar.a(SourceFile:589)
      	at cyg.a(SourceFile:108)
      	at cyg.a(SourceFile:104)
      	at czn.a(SourceFile:735)
      	at cza.b(SourceFile:182)
      	at czn.a(SourceFile:685)
      	at djc.a(SourceFile:688)
      	at ctp.d(SourceFile:970)
      	at ctp.b(SourceFile:413)
      	at net.minecraft.client.main.Main.main(SourceFile:154)
      
      
      A detailed walkthrough of the error, its code path and all known details is as follows:
      ---------------------------------------------------------------------------------------
      
      -- Head --
      Thread: Client thread
      Stacktrace:
      	at java.util.ArrayList.rangeCheck(ArrayList.java:653)
      	at java.util.ArrayList.get(ArrayList.java:429)
      	at azj.a(SourceFile:383)
      	at bar.a(SourceFile:589)
      	at cyg.a(SourceFile:108)
      	at cyg.a(SourceFile:104)
      	at czn.a(SourceFile:735)
      	at cza.b(SourceFile:182)
      	at czn.a(SourceFile:685)
      
      -- Screen render details --
      Details:
      	Screen name: czn
      	Mouse location: Scaled: (458, 305). Absolute: (916.000000, 611.000000)
      	Screen size: Scaled: (960, 509). Absolute: (1920, 1017). Scale factor of 2.000000
      
      -- Affected level --
      Details:
      	Level name: MpServer
      	All players: 1 total; [dip['Chuzume'/108, l='MpServer', x=39.52, y=65.00, z=-136.45]]
      	Chunk stats: MultiplayerChunkCache: 441, 337
      	Level seed: 0
      	Level generator: ID 01 - flat, ver 0. Features enabled: false
      	Level generator options: {}
      	Level spawn location: World: (48,64,-256), Chunk: (at 0,4,0 in 3,-16; contains blocks 48,0,-256 to 63,255,-241), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
      	Level time: 1907000 game time, 1000 day time
      	Level dimension: 0
      	Level storage version: 0x00000 - Unknown?
      	Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
      	Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false
      	Server brand: vanilla
      	Server type: Integrated singleplayer server
      Stacktrace:
      	at dgf.a(SourceFile:447)
      	at ctp.b(SourceFile:1936)
      	at ctp.b(SourceFile:421)
      	at net.minecraft.client.main.Main.main(SourceFile:154)
      
      -- System Details --
      Details:
      	Minecraft Version: 19w11b
      	Operating System: Windows 10 (amd64) version 10.0
      	Java Version: 1.8.0_51, Oracle Corporation
      	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
      	Memory: 711106168 bytes (678 MB) / 1979711488 bytes (1888 MB) up to 2147483648 bytes (2048 MB)
      	JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xss1M -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
      	Launched Version: 19w11b
      	LWJGL: 3.2.1 build 12
      	OpenGL: GeForce GTX 1060 3GB/PCIe/SSE2 GL version 4.6.0 NVIDIA 419.35, NVIDIA Corporation
      	GL Caps: Using GL 1.3 multitexturing.
      Using GL 1.3 texture combiners.
      Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
      Shaders are available because OpenGL 2.1 is supported.
      VBOs are available because OpenGL 1.5 is supported.
      
      	Using VBOs: Yes
      	Is Modded: Probably not. Jar signature remains and client brand is untouched.
      	Type: Client (map_client.txt)
      	Resource Packs: vanilla, file/Randomobs.zip (incompatible), file/Vertical Slab, file/addtion_default, file/Test
      	Current Language: 日本語 (日本)
      	CPU: 8x Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz
      

       

       

            Unassigned Unassigned
            Chuzume Amura Yuka
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: