Skip to content

Instantly share code, notes, and snippets.

@nkdns
Last active March 15, 2024 11:39
Show Gist options
  • Save nkdns/bf6e7127c05ff262e02f53b706442c07 to your computer and use it in GitHub Desktop.
Save nkdns/bf6e7127c05ff262e02f53b706442c07 to your computer and use it in GitHub Desktop.
Log of bug causing MC crash due to index out of bounds between Create mod and REI
---- Minecraft Crash Report ----
// Who set us up the TNT?
Time: 2024-03-15 18:11:27
Description: Getting tooltips
java.lang.IndexOutOfBoundsException: Index 1 out of bounds for length 1
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
at java.base/java.util.Objects.checkIndex(Objects.java:359)
at java.base/java.util.ArrayList.get(ArrayList.java:427)
at net.minecraft.class_2371.get(class_2371.java:47)
at com.simibubi.create.compat.rei.category.CreateRecipeCategory.lambda$addStochasticTooltip$2(CreateRecipeCategory.java:134)
at me.shedaniel.rei.impl.common.entry.AbstractEntryStack.getTooltip(AbstractEntryStack.java:215)
at me.shedaniel.rei.api.common.entry.EntryStack.getTooltip(EntryStack.java:225)
at me.shedaniel.rei.impl.client.gui.widget.EntryWidget.getCurrentTooltip(EntryWidget.java:442)
at me.shedaniel.rei.impl.client.gui.widget.EntryWidget.queueTooltip(EntryWidget.java:430)
at me.shedaniel.rei.impl.client.gui.widget.EntryWidget.method_25394(EntryWidget.java:385)
at me.shedaniel.rei.impl.client.gui.widget.MergedWidget.method_25394(MergedWidget.java:51)
at me.shedaniel.rei.api.client.gui.widgets.DelegateWidget.method_25394(DelegateWidget.java:48)
at me.shedaniel.rei.api.client.gui.widgets.DelegateWidget.method_25394(DelegateWidget.java:48)
at me.shedaniel.rei.impl.client.gui.widget.DelegateWidgetWithTranslate.method_25394(DelegateWidgetWithTranslate.java:58)
at me.shedaniel.rei.impl.client.gui.screen.DefaultDisplayViewingScreen.method_25394(DefaultDisplayViewingScreen.java:342)
at net.minecraft.class_757.method_3192(class_757.java:881)
at net.minecraft.class_310.method_1523(class_310.java:1177)
at net.minecraft.class_310.method_1514(class_310.java:768)
at net.minecraft.client.main.Main.method_44604(Main.java:244)
at net.minecraft.client.main.Main.main(Main.java:51)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:71)
at oolloo.jlw.Wrapper.main(Wrapper.java:51)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Render thread
Stacktrace:
at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266)
at java.base/java.util.Objects.checkIndex(Objects.java:359)
at java.base/java.util.ArrayList.get(ArrayList.java:427)
-- Screen details --
Details:
Screen name: me.shedaniel.rei.impl.client.gui.screen.DefaultDisplayViewingScreen
Stacktrace:
at me.shedaniel.rei.impl.client.util.CrashReportUtils.screen(CrashReportUtils.java:50)
at me.shedaniel.rei.impl.client.util.CrashReportUtils.essential(CrashReportUtils.java:44)
at me.shedaniel.rei.impl.common.entry.AbstractEntryStack.getTooltip(AbstractEntryStack.java:235)
at me.shedaniel.rei.api.common.entry.EntryStack.getTooltip(EntryStack.java:225)
at me.shedaniel.rei.impl.client.gui.widget.EntryWidget.getCurrentTooltip(EntryWidget.java:442)
at me.shedaniel.rei.impl.client.gui.widget.EntryWidget.queueTooltip(EntryWidget.java:430)
at me.shedaniel.rei.impl.client.gui.widget.EntryWidget.method_25394(EntryWidget.java:385)
at me.shedaniel.rei.impl.client.gui.widget.MergedWidget.method_25394(MergedWidget.java:51)
at me.shedaniel.rei.api.client.gui.widgets.DelegateWidget.method_25394(DelegateWidget.java:48)
at me.shedaniel.rei.api.client.gui.widgets.DelegateWidget.method_25394(DelegateWidget.java:48)
at me.shedaniel.rei.impl.client.gui.widget.DelegateWidgetWithTranslate.method_25394(DelegateWidgetWithTranslate.java:58)
at me.shedaniel.rei.impl.client.gui.screen.DefaultDisplayViewingScreen.method_25394(DefaultDisplayViewingScreen.java:342)
at net.minecraft.class_757.method_3192(class_757.java:881)
at net.minecraft.class_310.method_1523(class_310.java:1177)
at net.minecraft.class_310.method_1514(class_310.java:768)
at net.minecraft.client.main.Main.method_44604(Main.java:244)
at net.minecraft.client.main.Main.main(Main.java:51)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:71)
at oolloo.jlw.Wrapper.main(Wrapper.java:51)
-- Renderer details --
Details:
Renderer name: me.shedaniel.rei.impl.common.entry.TypedEntryStack
Z level: 100
Entry type: minecraft:item
Is empty: false
Entry identifier: create:zinc_ingot
-- Entry Renderer --
Details:
Entry definition class name: me.shedaniel.rei.plugin.client.entry.ItemEntryDefinition
Item Type: zinc_ingot
Item Damage: 0
Item NBT: null
Item Foil: false
-- Screen render details --
Details:
Screen name: me.shedaniel.rei.impl.client.gui.screen.DefaultDisplayViewingScreen
Mouse location: Scaled: (210, 141). Absolute: (841.000000, 563.000000)
Screen size: Scaled: (480, 255). Absolute: (1920, 1017). Scale factor of 4.000000
-- Affected level --
Details:
All players: 1 total; [class_746['nkdns'/52427, l='ClientLevel', x=314.43, y=68.00, z=421.11]]
Chunk stats: 1024, 470
Level dimension: minecraft:overworld
Level spawn location: World: (8,64,8), Section: (at 8,0,8 in 0,4,0; chunk contains blocks 0,-64,0 to 15,319,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,-64,0 to 511,319,511)
Level time: 26404320 game time, 27587067 day time
Server brand: fabric
Server type: Non-integrated multiplayer server
-- Last reload --
Details:
Reload number: 1
Reload reason: initial
Finished: Yes
Packs: Default, Minecraft-Mod-Language-Modpack-Converted-1.19.2.zip, Fabric Mods, 1.16~1.19.2+redstone+display+2.5.zip, [1.18.1]MASA全家桶汉化包.zip, minecraft/physicsmod
-- System Details --
Details:
Minecraft Version: 1.19.2
Minecraft Version ID: 1.19.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 17.0.6, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 2797476912 bytes (2667 MiB) / 5733613568 bytes (5468 MiB) up to 6874464256 bytes (6556 MiB)
CPUs: 12
Processor Vendor: AuthenticAMD
Processor Name: AMD Ryzen 5 5600H with Radeon Graphics
Identifier: AuthenticAMD Family 25 Model 80 Stepping 0
Microarchitecture: Zen 3
Frequency (GHz): 3.29
Number of physical packages: 1
Number of physical CPUs: 6
Number of logical CPUs: 12
Graphics card #0 name: OrayIddDriver Device
Graphics card #0 vendor: Shanghai Best Oray Information Technology Co., Ltd.
Graphics card #0 VRAM (MB): 0.00
Graphics card #0 deviceId: unknown
Graphics card #0 versionInfo: DriverVersion=17.1.58.818
Graphics card #1 name: AMD Radeon(TM) Graphics
Graphics card #1 vendor: Advanced Micro Devices, Inc. (0x1002)
Graphics card #1 VRAM (MB): 512.00
Graphics card #1 deviceId: 0x1638
Graphics card #1 versionInfo: DriverVersion=31.0.14057.5006
Graphics card #2 name: NVIDIA GeForce RTX 3050 Laptop GPU
Graphics card #2 vendor: NVIDIA (0x10de)
Graphics card #2 VRAM (MB): 4095.00
Graphics card #2 deviceId: 0x25e2
Graphics card #2 versionInfo: DriverVersion=31.0.15.5161
Memory slot #0 capacity (MB): 8192.00
Memory slot #0 clockSpeed (GHz): 3.20
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 8192.00
Memory slot #1 clockSpeed (GHz): 3.20
Memory slot #1 type: DDR4
Virtual memory max (MB): 37100.06
Virtual memory used (MB): 31528.41
Swap memory total (MB): 21376.00
Swap memory used (MB): 7757.00
JVM Flags: 6 total; -XX:+UseG1GC -XX:-UseAdaptiveSizePolicy -XX:-OmitStackTraceInFastThrow -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmn256m -Xmx6553m
Fabric Mods:
ae2: Applied Energistics 2 12.9.9
noindium: No Indium? 1.1.0+1.19
ae2wtlib: AE2WTLib 12.9.8
appbot: Applied Botanics 1.4.6
architectury: Architectury 6.5.90
balm-fabric: Balm 4.6.0
botania: Botania 1.19.2-440-FABRIC
step-height-entity-attribute: Step Height Entity Attribute 1.0.0
carpet: Carpet Mod 1.4.84
cloth-config: Cloth Config v8 8.3.115
cloth-basic-math: cloth-basic-math 0.6.1
cookingforblockheads: Cooking for Blockheads 13.3.4
create: Create 0.5.1-f-build.1334+mc1.19.2
com_google_code_findbugs_jsr305: jsr305 3.0.2
flywheel: Flywheel 0.6.10-8
forge_tags: Porting Lib Tags 3.0
forgeconfigapiport: Forge Config API Port 4.2.9
milk: Milk Lib 1.0.51
dripstone_fluid_lib: Dripstone Fluid Lib 2.0.1
porting_lib_accessors: Porting Lib Accessors 2.1.1282+1.19.2
porting_lib_base: Porting Lib Base 2.1.1282+1.19.2
porting_lib_lazy_registration: Porting Lib Lazy Register 2.1.1282+1.19.2
porting_lib_loot: Porting Lib Loot 2.1.1282+1.19.2
porting_lib_model_generators: Porting Lib Model Generators 2.1.1282+1.19.2
porting_lib_models: Porting Lib Models 2.1.1282+1.19.2
serialization_hooks: Serialization Hooks 0.3.26
porting_lib_entity: Porting Lib Entity 2.1.1282+1.19.2
porting_lib_extensions: Porting Lib Extensions 2.1.1282+1.19.2
porting_lib_attributes: Porting Lib Attributes 2.1.1282+1.19.2
porting_lib_common: Porting Lib Common 2.1.1282+1.19.2
porting_lib_constants: Porting Lib Constants 2.1.1282+1.19.2
porting_lib_fake_players: Porting Lib Fake Players 2.1.1282+1.19.2
porting_lib_networking: Porting Lib Networking 2.1.1282+1.19.2
porting_lib_obj_loader: Porting Lib Obj Loader 2.1.1282+1.19.2
porting_lib_model_loader: Porting Lib Model Loader 2.1.1282+1.19.2
porting_lib_transfer: Porting Lib Transfer 2.1.1282+1.19.2
registrate-fabric: Registrate for Fabric 1.1.58-MC1.19.2
createaddition: Create Crafts & Additions 1.2.3
team_reborn_energy: Energy 2.3.0
fabric-api: Fabric API 0.77.0+1.19.2
fabric-api-base: Fabric API Base 0.4.15+8f4e8eb390
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.14+93d8cb8290
fabric-biome-api-v1: Fabric Biome API (v1) 9.1.1+16f1e31390
fabric-block-api-v1: Fabric Block API (v1) 1.0.2+e415d50e90
fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.25+cafc6e8e90
fabric-client-tags-api-v1: Fabric Client Tags 1.0.5+b35fea8390
fabric-command-api-v1: Fabric Command API (v1) 1.2.16+f71b366f90
fabric-command-api-v2: Fabric Command API (v2) 2.2.1+413cbbc790
fabric-commands-v0: Fabric Commands (v0) 0.2.33+df3654b390
fabric-containers-v0: Fabric Containers (v0) 0.1.42+df3654b390
fabric-content-registries-v0: Fabric Content Registries (v0) 3.5.2+7c6cd14d90
fabric-convention-tags-v1: Fabric Convention Tags 1.3.0+4bc6e26290
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.8+aeb40ebe90
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 5.3.9+413cbbc790
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.35+0d0f210290
fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.4+9244241690
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.34+562bff6e90
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.36+df3654b390
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.24+b6b6abb490
fabric-item-api-v1: Fabric Item API (v1) 1.6.6+b7d1888890
fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.39+9244241690
fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.25+5c4fce2890
fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.23+df3654b390
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.4+1b46dc7890
fabric-loot-api-v2: Fabric Loot API (v2) 1.1.13+83a8659290
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.16+9e7660c690
fabric-message-api-v1: Fabric Message API (v1) 5.0.7+93d8cb8290
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.24+33fbc73890
fabric-models-v0: Fabric Models (v0) 0.3.21+c6af733c90
fabric-networking-api-v1: Fabric Networking API (v1) 1.2.12+def3f86d90
fabric-networking-v0: Fabric Networking (v0) 0.3.29+df3654b390
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 4.2.2+d8ef690890
fabric-particles-v1: Fabric Particles (v1) 1.1.0+ee641e7390
fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.2+413cbbc790
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.33+9244241690
fabric-renderer-api-v1: Fabric Renderer API (v1) 1.2.1+1adbf27790
fabric-renderer-indigo: Fabric Renderer - Indigo 0.8.0+1adbf27790
fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.25+df3654b390
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.19+6e0787e690
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.11+4d0d570390
fabric-rendering-v0: Fabric Rendering (v0) 1.1.28+df3654b390
fabric-rendering-v1: Fabric Rendering (v1) 1.13.0+526f2c6790
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.1.2+aae9039d90
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.8.4+edbdcddb90
fabric-screen-api-v1: Fabric Screen API (v1) 1.0.32+4d0d570390
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.8+1cc24b1b90
fabric-sound-api-v1: Fabric Sound API (v1) 1.0.2+c4f28df590
fabric-textures-v0: Fabric Textures (v0) 1.0.24+aeb40ebe90
fabric-transfer-api-v1: Fabric Transfer API (v1) 2.1.6+413cbbc790
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 1.3.3+08b73de490
fabricloader: Fabric Loader 0.15.6
mixinextras: MixinExtras 0.3.2
fluxnetworks: Flux Networks 1.19.2-7.2.1.15
porting_lib_config: Porting Lib Config 2.1.995
com_electronwill_night-config_core: core 3.6.6
com_electronwill_night-config_toml: toml 3.6.6
simple-chunk-manager: SimpleChunkManager 0.2.7
ftblibrary: FTB Library 1902.4.1-build.236
ftbultimine: FTB Ultimine 1902.4.1-build.90
i18nupdatemod: I18nUpdateMod 3.5.3
ic2: Industrial Craft 2 unspecified+c8fd845
icrecipefix: ICRecipeFix 1.0-SNAPSHOT
indium: Indium 1.0.9+mc1.19.2
iris: Iris 1.6.11
io_github_douira_glsl-transformer: glsl-transformer 2.0.0-pre13
org_anarres_jcpp: jcpp 1.4.14
org_antlr_antlr4-runtime: antlr4-runtime 4.11.1
jade: Jade 8.7.3
java: Java HotSpot(TM) 64-Bit Server VM 17
litematica: Litematica 0.12.7
luckyblocks: Lucky Blocks 1.2
malilib: MaLiLib 0.13.0
mcwfurnitures: Macaw's Furniture 3.2.2
minecraft: Minecraft 1.19.2
minihud: MiniHUD 0.23.3
patchouli: Patchouli 1.19.2-77-FABRIC
fiber: fiber 0.23.0-2
physicsmod: Physics Mod 2.12.5
porting_lib: Porting Lib 2.0.591+1.19.2
presencefootsteps: Presence Footsteps 1.6.4
kirin: Kirin UI 1.11.1
roughlyenoughitems: Roughly Enough Items 9.1.682
error_notifier: Error Notifier 1.0.9
sodium: Sodium 0.4.4+build.18
org_joml_joml: joml 1.10.4
syncmatica: Syncmatica 1.18.2-0.3.10
trinkets: Trinkets 3.4.2
tweakeroo: Tweakeroo 0.14.3
twilightforest: The Twilight Forest 4.2.357
cardinal-components-base: Cardinal Components API (base) 5.0.1
cardinal-components-entity: Cardinal Components API (entities) 5.0.1
here-be-no-dragons: Here be no Dragons! 1.0.0
javax_annotation_javax_annotation-api: javax.annotation-api 1.3.2
mm: Manningham Mills 2.3
reach-entity-attributes: Reach Entity Attributes 2.3.0
worldedit: WorldEdit 7.2.12+6240-87f4ae1
worldeditcui: WorldEditCUI 1.19.2+01
xaerominimap: Xaero's Minimap 23.9.7
xaeroworldmap: Xaero's World Map 1.37.8
Loaded Shaderpack: (off)
Flywheel Backend: GL33 Instanced Arrays
Launched Version: 1.19.2-Fabric 0.15.6
Backend library: LWJGL version 3.3.1 SNAPSHOT
Backend API: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 GL version 3.2.0 NVIDIA 551.61, NVIDIA Corporation
Window size: 1920x1017
GL Caps: Using framebuffer using OpenGL 3.2
GL debug messages:
Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fabric'
Type: Client (map_client.txt)
Graphics mode: fast
Resource Packs: vanilla, file/Minecraft-Mod-Language-Modpack-Converted-1.19.2.zip, Fabric Mods, file/1.16~1.19.2+redstone+display+2.5.zip, file/[1.18.1]MASA全家桶汉化包.zip (incompatible), minecraft/physicsmod
Current Language: 简体中文 (中国大陆)
CPU: 12x AMD Ryzen 5 5600H with Radeon Graphics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment