Internal Error

This seems to cause some users to unable to login:

16.01 16:01:27 [Server] Server thread/WARN Failed to handle packet for /PLAYER.IP.ADRESS:35995
16.01 16:01:27 [Server] INFO org.spongepowered.api.registry.CatalogTypeAlreadyRegisteredException
16.01 16:01:27 [Server] INFO at org.spongepowered.common.world.SpongeWorldArchetypeBuilder.lambda$build$0(SpongeWorldArchetypeBuilder.java:243) ~[SpongeWorldArchetypeBuilder.class:1.10.2-2202-5.1.0-BETA-2026]
16.01 16:01:27 [Server] INFO at java.util.Optional.ifPresent(Optional.java:159) ~[?:1.8.0_112]
16.01 16:01:27 [Server] INFO at org.spongepowered.common.world.SpongeWorldArchetypeBuilder.build(SpongeWorldArchetypeBuilder.java:242) ~[SpongeWorldArchetypeBuilder.class:1.10.2-2202-5.1.0-BETA-2026]
16.01 16:01:27 [Server] INFO at net.minecraftforge.common.DimensionManager.initDimension(DimensionManager.java:197) ~[DimensionManager.class:?]
16.01 16:01:27 [Server] INFO at net.minecraft.server.MinecraftServer.func_71218_a(MinecraftServer.java:69) ~[MinecraftServer.class:?]
16.01 16:01:27 [Server] INFO at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:249) ~[mp.class:?]
16.01 16:01:27 [Server] INFO at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:260) ~[NetworkDispatcher.class:?]
16.01 16:01:27 [Server] INFO at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:73) ~[NetworkDispatcher.class:?]
16.01 16:01:27 [Server] INFO at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:209) ~[NetworkDispatcher$1.class:?]
16.01 16:01:27 [Server] INFO at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:287) ~[eo.class:?]
16.01 16:01:27 [Server] INFO at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180) [md.class:?]
16.01 16:01:27 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:732) [MinecraftServer.class:?]
16.01 16:01:27 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
16.01 16:01:27 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
16.01 16:01:27 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
16.01 16:01:27 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
16.01 16:01:27 [Disconnect] User Player has disconnected, reason: Internal server error
16.01 16:01:27 [Server] Server thread/INFO Player left the game

Still having this issue and a bunch of users can’t login, is there anyway to fix this?

Same problem. The player said that was major lag. The other players were all good.

This seems to affect specific players and they cannot join the server at all anymore.

Can you paste a list of the mods that you’re using?

Post Edit: - snip -

This is a different issue. Could you open a bug report on SpongeForge’s github page?

I’ll push an update in a few minutes to h elp narrow down the cause of this.

NEver mind - can you upload your latest.log and fml-server-latest.log?

https://github.com/SpongePowered/SpongeForge/issues/1229

Can you re-run your server with the latest SpongeForge? I’ve made the exception more inforatmive, which should help us track down the issue.

Is this better?

29.01 10:35:02 [Server] INFO java.lang.ArrayIndexOutOfBoundsException
29.01 10:35:03 [Server] Server thread/INFO [STDOUT]: [net.minecraft.crash.CrashReport:func_85057_a:299]: Negative index in crash report handler (0/11)
29.01 10:35:03 [Server] Server thread/WARN Failed to handle packet for /IP.ADDRES:34221
29.01 10:35:03 [Server] INFO net.minecraft.util.ReportedException: Ticking player
29.01 10:35:03 [Server] INFO at net.minecraft.entity.player.EntityPlayerMP.func_71127_g(EntityPlayerMP.java:380) ~[lu.class:?]
29.01 10:35:03 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.redirect$onPlayerTick$zhb000(NetHandlerPlayServer.java:1968) ~[me.class:?]
29.01 10:35:03 [Server] INFO at net.minecraft.network.NetHandlerPlayServer.func_73660_a(NetHandlerPlayServer.java:162) ~[me.class:?]
29.01 10:35:03 [Server] INFO at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:213) ~[NetworkDispatcher$1.class:?]
29.01 10:35:03 [Server] INFO at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:287) ~[eo.class:?]
29.01 10:35:03 [Server] INFO at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180) [md.class:?]
29.01 10:35:03 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:732) [MinecraftServer.class:?]
29.01 10:35:03 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
29.01 10:35:03 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
29.01 10:35:03 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
29.01 10:35:03 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
29.01 10:35:03 [Server] INFO Caused by: java.lang.ArrayIndexOutOfBoundsException
29.01 10:35:03 [Disconnect] User mortedazueira has disconnected, reason: Internal server error

Are you able to reproduce that consistently?

Yes it happens for several people and they can’t login

Bump, this is still happening

Bump, this is happening to several of my staff members now, it’s slowly affecting more accounts

Can you upload your full latest.log ands fml-server-latest.log from when the issue occurs?

With SpongeForge: 1.10.2-2221-5.1.0-BETA-2135 most of the error dissapeared now

[Server thread] Server side modded connection established
[Server] Server thread/WARN Failed to handle packet for /8.8.8.8:52797
[Server] INFO java.lang.ArrayIndexOutOfBoundsException
[Disconnect] User Player has disconnected, reason: Internal server error

Update, this one had an error show up for a different player, might be related:

1.02 11:32:27 [Server] Server thread/WARN Failed to handle packet for /8.8.8.8:43383
    11.02 11:32:27 [Server] INFO java.lang.ArrayIndexOutOfBoundsException: -4826573
    11.02 11:32:27 [Server] INFO at java.util.ArrayList.elementData(ArrayList.java:418) ~[?:1.8.0_112]
    11.02 11:32:27 [Server] INFO at java.util.ArrayList.set(ArrayList.java:446) ~[?:1.8.0_112]
    11.02 11:32:27 [Server] INFO at net.minecraft.world.chunk.storage.RegionFile.<init>(RegionFile.java:80) ~[ath.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.world.chunk.storage.RegionFileCache.func_76550_a(SourceFile:64) ~[ati.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.world.chunk.storage.AnvilChunkLoader.chunkExists(AnvilChunkLoader.java:67) ~[atj.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:116) ~[lr.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.server.management.PlayerChunkMapEntry.redirect$onLoadChunk$zoo000(PlayerChunkMapEntry.java:1059) ~[lx.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.server.management.PlayerChunkMapEntry.<init>(PlayerChunkMapEntry.java:49) ~[lx.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.server.management.PlayerChunkMap.func_187302_c(SourceFile:196) ~[ly.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.server.management.PlayerChunkMap.func_72683_a(SourceFile:227) ~[ly.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.server.management.PlayerList.func_72375_a(PlayerList.java:299) ~[mp.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.server.management.PlayerList.handler$playerLoggedIn2$zhn000(PlayerList.java:2038) ~[mp.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.server.management.PlayerList.func_72377_c(PlayerList.java:359) ~[mp.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:1537) ~[mp.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:260) ~[NetworkDispatcher.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:73) ~[NetworkDispatcher.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:209) ~[NetworkDispatcher$1.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:287) ~[eo.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180) [md.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:732) [MinecraftServer.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
    11.02 11:32:27 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
    11.02 11:32:27 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_112]
    11.02 11:32:28 [Disconnect] User Steven has disconnected, reason: Internal server error
    11.02 11:32:28 [Server] Server thread/INFO Steven left the game

That one looks like it might be from a corrupted chunk, as one of the values read from the region file appears to be negative.