Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CME in Age 4 or 5 #4841

Open
sam-kirby opened this issue Dec 16, 2023 · 2 comments
Open

CME in Age 4 or 5 #4841

sam-kirby opened this issue Dec 16, 2023 · 2 comments

Comments

@sam-kirby
Copy link
Contributor

sam-kirby commented Dec 16, 2023

CME during world loading -> adding TEs to world:

java.util.ConcurrentModificationException
    at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429)
    at java.util.HashMap$ValueIterator.next(HashMap.java:1458)
    at net.minecraft.world.World.addTileEntities(World.java:1949)
    at net.minecraft.world.chunk.Chunk.onLoad(Chunk.java:856)
    at net.minecraftforge.common.chunkio.ChunkIOProvider.syncCallback(ChunkIOProvider.java:109)
    at net.minecraftforge.common.chunkio.ChunkIOExecutor.tick(ChunkIOExecutor.java:150)
    at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:728)
    at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668)
    at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:185)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
    at java.lang.Thread.run(Thread.java:745)
[09:35:23] [Server thread/INFO] [TES]: ##############################
[09:35:23] [Server thread/INFO] [TES]: Adding tile to world: immersivepetroleum:distillationtower
[09:35:23] [Server thread/INFO] [TES]: Position: BlockPos{x=-433, y=74, z=1741}, Dimension: 0
[09:35:23] [Server thread/INFO] [TES]: #############DONE#############
[09:35:23] [Server thread/INFO] [TES]: ##############################
[09:35:23] [Server thread/INFO] [TES]: Adding tile to world: mekanism:mechanical_pipe
[09:35:23] [Server thread/INFO] [TES]: Position: BlockPos{x=-435, y=70, z=1739}, Dimension: 0
[09:35:23] [Server thread/INFO] [TES]: #############DONE#############
[09:35:23] [Server thread/INFO] [TES]: ##############################
[09:35:23] [Server thread/INFO] [TES]: Adding tile to world: mekanism:mechanical_pipe
[09:35:23] [Server thread/INFO] [TES]: Position: BlockPos{x=-433, y=70, z=1739}, Dimension: 0
[09:35:23] [Server thread/INFO] [TES]: #############DONE#############
[09:35:23] [Server thread/ERROR] [minecraft/MinecraftServer]: Encountered an unexpected exception
java.util.ConcurrentModificationException: null

The last TE to be successfully loaded is a mechanical pipe from Mekanism. This is (x: -432 -> -433) on a chunk boundary - important?

Iterator invalidation during adding TE?
Looking for anything that touches Chunk.tileEntities during loading.

@sam-kirby sam-kirby self-assigned this Dec 16, 2023
@github-actions github-actions bot added the Status: Blocked For issues ignoring template that completely lack information or other misc reasons label Dec 16, 2023
@DarkPacks DarkPacks deleted a comment from github-actions bot Dec 16, 2023
@sam-kirby sam-kirby removed the Status: Blocked For issues ignoring template that completely lack information or other misc reasons label Dec 16, 2023
@sam-kirby sam-kirby reopened this Dec 16, 2023
@sam-kirby
Copy link
Contributor Author

sam-kirby commented Dec 19, 2023

More diagnostics

[10:51:36] [Server thread/INFO] [TES]: ##############################
[10:51:36] [Server thread/INFO] [TES]: Adding tile to world: mekanism:mechanical_pipe
[10:51:36] [Server thread/INFO] [TES]: Position: BlockPos{x=-433, y=70, z=1739}, Dimension: 0
[10:51:36] [Server thread/INFO] [sevpatches]: Entry added
tv.darkosto.sevpatches.ShoutyHashmap.put(ShoutyHashmap.java:10)
  at net.minecraft.world.chunk.Chunk.addTileEntity(Chunk.java:836)
  at net.minecraft.world.World.setTileEntity(World.java:2462)
  at net.minecraft.world.chunk.Chunk.getTileEntity(Chunk.java:801)
  at net.minecraft.world.World.getTileEntity(World.java:2402)
  at mekanism.common.util.MekanismUtils.getTileEntity(MekanismUtils.java:1085)
  at mekanism.common.tile.transmitter.TileEntitySidedPipe.canConnectMutual(TileEntitySidedPipe.java:261)
  at mekanism.common.tile.transmitter.TileEntitySidedPipe.getPossibleTransmitterConnections(TileEntitySidedPipe.java:132)
  at mekanism.common.tile.transmitter.TileEntitySidedPipe.refreshConnections(TileEntitySidedPipe.java:368)
  at mekanism.common.tile.transmitter.TileEntitySidedPipe.recheckConnections(TileEntitySidedPipe.java:428)
  at mekanism.common.tile.transmitter.TileEntityTransmitter.recheckConnections(TileEntityTransmitter.java:133)
  at mekanism.common.tile.transmitter.TileEntitySidedPipe.refreshConnections(TileEntitySidedPipe.java:388)
  at mekanism.common.tile.transmitter.TileEntitySidedPipe.onLoad(TileEntitySidedPipe.java:489)
  at net.minecraft.world.World.addTileEntity(World.java:1924)
  at net.minecraft.world.World.addTileEntities(World.java:1951)
  at net.minecraft.world.chunk.Chunk.onLoad(Chunk.java:856)
  at net.minecraftforge.common.chunkio.ChunkIOProvider.syncCallback(ChunkIOProvider.java:109)
  at net.minecraftforge.common.chunkio.ChunkIOExecutor.tick(ChunkIOExecutor.java:150)
  at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:728)
  at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668)
  at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:185)
  at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526), java.lang.Thread.run(Thread.java:750)
[10:51:36] [Server thread/INFO] [sevpatches]: Attempting to add tile entity at: BlockPos{x=-433, y=70, z=1737}
[10:51:36] [Server thread/INFO] [sevpatches]: TE: QuantumStorage.tiles.trashcans.TileTrashcanFluid
[10:51:36] [Server thread/INFO] [TES]: #############DONE#############

@sam-kirby
Copy link
Contributor Author

2023-12-19_23 57 02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant