Flywheel (Legacy)

Flywheel (Legacy)

43M Downloads

[1.21.1] Strange flywheel task log spam "Error running task java.lang.ArrayIndexOutOfBoundsException: null"

Vectrobe opened this issue · 9 comments

commented

Describe the Bug

It seems over the past few days or so that I have been getting extreme amounts of log spam from the flywheel task executor, but it doesnt point to anything and I cant find what even triggers it, it just seems to sometimes happen a lot and then stop suddenly, about the only thing I can think about that makes sense is maybe trains going in and out of render distance?

Log spam occurs regardless of the render config, fast, fancy, fabulous, 4 chunks, 16 chunks, 32 chunks, etc, doesnt seem to be manually triggerable

a snippet of it is as so;

[24Apr2025 21:36:18.779] [Flywheel Task Executor #0/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.783] [Flywheel Task Executor #2/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.783] [Flywheel Task Executor #1/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.783] [Flywheel Task Executor #0/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.791] [Flywheel Task Executor #9/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.791] [Flywheel Task Executor #7/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.791] [Flywheel Task Executor #1/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.800] [Flywheel Task Executor #0/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.800] [Flywheel Task Executor #1/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.800] [Flywheel Task Executor #9/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.813] [Flywheel Task Executor #7/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.813] [Flywheel Task Executor #0/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.813] [Flywheel Task Executor #1/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.818] [Flywheel Task Executor #5/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.818] [Flywheel Task Executor #2/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.818] [Flywheel Task Executor #6/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[24Apr2025 21:36:18.827] [Flywheel Task Executor #4/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null

debug.log

Client Info
Create:
	Mod Version: 6.0.4
	Mod Git Commit: 8d3eda53e4de913a966c9daf050e3fb893b5d638
	Ponder Version: 1.0.46
	NeoForge Version: 21.1.141
	Minecraft Version: 1.21.1

Graphics:
	Flywheel Version: 1.0.2
	Flywheel Backend: flywheel:indirect
	OpenGL Renderer: AMD Radeon RX 6900 XT
	OpenGL Version: 4.6.0 Core Profile Context 25.3.1.250220
	Graphics Mode: Fancy

System Information:
	Operating System: Windows 11 (amd64) version 10.0
	Java Version: 21.0.3, Microsoft
	JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms8192m -Xmx32768m
	Memory: 4723919104 bytes (4505 MiB) / 8589934592 bytes (8192 MiB) up to 34359738368 bytes (32768 MiB)
	Total Memory: 3891063280 bytes (3710 MiB) / 8589934592 bytes (8192 MiB)
	CPU: AMD Ryzen 9 9950X 16-Core Processor @ 4.30 GHz; 16 cores / 32 threads on 1 socket(s)
	Graphics cards: none

Other Mods:
	Cyclops Core: 1.25.9
	YUNG's Better Dungeons: 1.21.1-NeoForge-5.1.4
	KumaAPI: 21.0.5
	create: things and misc: 1.0.0
	SuperMartijn642's Config Library: 1.1.8
	YUNG's Better Witch Huts: 1.21.1-NeoForge-4.1.1
	GeckoLib 4: 4.7.5.1
	Nie's British Weather: 1.3
	IntegratedTerminals: 1.6.10
	InControl: 1.21-10.0.5
	YUNG's Better Ocean Monuments: 1.21.1-NeoForge-4.1.2
	Ender IO Base: 7.1.8-alpha
	Sophisticated Core: 1.3.32
	Sound Physics Remastered: 1.21.1-1.4.12
	Ender Core: 7.1.8-alpha
	ConnectedTexturesMod: 1.21-1.2.1+3
	Controlling: 19.0.5
	Applied Experienced: 1.1.1
	YUNG's API: 1.21.1-NeoForge-5.1.4
	Create Encased: 1.7.1-fix2
	Create: Stones: 2.0.0
	Sophisticated Backpacks: 3.24.9
	Just Enough Effects Descriptions: 1.21-2.2.18
	Clean Tooltips: 1.1
	Balm: 21.0.41
	Mekanism: Generators: 10.7.13
	YUNG's Better Nether Fortresses: 1.21.1-NeoForge-3.1.4
	FTB Teams: 2101.1.2
	Mystical Agradditions: 8.0.5
	Leaves Be Gone: 21.1.0
	MmmMmmMmmMmm: 1.21-2.0.7
	Mob Grinding Utils: 1.1.7+mc1.21.1
	Embeddium: 1.0.15+mc1.21.1
	Durability Tooltip: 1.1.5
	Industrial Foregoing: 1.21-3.6.25
	Farmer's Delight: 1.2.7
	FTB XMod Compat: 21.1.3
	CommonCapabilities: 2.9.8
	Just Enough Archaeology: 1.21.0-1.1.5
	Create: Ultimate Factory: 1.9.0
	Create: Deep Dark: 1.9.0
	Biomes O' Plenty: 21.1.0.7
	SuperMartijn642's Core Lib: 1.1.18+a
	YUNG's Bridges: 1.21.1-NeoForge-5.1.1
	IntegratedScripting: 1.0.17
	Curios API: 9.4.2+1.21.1
	Patchouli: 1.21-87-NEOFORGE
	Deer Mod: 0.2.7+1.21.1
	Right Click Harvest: 4.5.3+1.21.1
	Cerbons API: 1.2.0
	Searchables: 1.0.2
	YUNG's Extras: 1.21.1-NeoForge-5.1.1
	Mystical Agriculture Delight: 1.0.4.1-1.21.x
	FramedBlocks: 10.3.1
	SmithingTemplateViewer: 1.0.0
	IntegratedTunnels: 1.8.37
	YUNG's Better Strongholds: 1.21.1-NeoForge-5.1.3
	YUNG's Menu Tweaks: 1.21.1-NeoForge-2.1.2
	Resourceful Lib: 3.0.12
	Create Simple Generator: 1.0.6
	Mekanism: Tools: 10.7.13
	Architectury: 13.0.8
	CC: Tweaked: 1.115.1
	More Overlays Updated: 1.23.2-neoforge
	Engineers Delight: 1.5.0
	YUNG's Better End Island: 1.21.1-NeoForge-3.1.2
	Trash Cans: 1.0.18+c
	Jade Addons: 6.1.0+neoforge
	Inventory Essentials: 21.1.2
	PolyLib: 2100.0.3-build.159
	Ender IO Machines: 7.1.8-alpha
	YUNG's Better Mineshafts: 1.21.1-NeoForge-5.1.1
	JourneyMap API: 2.0.0
	Petrolpark's Library: 1.4.9
	YUNG's Better Jungle Temples: 1.21.1-NeoForge-3.1.2
	Better Advancements: 0.4.3.21
	More Mekanism Processing: 6.4
	Elytra Slot: 9.0.2+1.21.1
	Simple Inventory Sorter: 24.0.20
	Create: Bells & Whistles: 0.4.7-1.21.1
	Cucumber Library: 8.0.11
	JourneyMap Integration: 1.21.1-1.8.3
	FTB Library: 2101.1.12
	Traveler's Compass: 3.1.0
	Sophisticated Storage: 1.4.25
	Just Enough Items: 19.21.0.247
	Applied Energistics 2: 19.2.9
	Pretty Rain: 1.1.4
	Common Networking: 1.0.18-1.21.1
	Petrol's Parts: 1.2.5
	Mekanism: 10.7.13
	Caelus API: 7.0.1+1.21.1
	Create: Dragons Plus: 1.3.5
	Waystones: 21.1.17
	Journeymap: 1.21.1-6.0.0-beta.44
	Nature's Compass: 1.21.1-3.0.2-neoforge
	Alternate Current: 1.9.0
	Charging Gadgets: 1.14.1
	GlitchCore: 2.1.0.0
	PneumaticCraft: Repressurized: 8.2.12
	FTB Backups 2: 1.0.28
	YUNG's Better Desert Temples: 1.21.1-NeoForge-4.1.5
	GuideME: 21.1.8
	Explorer's Compass: 1.21.1-3.0.3-neoforge
	IntegratedDynamics-Compat: 1.0.0
	Fusion: 1.2.7+b
	Mining Gadgets: 1.18.6
	More Immersive Wires: 1.1.7
	FTB Chunks: 2101.1.8
	Cut Through: 21.1.0
	Chalk: 1.6.9
	Mystical Agriculture: 8.0.14
	IntegratedCrafting: 1.1.16
	EMI: 1.1.22+1.21.1+neoforge
	TerraBlender: 4.1.0.8
	Moonlight Lib: 1.21-2.18.12
	JamLib: 1.3.5+1.21.1
	Ender IO Conduits: 7.1.8-alpha
	Titanium: 4.0.37
	Magnum Torch: 21.1.0
	Immersive Engineering: 12.1.1-186
	Create Ore Excavation: 0.0NONE
	Jade: 15.10.0+neoforge
	Just Enough Breeding: 1.5.0
	AE2 Delight: 1.0.2.6-1.21.x
	Ender IO Armory: 7.1.8-alpha
	Ender IO: 7.1.8-alpha
	IntegratedDynamics: 1.25.12
	ExperienceLib: 1.0.3
	Create: Sound of Steam: 0.6.2+1.21.1
	Polymorph: 1.0.10+1.21.1
	IntegratedTerminals-Compat: 1.0.0
	Just Enough Mekanism Multiblocks: 7.6
	EntityCulling: 1.7.4
	Building Gadgets 2: 1.3.8
	Ender IO Modded Conduits: 7.1.8-alpha
	IntegratedTunnels-Compat: 1.8.37
	AppleSkin: 3.0.5+mc1.21
	Create: Generators: 1.0.5
	Puzzles Lib: 21.1.33
	Ears: 1.4.7
	Applied Mekanistics: 1.6.2
	Extreme Sound Muffler: 3.49
	CosmeticArmorReworked: 1.21.1-v1-neoforge
	Create: Enchantment Industry: 2.0.12
	Create Crafts & Additions: 0.0NONE
Server Info
Create:
	Mod Version: 6.0.4
	Mod Git Commit: 8d3eda53e4de913a966c9daf050e3fb893b5d638
	Ponder Version: 1.0.46
	NeoForge Version: 21.1.141
	Minecraft Version: 1.21.1

System Information:
	Operating System: Windows 11 (amd64) version 10.0
	Java Version: 21.0.3, Microsoft
	JVM Flags: 3 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms8192m -Xmx32768m
	Memory: 4723919104 bytes (4505 MiB) / 8589934592 bytes (8192 MiB) up to 34359738368 bytes (32768 MiB)
	Total Memory: 3891063280 bytes (3710 MiB) / 8589934592 bytes (8192 MiB)
	CPU: AMD Ryzen 9 9950X 16-Core Processor @ 4.30 GHz; 16 cores / 32 threads on 1 socket(s)
	Graphics cards: none

Other Mods:
	Cyclops Core: 1.25.9
	YUNG's Better Dungeons: 1.21.1-NeoForge-5.1.4
	KumaAPI: 21.0.5
	create: things and misc: 1.0.0
	SuperMartijn642's Config Library: 1.1.8
	YUNG's Better Witch Huts: 1.21.1-NeoForge-4.1.1
	GeckoLib 4: 4.7.5.1
	Nie's British Weather: 1.3
	IntegratedTerminals: 1.6.10
	InControl: 1.21-10.0.5
	YUNG's Better Ocean Monuments: 1.21.1-NeoForge-4.1.2
	Ender IO Base: 7.1.8-alpha
	Sophisticated Core: 1.3.32
	Sound Physics Remastered: 1.21.1-1.4.12
	Ender Core: 7.1.8-alpha
	ConnectedTexturesMod: 1.21-1.2.1+3
	Controlling: 19.0.5
	Applied Experienced: 1.1.1
	YUNG's API: 1.21.1-NeoForge-5.1.4
	Create Encased: 1.7.1-fix2
	Create: Stones: 2.0.0
	Sophisticated Backpacks: 3.24.9
	Just Enough Effects Descriptions: 1.21-2.2.18
	Clean Tooltips: 1.1
	Balm: 21.0.41
	Mekanism: Generators: 10.7.13
	YUNG's Better Nether Fortresses: 1.21.1-NeoForge-3.1.4
	FTB Teams: 2101.1.2
	Mystical Agradditions: 8.0.5
	Leaves Be Gone: 21.1.0
	MmmMmmMmmMmm: 1.21-2.0.7
	Mob Grinding Utils: 1.1.7+mc1.21.1
	Embeddium: 1.0.15+mc1.21.1
	Durability Tooltip: 1.1.5
	Industrial Foregoing: 1.21-3.6.25
	Farmer's Delight: 1.2.7
	FTB XMod Compat: 21.1.3
	CommonCapabilities: 2.9.8
	Just Enough Archaeology: 1.21.0-1.1.5
	Create: Ultimate Factory: 1.9.0
	Create: Deep Dark: 1.9.0
	Biomes O' Plenty: 21.1.0.7
	SuperMartijn642's Core Lib: 1.1.18+a
	YUNG's Bridges: 1.21.1-NeoForge-5.1.1
	IntegratedScripting: 1.0.17
	Curios API: 9.4.2+1.21.1
	Patchouli: 1.21-87-NEOFORGE
	Deer Mod: 0.2.7+1.21.1
	Right Click Harvest: 4.5.3+1.21.1
	Cerbons API: 1.2.0
	Searchables: 1.0.2
	YUNG's Extras: 1.21.1-NeoForge-5.1.1
	Mystical Agriculture Delight: 1.0.4.1-1.21.x
	FramedBlocks: 10.3.1
	SmithingTemplateViewer: 1.0.0
	IntegratedTunnels: 1.8.37
	YUNG's Better Strongholds: 1.21.1-NeoForge-5.1.3
	YUNG's Menu Tweaks: 1.21.1-NeoForge-2.1.2
	Resourceful Lib: 3.0.12
	Create Simple Generator: 1.0.6
	Mekanism: Tools: 10.7.13
	Architectury: 13.0.8
	CC: Tweaked: 1.115.1
	More Overlays Updated: 1.23.2-neoforge
	Engineers Delight: 1.5.0
	YUNG's Better End Island: 1.21.1-NeoForge-3.1.2
	Trash Cans: 1.0.18+c
	Jade Addons: 6.1.0+neoforge
	Inventory Essentials: 21.1.2
	PolyLib: 2100.0.3-build.159
	Ender IO Machines: 7.1.8-alpha
	YUNG's Better Mineshafts: 1.21.1-NeoForge-5.1.1
	JourneyMap API: 2.0.0
	Petrolpark's Library: 1.4.9
	YUNG's Better Jungle Temples: 1.21.1-NeoForge-3.1.2
	Better Advancements: 0.4.3.21
	More Mekanism Processing: 6.4
	Elytra Slot: 9.0.2+1.21.1
	Simple Inventory Sorter: 24.0.20
	Create: Bells & Whistles: 0.4.7-1.21.1
	Cucumber Library: 8.0.11
	JourneyMap Integration: 1.21.1-1.8.3
	FTB Library: 2101.1.12
	Traveler's Compass: 3.1.0
	Sophisticated Storage: 1.4.25
	Just Enough Items: 19.21.0.247
	Applied Energistics 2: 19.2.9
	Pretty Rain: 1.1.4
	Common Networking: 1.0.18-1.21.1
	Petrol's Parts: 1.2.5
	Mekanism: 10.7.13
	Caelus API: 7.0.1+1.21.1
	Create: Dragons Plus: 1.3.5
	Waystones: 21.1.17
	Journeymap: 1.21.1-6.0.0-beta.44
	Nature's Compass: 1.21.1-3.0.2-neoforge
	Alternate Current: 1.9.0
	Charging Gadgets: 1.14.1
	GlitchCore: 2.1.0.0
	PneumaticCraft: Repressurized: 8.2.12
	FTB Backups 2: 1.0.28
	YUNG's Better Desert Temples: 1.21.1-NeoForge-4.1.5
	GuideME: 21.1.8
	Explorer's Compass: 1.21.1-3.0.3-neoforge
	IntegratedDynamics-Compat: 1.0.0
	Fusion: 1.2.7+b
	Mining Gadgets: 1.18.6
	More Immersive Wires: 1.1.7
	FTB Chunks: 2101.1.8
	Cut Through: 21.1.0
	Chalk: 1.6.9
	Mystical Agriculture: 8.0.14
	IntegratedCrafting: 1.1.16
	EMI: 1.1.22+1.21.1+neoforge
	TerraBlender: 4.1.0.8
	Moonlight Lib: 1.21-2.18.12
	JamLib: 1.3.5+1.21.1
	Ender IO Conduits: 7.1.8-alpha
	Titanium: 4.0.37
	Magnum Torch: 21.1.0
	Immersive Engineering: 12.1.1-186
	Create Ore Excavation: 0.0NONE
	Jade: 15.10.0+neoforge
	Just Enough Breeding: 1.5.0
	AE2 Delight: 1.0.2.6-1.21.x
	Ender IO Armory: 7.1.8-alpha
	Ender IO: 7.1.8-alpha
	IntegratedDynamics: 1.25.12
	ExperienceLib: 1.0.3
	Create: Sound of Steam: 0.6.2+1.21.1
	Polymorph: 1.0.10+1.21.1
	IntegratedTerminals-Compat: 1.0.0
	Just Enough Mekanism Multiblocks: 7.6
	EntityCulling: 1.7.4
	Building Gadgets 2: 1.3.8
	Ender IO Modded Conduits: 7.1.8-alpha
	IntegratedTunnels-Compat: 1.8.37
	AppleSkin: 3.0.5+mc1.21
	Create: Generators: 1.0.5
	Puzzles Lib: 21.1.33
	Ears: 1.4.7
	Applied Mekanistics: 1.6.2
	Extreme Sound Muffler: 3.49
	CosmeticArmorReworked: 1.21.1-v1-neoforge
	Create: Enchantment Industry: 2.0.12
	Create Crafts & Additions: 0.0NONE

Reproduction Steps

unknown, printed exception from flywheel isnt verbose enough

Expected Result

null

Screenshots and Videos

No response

Crash Report or Log

https://github.com/user-attachments/files/19890909/debug.log

commented

having this issue too, 1.20.1, create 6.0.6, forge

[15авг.2025 16:59:32.859] [Render thread/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3
	at dev.engine_room.flywheel.backend.engine.indirect.IndirectInstancer.parallelUpdate(IndirectInstancer.java:397) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.lib.task.functional.ConsumerWithContext$Ignored.accept(ConsumerWithContext.java:31) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.lib.task.Distribute.lambda$tasks$1(Distribute.java:64) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.task.ParallelTaskExecutor.processTask(ParallelTaskExecutor.java:175) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.task.ParallelTaskExecutor.syncOneTask(ParallelTaskExecutor.java:162) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.task.ParallelTaskExecutor.syncUntil(ParallelTaskExecutor.java:118) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.visualization.VisualizationManagerImpl.render(VisualizationManagerImpl.java:274) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.visualization.VisualizationManagerImpl$RenderDispatcherImpl.afterEntities(VisualizationManagerImpl.java:355) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at net.minecraft.client.renderer.LevelRenderer.handler$cpl000$flywheel$beforeBlockEntities(LevelRenderer.java:20147) ~[client-1.20.1-20230612.114412-srg.jar%23336!/:?]
	at net.minecraft.client.renderer.LevelRenderer.m_109599_(LevelRenderer.java:1235) ~[client-1.20.1-20230612.114412-srg.jar%23336!/:?]
	at net.minecraft.client.renderer.GameRenderer.m_109089_(GameRenderer.java:1126) ~[client-1.20.1-20230612.114412-srg.jar%23336!/:?]
	at net.minecraft.client.renderer.GameRenderer.m_109093_(GameRenderer.java:909) ~[client-1.20.1-20230612.114412-srg.jar%23336!/:?]
	at net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1146) ~[client-1.20.1-20230612.114412-srg.jar%23336!/:?]
	at net.minecraft.client.Minecraft.m_91374_(Minecraft.java:718) ~[client-1.20.1-20230612.114412-srg.jar%23336!/:?]
	at net.minecraft.client.main.Main.main(Main.java:218) ~[1.20.1.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
	at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:111) ~[fmlloader-1.20.1-47.4.4.jar:?]
	at net.minecraftforge.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:99) ~[fmlloader-1.20.1-47.4.4.jar:?]
	at net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$makeService$0(CommonClientLaunchHandler.java:25) ~[fmlloader-1.20.1-47.4.4.jar:?]
	at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.Launcher.run(Launcher.java:108) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.Launcher.main(Launcher.java:78) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) ~[modlauncher-10.0.9.jar:?]
	at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) ~[bootstraplauncher-1.1.2.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?]
	at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:69) ~[?:?]
[15авг.2025 16:59:32.846] [Flywheel Task Executor #0/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: Index 11 out of bounds for length 11
	at dev.engine_room.flywheel.backend.engine.indirect.IndirectInstancer.parallelUpdate(IndirectInstancer.java:397) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.lib.task.functional.ConsumerWithContext$Ignored.accept(ConsumerWithContext.java:31) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.lib.task.Distribute.lambda$tasks$1(Distribute.java:64) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.task.ParallelTaskExecutor$WorkerThread.processTask(ParallelTaskExecutor.java:215) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.task.ParallelTaskExecutor$WorkerThread.run(ParallelTaskExecutor.java:205) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
[15авг.2025 16:59:32.879] [Flywheel Task Executor #1/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3
	at dev.engine_room.flywheel.backend.engine.indirect.IndirectInstancer.parallelUpdate(IndirectInstancer.java:397) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.lib.task.functional.ConsumerWithContext$Ignored.accept(ConsumerWithContext.java:31) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.lib.task.Distribute.lambda$tasks$1(Distribute.java:64) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.task.ParallelTaskExecutor$WorkerThread.processTask(ParallelTaskExecutor.java:215) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.task.ParallelTaskExecutor$WorkerThread.run(ParallelTaskExecutor.java:205) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
[15авг.2025 16:59:32.998] [Render thread/ERROR] [flywheel/]: Too many errors emitted by main thread, silencing.
[15авг.2025 16:59:34.002] [Flywheel Task Executor #1/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: Index 9 out of bounds for length 9
	at dev.engine_room.flywheel.backend.engine.indirect.IndirectInstancer.parallelUpdate(IndirectInstancer.java:397) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.lib.task.functional.ConsumerWithContext$Ignored.accept(ConsumerWithContext.java:31) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.lib.task.Distribute.lambda$tasks$0(Distribute.java:48) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.task.ParallelTaskExecutor$WorkerThread.processTask(ParallelTaskExecutor.java:215) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.task.ParallelTaskExecutor$WorkerThread.run(ParallelTaskExecutor.java:205) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
[15авг.2025 16:59:34.002] [Flywheel Task Executor #0/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: Index 11 out of bounds for length 11
	at dev.engine_room.flywheel.backend.engine.indirect.IndirectInstancer.parallelUpdate(IndirectInstancer.java:397) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.lib.task.functional.ConsumerWithContext$Ignored.accept(ConsumerWithContext.java:31) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.lib.task.Distribute.lambda$tasks$0(Distribute.java:48) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.task.ParallelTaskExecutor$WorkerThread.processTask(ParallelTaskExecutor.java:215) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.task.ParallelTaskExecutor$WorkerThread.run(ParallelTaskExecutor.java:205) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
[15авг.2025 16:59:34.101] [Flywheel Task Executor #0/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: Index 9 out of bounds for length 9
	at dev.engine_room.flywheel.backend.engine.indirect.IndirectInstancer.parallelUpdate(IndirectInstancer.java:397) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.lib.task.functional.ConsumerWithContext$Ignored.accept(ConsumerWithContext.java:31) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.lib.task.Distribute.lambda$tasks$0(Distribute.java:48) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.task.ParallelTaskExecutor$WorkerThread.processTask(ParallelTaskExecutor.java:215) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.task.ParallelTaskExecutor$WorkerThread.run(ParallelTaskExecutor.java:205) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
[15авг.2025 16:59:34.102] [Flywheel Task Executor #1/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: Index 11 out of bounds for length 11
	at dev.engine_room.flywheel.backend.engine.indirect.IndirectInstancer.parallelUpdate(IndirectInstancer.java:397) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.lib.task.functional.ConsumerWithContext$Ignored.accept(ConsumerWithContext.java:31) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.lib.task.Distribute.lambda$tasks$0(Distribute.java:48) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.task.ParallelTaskExecutor$WorkerThread.processTask(ParallelTaskExecutor.java:215) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
	at dev.engine_room.flywheel.impl.task.ParallelTaskExecutor$WorkerThread.run(ParallelTaskExecutor.java:205) ~[flywheel-forge-1.20.1-1.0.4.jar%23429!/:?]
[15авг.2025 16:59:39.307] [Render thread/WARN] [net.minecraft.client.sounds.SoundEngine/SOUNDS]: Unable to play empty soundEvent: minecraft:entity.tropical_fish.ambient
[15авг.2025 17:00:03.875] [Render thread/WARN] [net.minecraft.client.multiplayer.ClientPacketListener/]: Received passengers for unknown entity
commented

I also have this issue with way less mods!

     Mod List:
		Name Version (Mod Id)

		Common Networking 1.0.18-1.21.1 (commonnetworking)
		Create 6.0.4 (create)
		Cubes Without Borders 3.0.0+mc1.21 (cubes_without_borders)
		Curios API 9.4.2+1.21.1 (curios)
		Dynamic FPS 3.9.3 (dynamic_fps)
		EMI 1.1.22+1.21.1+neoforge (emi)
		Farmer's Delight 1.2.7 (farmersdelight)
		Ferrite Core 7.0.2 (ferritecore)
		Flywheel 1.0.2 (flywheel)
		Forgified Fabric API Base 0.4.42+d1308ded19 (fabric_api_base)
		Forgified Fabric BlockView API (v2) 1.0.10+9afaaf8c19 (fabric_block_view_api_v2)
		Forgified Fabric Renderer API (v1) 3.4.0+acb05a3919 (fabric_renderer_api_v1)
		Forgified Fabric Rendering Data Attachment (v1) 0.3.48+73761d2e19 (fabric_rendering_data_attachment_v1)
		Iris 1.8.8+mc1.21.1 (iris)
		Jade 15.10.0+neoforge (jade)
		Jade Addons 6.1.0+neoforge (jadeaddons)
		Journeymap 1.21.1-6.0.0-beta.45 (journeymap)
		JourneyMap API 2.0.0 (journeymap_api)
		Just Enough Items 19.21.0.247 (jei)
		Minecraft 1.21.1 (minecraft)
		NeoForge 21.1.133 (neoforge)
		Ponder 1.0.46 (ponder)
		Reese's Sodium Options 1.8.3+mc1.21.4 (reeses_sodium_options)
		Sodium 0.6.13+mc1.21.1 (sodium)
		Sodium Extra 0.6.0+mc1.21.1 (sodium_extra) 

For me this log appears when Create trains are freaking out, sometimes they flash a lot and move very wildly between two spots, when this happens while I'm in a train, the screen also shakes a lot, it seems to be moving rapidly between the old spot it was when I was in the overworld, then travel to the nether, and then when I go back into the overworld.

commented

I am having this problem too, I suspect it's one of the mods but I can't figure it out because it's sort of random and I can't figure out how to reliably reproduce it. I would like flywheel to 1. if there are a lot of these error after each other merge them with periodic messages or smt. 2. add a stack trace (but don't spam it)

commented

I just got a crash on NeoForge 1.21.1 with the same error name while teleporting to a structure that contains Create blocks and back:

[Flywheel Task Executor #0/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for length 2
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.backend.engine.indirect.IndirectInstancer.parallelUpdate(IndirectInstancer.java:397) ~[flywheel-neoforge-1.21.1-1.0.4.jar%231338!/:?]
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.lib.task.functional.ConsumerWithContext$Ignored.accept(ConsumerWithContext.java:31) ~[flywheel-neoforge-1.21.1-1.0.4.jar%231338!/:?]
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.lib.task.Distribute.lambda$tasks$0(Distribute.java:48) ~[flywheel-neoforge-1.21.1-1.0.4.jar%231338!/:?]
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.impl.task.ParallelTaskExecutor$WorkerThread.processTask(ParallelTaskExecutor.java:215) [flywheel-neoforge-1.21.1-1.0.4.jar%231338!/:?]
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.impl.task.ParallelTaskExecutor$WorkerThread.run(ParallelTaskExecutor.java:205) [flywheel-neoforge-1.21.1-1.0.4.jar%231338!/:?]

There are 10 of them at once. Maybe C2ME is the cause.
Idk if it's compatible with Create, just added it and had no problems until now.

The key mods I have are Distant Horizons, Enhanced Block Entities & Vanillin and CreateBetterFps (the shaders weren't enabled).
Maybe there're some incompatibilities with Create/Flywheel.

Full logs: https://mclo.gs/SJIhtHC.

Also, there are a lot of GL errors spam, the cause of which I don't know:

########## GL ERROR ##########
@ Render
65539: Invalid key -1
commented

Also getting this issue seemingly at random with just a couple of repackagers, a tree farm, and a Supplementaries flax farm.

commented

This also happens for me seemingly at random when riding trains or trains are near. This also happens when using just the Create mod on 1.21.1 on the latest NeoForge version with no other mods. For me a thing that is common in the logs when the error happens is this warning:

[07May2025 12:46:36.378] [Render thread/WARN] [net.minecraft.client.multiplayer.ClientPacketListener/]: Received passengers for unknown entity

But this might just be a coincidence.

These errors also appear multiple times just before the error spam:

[07May2025 12:46:45.473] [Flywheel Task Executor #5/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: Index 31 out of bounds for length 31
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.backend.engine.indirect.IndirectInstancer.parallelUpdate(IndirectInstancer.java:397) ~[flywheel-neoforge-1.21.1-1.0.2.jar%23188!/:?]
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.lib.task.functional.ConsumerWithContext$Ignored.accept(ConsumerWithContext.java:31) ~[flywheel-neoforge-1.21.1-1.0.2.jar%23188!/:?]
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.lib.task.Distribute.lambda$tasks$0(Distribute.java:48) ~[flywheel-neoforge-1.21.1-1.0.2.jar%23188!/:?]
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.impl.task.ParallelTaskExecutor.processTask(ParallelTaskExecutor.java:171) [flywheel-neoforge-1.21.1-1.0.2.jar%23188!/:?]
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.impl.task.ParallelTaskExecutor$WorkerThread.run(ParallelTaskExecutor.java:191) [flywheel-neoforge-1.21.1-1.0.2.jar%23188!/:?]
[07May2025 12:46:45.475] [Render thread/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: Index 31 out of bounds for length 31
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.backend.engine.indirect.IndirectInstancer.parallelUpdate(IndirectInstancer.java:397) ~[flywheel-neoforge-1.21.1-1.0.2.jar%23188!/:?]
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.lib.task.functional.ConsumerWithContext$Ignored.accept(ConsumerWithContext.java:31) ~[flywheel-neoforge-1.21.1-1.0.2.jar%23188!/:?]
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.lib.task.Distribute.lambda$tasks$0(Distribute.java:48) ~[flywheel-neoforge-1.21.1-1.0.2.jar%23188!/:?]
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.impl.task.ParallelTaskExecutor.processTask(ParallelTaskExecutor.java:171) ~[flywheel-neoforge-1.21.1-1.0.2.jar%23188!/:?]
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.impl.task.ParallelTaskExecutor.syncOneTask(ParallelTaskExecutor.java:158) ~[flywheel-neoforge-1.21.1-1.0.2.jar%23188!/:?]
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.impl.task.ParallelTaskExecutor.syncUntil(ParallelTaskExecutor.java:114) ~[flywheel-neoforge-1.21.1-1.0.2.jar%23188!/:?]
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.impl.visualization.VisualizationManagerImpl.render(VisualizationManagerImpl.java:274) ~[flywheel-neoforge-1.21.1-1.0.2.jar%23188!/:?]
	at TRANSFORMER/[email protected]/dev.engine_room.flywheel.impl.visualization.VisualizationManagerImpl$RenderDispatcherImpl.afterEntities(VisualizationManagerImpl.java:355) ~[flywheel-neoforge-1.21.1-1.0.2.jar%23188!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.client.renderer.LevelRenderer.handler$zze000$flywheel$beforeBlockEntities(LevelRenderer.java:6262) ~[client-1.21.1-20240808.144430-srg.jar%23177!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.client.renderer.LevelRenderer.renderLevel(LevelRenderer.java:1046) ~[client-1.21.1-20240808.144430-srg.jar%23177!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.client.renderer.GameRenderer.renderLevel(GameRenderer.java:1271) ~[client-1.21.1-20240808.144430-srg.jar%23177!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.client.renderer.GameRenderer.render(GameRenderer.java:1024) ~[client-1.21.1-20240808.144430-srg.jar%23177!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.runTick(Minecraft.java:1195) ~[client-1.21.1-20240808.144430-srg.jar%23177!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.run(Minecraft.java:807) ~[client-1.21.1-20240808.144430-srg.jar%23177!/:?]
	at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:230) ~[client-1.21.1-20240808.144430-srg.jar%23177!/:?]
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
	at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
	at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:136) ~[loader-4.0.39.jar%23149!/:4.0]
	at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.clientService(CommonLaunchHandler.java:124) ~[loader-4.0.39.jar%23149!/:4.0]
	at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonClientLaunchHandler.runService(CommonClientLaunchHandler.java:32) ~[loader-4.0.39.jar%23149!/:4.0]
	at MC-BOOTSTRAP/[email protected]/net.neoforged.fml.loading.targets.CommonLaunchHandler.lambda$launchService$4(CommonLaunchHandler.java:118) ~[loader-4.0.39.jar%23149!/:4.0]
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-11.0.4.jar%23154!/:?]
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-11.0.4.jar%23154!/:?]
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-11.0.4.jar%23154!/:?]
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:103) [modlauncher-11.0.4.jar%23154!/:?]
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:74) [modlauncher-11.0.4.jar%23154!/:?]
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-11.0.4.jar%23154!/:?]
	at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-11.0.4.jar%23154!/:?]
	at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.run(BootstrapLauncher.java:210) [bootstraplauncher-2.0.2.jar:?]
	at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:69) [bootstraplauncher-2.0.2.jar:?]
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
	at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
	at io.github.zekerzhayard.forgewrapper.installer.Main.main(Main.java:67) [ForgeWrapper-prism-2024-02-29.jar:prism-2024-02-29]
	at org.prismlauncher.launcher.impl.StandardLauncher.launch(StandardLauncher.java:105) [NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.listen(EntryPoint.java:129) [NewLaunch.jar:?]
	at org.prismlauncher.EntryPoint.main(EntryPoint.java:70) [NewLaunch.jar:?]

And of course these one's for thousands of lines

[07May2025 12:46:45.548] [Flywheel Task Executor #8/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
[07May2025 12:46:45.557] [Render thread/ERROR] [flywheel/]: Error running task
java.lang.ArrayIndexOutOfBoundsException: null
commented

+1 on having this issue, though on 1.20.1

commented

This also happens for me seemingly at random when riding trains or trains are near. This also happens when using just the Create mod on 1.21.1 on the latest NeoForge version with no other mods. For me a thing that is common in the logs when the error happens is this warning:

[07May2025 12:46:36.378] [Render thread/WARN] [net.minecraft.client.multiplayer.ClientPacketListener/]: Received passengers for unknown entity

But this might just be a coincidence.

Received passengers for unknown entity has been a common error for Create for a long time before 6.0, and is typically a result of how trains are handled. In most cases, it can safely be ignored. Though, it does seem to point to the culprit being contraptions as a whole, but that's still inconclusive.

commented

I'm getting this issue too. FWIW, It's also when I am near trains.