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

server crash java.lang.IllegalStateException at elec332.core.grid.AbstractGridHandler.checkChunkLoad(AbstractGridHandler.java:176) #75

Closed
Dongonzales opened this issue Dec 19, 2016 · 13 comments

Comments

@Dongonzales
Copy link

java.lang.IllegalStateException
at elec332.core.grid.AbstractGridHandler.checkChunkLoad(AbstractGridHandler.java:176) ~[AbstractGridHandler.class:?]
at elec332.core.grid.internal.GridEventInputHandler.tickEnd(GridEventInputHandler.java:108) ~[GridEventInputHandler.class:?]
at elec332.core.grid.internal.GridEventHandler.serverTick(GridEventHandler.java:49) ~[GridEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_231_GridEventHandler_serverTick_ServerTickEvent.invoke(.dynamic) ~[?:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:137) ~[EventBus.class:?]
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:93) ~[EventBus.class:?]
at net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:261) ~[FMLCommonHandler.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:657) ~[MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]

@john01dav
Copy link

john01dav commented Dec 20, 2016

My public server is experiencing this same bug. I am running Sponge version 1.10.2-2171-5.1.0-BETA-1983, and removing Sponge, starting server, stopping server, then re-adding Sponge seems to temporarily fix the issue, but, it then quickly returns a few hours later. A restart with Sponge installed simply causes the crash to occur again shortly after launch (anywhere from the instant startup finishes to a few minutes after launch once a few players are online). I am using the Direwolf20 1.10 pack in the latest release version with ElecCore 1.10.2-1.6.345 and Forge 1.10.2-12.18.2.2171-universal.

Stack Trace:

java.lang.IllegalStateException
        at elec332.core.grid.AbstractGridHandler.checkChunkLoad(AbstractGridHandler.java:176)
        at elec332.core.grid.internal.GridEventInputHandler.tickEnd(GridEventInputHandler.java:108)
        at elec332.core.grid.internal.GridEventHandler.serverTick(GridEventHandler.java:49)
        at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_302_GridEventHandler_serverTick_ServerTickEvent.invoke(.dynamic)
        at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
        at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:137)
        at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:93)
        at net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:261)
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:657)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
        at java.lang.Thread.run(Thread.java:745)
[crash-2016-12-20_01.14.13-server.txt](https://github.com/Elecs-Mods/ElecCore/files/662490/crash-2016-12-20_01.14.13-server.txt)



I am beginning to lose players because this bug prevents me from keeping my server online. I would appreciate a quick fix -- this is very urgent to me.

I have also included the crash report and server logs.
logs.zip

@john01dav
Copy link

john01dav commented Dec 20, 2016

I am also now receiving the attached crash report in addition to the previous one, albeit, slightly less commonly.
crash-2016-12-20_06.18.20-server.txt
fml-server-3.log.txt

I am nearing the point where I need to start removing mods from the pack and thus causing irreversible world damage. I can't be babysitting my server 24/7 to add/remove spogne.

@Aaron1011
Copy link

Aaron1011 commented Dec 20, 2016

@john01dav @Dongonzales: Try using this build (Source at Aaron1011@9b04dae). I've added some extra information to the exception being printed out, which should help to debug this.

I'm almost certain that this is a Sponge issue, as I've talked t several other people who've been experiencing it. We should continue the discussion here: SpongePowered/SpongeForge#992

@john01dav
Copy link

@Aaron1011 The issue came back with the following stack trace:

java.lang.IllegalStateException: Some chunkcheck failed! Instance: mcjty.deepresonance.tanks.TankGridHandler@190c8a32 mcjty.deepresonance.tanks.TankGridHandler Position: [DimensionCoordinate: BlockPos{x=958, y=56, z=-1037} dim: 0] Object:
 mcjty.deepresonance.tanks.TankTileLink@6c267a4b TileEntity: mcjty.deepresonance.blocks.tank.TileTank@3d0c8050 oldUpdates: [[DimensionCoordinate: BlockPos{x=958, y=56, z=-1037} dim: 0]] add: [] changeCheck: [] updates: [[DimensionCoordina
te: BlockPos{x=958, y=56, z=-1037} dim: 0]] dimCoord: [DimensionCoordinate: BlockPos{x=958, y=56, z=-1037} dim: 0]
        at elec332.core.grid.AbstractGridHandler.checkChunkLoad(AbstractGridHandler.java:176) ~[AbstractGridHandler.class:?]
        at elec332.core.grid.internal.GridEventInputHandler.tickEnd(GridEventInputHandler.java:108) ~[GridEventInputHandler.class:?]
        at elec332.core.grid.internal.GridEventHandler.serverTick(GridEventHandler.java:49) ~[GridEventHandler.class:?]
        at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_302_GridEventHandler_serverTick_ServerTickEvent.invoke(.dynamic) ~[?:?]
        at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
        at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:137) [EventBus.class:?]
        at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:93) [EventBus.class:?]
        at net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:261) [FMLCommonHandler.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:657) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]```

@RaresKool
Copy link

Having the same issue. Running ElecCore-1.10.2-1.6.345 and also using Sponge.

Description: Exception in server tick loop
 
java.lang.IllegalStateException
    at elec332.core.grid.AbstractGridHandler.checkChunkLoad(AbstractGridHandler.java:176)
    at elec332.core.grid.internal.GridEventInputHandler.tickEnd(GridEventInputHandler.java:108)
    at elec332.core.grid.internal.GridEventHandler.serverTick(GridEventHandler.java:49)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_300_GridEventHandler_serverTick_ServerTickEvent.invoke(.dynamic)
    at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:137)
    at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:93)
    at net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:261)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:657)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
    at java.lang.Thread.run(Thread.java:745)

@Sir-Will
Copy link

Same issue here, deleting the player file of the joining player fixes it. What do I have to delete inside the player file to fix this crash? I don't want to wipe the player file every time.

@Elec332
Copy link
Member

Elec332 commented Jan 1, 2017

The version with a workaround for this will be released today or tomorrow

@Sir-Will
Copy link

Sir-Will commented Jan 1, 2017

Unfortunately I will have to wait for a modpack then too. So it would be great to know what exactly I have to remove in the player file.

@Eufranio
Copy link

Eufranio commented Jan 28, 2017

Are you sure It's fixed? Because I crashed with this exact crash today:

java.lang.IllegalStateException
	at elec332.core.grid.AbstractGridHandler.checkChunkLoad(AbstractGridHandler.java:177)
	at elec332.core.grid.internal.GridEventInputHandler.tickEnd(GridEventInputHandler.java:108)
	at elec332.core.grid.internal.GridEventHandler.serverTick(GridEventHandler.java:49)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_210_GridEventHandler_serverTick_ServerTickEvent.invoke(.dynamic)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:637)
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:593)
	at net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:261)
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:657)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
	at java.lang.Thread.run(Thread.java:745)

Full crash-report: https://hastebin.com/kularuxifu.sql

@Eufranio
Copy link

Or the fix wasn't backported to 1.10, I guess?

@Aaron1011
Copy link

@Eufranio: Would you be able to join #spongedev on irc.esper.net to discuss this further?

@Eufranio
Copy link

Eufranio commented Jan 28, 2017

I prefer Discord, but ok.

@Aaron1011
Copy link

This issue has been fixed in SpongeForge - it was a bug in how Sponge handled chunkloading..

@Elec332 Elec332 closed this as completed Feb 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants