Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

[Bug] Infinite loop with socapex cables #32

Open
Amber31415 opened this issue Jul 6, 2021 · 0 comments
Open

[Bug] Infinite loop with socapex cables #32

Amber31415 opened this issue Jul 6, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Amber31415
Copy link

source of the issue

Creating a loop of socapex cables, connected to a powered dimmerbay creates an infinite loop in the code.

Installed mods:

  • Lollipop-1.16.4-3.2.8
  • Powah-1.16.4-2.3.15
  • Theatrical-1.16.4-0.7.2

Forge version:

  • forge-1.16.4-35.1.4

Logs of the crash:

[13:53:37] [Server thread/ERROR]: Encountered an unexpected exception
net.minecraft.crash.ReportedException: Ticking block entity
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:854) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:786) ~[?:?]
	at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:78) ~[?:?]
	at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:641) [?:?]
	at net.minecraft.server.MinecraftServer.lambda$startServer$0(MinecraftServer.java:232) [?:?]
	at net.minecraft.server.MinecraftServer$$Lambda$5498/1621023573.run(Unknown Source) [?:?]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
Caused by: java.lang.StackOverflowError
	at java.util.HashMap.getNode(HashMap.java:578) ~[?:1.8.0_51]
	at java.util.HashMap.get(HashMap.java:556) ~[?:1.8.0_51]
	at net.minecraft.world.chunk.Chunk.func_177424_a(Chunk.java:373) ~[?:?]
	at net.minecraft.world.World.func_175625_s(World.java:598) ~[?:?]
	at dev.theatricalmod.theatrical.block.cables.BlockCable.canConnect(BlockCable.java:99) ~[?:0.7.2]
	at dev.theatricalmod.theatrical.api.capabilities.socapex.SocapexProvider.addToList(SocapexProvider.java:37) ~[?:0.7.2]
	at dev.theatricalmod.theatrical.api.capabilities.socapex.SocapexProvider.addToList(SocapexProvider.java:38) ~[?:0.7.2]
	at dev.theatricalmod.theatrical.api.capabilities.socapex.SocapexProvider.addToList(SocapexProvider.java:38) ~[?:0.7.2]

(repeating that last line over a thousand times before crashing the game)

@Rushmead Rushmead added the bug Something isn't working label Aug 6, 2022
@Rushmead Rushmead self-assigned this Aug 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants