Jump to content

Server crash ConcurrentModificationException


utoc

Recommended Posts

Greetings,

 

I'm running a 1.10.2 server with my own making of a modpack and am having trouble with a crash report that is so vague that I can't do anything with it. I humbly ask for any assistance in tracking down this issue as it has popped up twice today.

 

Unfortunately these are too large for Pastebin:

 

Crash 2: http://bbqsauce.terron.com/cme/crash-2.txt

Full log 2: http://bbqsauce.terron.com/cme/fml-server-2.log

 

Crash 3: http://bbqsauce.terron.com/cme/crash-3.txt

Full log 3: http://bbqsauce.terron.com/cme/fml-server-3.log

 

I can verify that this issue has persisted from Forge 2000+ish until the current but I doubt the issue is directly related for Forge itself.  It has also persisted across a map reset. Let me know if there is any other information that will help.

Link to comment
Share on other sites

java.util.ConcurrentModificationException

    at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429)

    at java.util.HashMap$KeyIterator.next(HashMap.java:1453)

    at net.minecraft.entity.EntityTracker.func_72788_a(EntityTracker.java:269)

    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:648)

    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)

    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)

    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)

    at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

One of your mods is adding entities to the world from the wrong thread. It is very hard to track down the mod that caused the error, so the best you can do is remove mods until the error stops.

 

 

 

[09:26:43] [Netty Server IO #13/ERROR] [FML/]: There was a critical exception handling a packet on channel tconstruct

java.lang.NullPointerException

...

at net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper.sendTo(SimpleNetworkWrapper.java:249) ~[simpleNetworkWrapper.class:?]

at slimeknights.tconstruct.common.TinkerNetwork.sendTo(TinkerNetwork.java:69) ~[TinkerNetwork.class:?]

at slimeknights.tconstruct.library.utils.ToolHelper.breakTool(ToolHelper.java:521) ~[ToolHelper.class:?]

at slimeknights.tconstruct.library.utils.ToolHelper.damageTool(ToolHelper.java:503) ~[ToolHelper.class:?]

at slimeknights.tconstruct.library.tools.ToolCore.afterBlockBreak(ToolCore.java:500) ~[ToolCore.class:?]

at slimeknights.tconstruct.tools.item.Hatchet.afterBlockBreak(Hatchet.java:86) ~[Hatchet.class:?]

at slimeknights.tconstruct.library.tools.ToolCore.func_179218_a(ToolCore.java:486) ~[ToolCore.class:?]

at crazypants.enderio.machine.farm.TileFarmStation.damageTool(TileFarmStation.java:298) ~[TileFarmStation.class:?]

at crazypants.enderio.machine.farm.TileFarmStation.damageAxe(TileFarmStation.java:229) ~[TileFarmStation.class:?]

at crazypants.enderio.machine.farm.farmers.TreeFarmer.harvestBlock(TreeFarmer.java:176) ~[TreeFarmer.class:?]

at crazypants.enderio.machine.farm.farmers.FarmersCommune.harvestBlock(FarmersCommune.java:51) ~[FarmersCommune.class:?]

at crazypants.enderio.machine.farm.TileFarmStation.doTick(TileFarmStation.java:493) ~[TileFarmStation.class:?]

at crazypants.enderio.machine.farm.TileFarmStation.checkProgress(TileFarmStation.java:429) ~[TileFarmStation.class:?]

at crazypants.enderio.machine.AbstractPoweredTaskEntity.processTasks(AbstractPoweredTaskEntity.java:114) ~[AbstractPoweredTaskEntity.class:?]

at crazypants.enderio.machine.AbstractMachineEntity.doUpdate(AbstractMachineEntity.java:284) ~[AbstractMachineEntity.class:?]

at crazypants.enderio.machine.AbstractPoweredMachineEntity.doUpdate(AbstractPoweredMachineEntity.java:73) ~[AbstractPoweredMachineEntity.class:?]

at crazypants.enderio.machine.farm.TileFarmStation.doUpdate(TileFarmStation.java:414) ~[TileFarmStation.class:?]

at com.enderio.core.common.TileEntityBase.func_73660_a(TileEntityBase.java:36) ~[TileEntityBase.class:?]

at net.minecraft.world.World.func_72939_s(World.java:1804) ~[aid.class:?]

at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:619) ~[ls.class:?]

at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:709) ~[MinecraftServer.class:?]

at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) ~[ld.class:?]

at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) ~[MinecraftServer.class:?]

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) ~[MinecraftServer.class:?]

at java.lang.Thread.run(Thread.java:745) [?:1.8.0_102]

Tinkers Construct is throwing an exception while trying to send a packet. Make sure you're using the latest version, then report this to the authors.

 

 

In future, you can use Gist to post large logs.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

By entities, you are referring to mobs and item drops, correct?  Is there any kind of debug code I could add in to Forge to help track these?

 

The NPE you mentioned before was due to using Tinker's tools in EnderIO's farming station after FML broke binary compatibility.  Would that go to EIO or TiCo?  I assume that its the mod lower in the tree but I do want to be sure. This was reported on Github already.

 

Thanks for the tip about gist, I didn't know it was avaialble.

 

Thanks for the help, I really appreciate it.

Link to comment
Share on other sites

By entities, you are referring to mobs and item drops, correct?  Is there any kind of debug code I could add in to Forge to help track these?

Yes, mobs and dropped items are both entities.

 

You could debug this by running the server from the development environment and putting some breakpoints in

EntityTracker

that check which thread the methods are being called from. Mods will be deobfuscated at runtime by FML, so there's no need to use dev builds like in older versions. Unfortunately EnderCore didn't work properly in the development environment last time I tried to use it.

 

The NPE you mentioned before was due to using Tinker's tools in EnderIO's farming station after FML broke binary compatibility.  Would that go to EIO or TiCo?  I assume that its the mod lower in the tree but I do want to be sure.

It looks like it's an issue with Tinkers Construct, so report it to them first.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

How do you initiate a development environment on a server.  Break points etc?  I realize this may be a can of worms but can you at least point me in the right direction?

 

You set up a development environment and run the server from your IDE. You don't run the normal server.

 

This page explains how to set up your development environment. If you're using IntelliJ IDEA, follow

to set up the IDE project.

 

Breakpoints are a feature of your IDE, use your IDE's help files or your search engine of choice to find more information on them.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.