Internal Error

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.

Are all these Internal Errors related to that? And how do I prevent the world from generating these corrupted chunks and how do I find which chuck and region file that is

This might be related:

You’re the third person to experience that issue - @zachincool and @DiamondArrow are also having it. I’m really struggling to determine what’s causing this, however.

Can you provide a list of all your mods, along with your versions?

1 Like

Another one D:
Hopefully we can figure this out

I get this error client-sided when logging in:

But I don’t crash, and I PMed my mods list

I tihnk sharing mod list is a great idea! Here’s mine

Summary

From my own knowledge, this:

is caused due to a dimension misconfiguration between the server and the client and that has nothing to do with this [quote=“Gershon, post:19, topic:16892”]
11:32:27 [Server] Server thread/WARN Failed to handle packet for /[REDACTED]:43383
11:32:27 [Server] INFO java.lang.ArrayIndexOutOfBoundsException: -4826573
[/quote]


After some very broad research I can conclude that the `java.lang.ArrayIndexOutOfBoundsException` is probably caused by a (or multiple) bad chunk(s) as Aaron1011 said here:

I suggest (like many other people have done) you edit the dimension in a program like MCEdit and remove the bad chunks (and make a backup incase it didn’t fix it). What might have caused these chunk corruption is a mystery.

I don’t think continuously using MCEdit to fix the chunks will help because today I got another person saying they have the Internal Error problem and they were digging in a cave, so either the chunks are being corrupted or there is an issue with the player files

Could you send me your plugin list?

Plugins (41): Minecraft, Minecraft Coder Pack, Forge Mod Loader, Minecraft Forge, SpongeAPI, SpongeForge, Nucleus Mixins, ActionBroadcaster, AdminShop, Aliases, Buycraft, Denizen2Sponge, Easy Scoreboards, EconomyLite, FlexibleLogin, GriefPrevention, pokemongym, Holograms, keys, Lottery, LuckPerms, MiscStuff, Nations, NoFallDamage, Nucleus, NuVotifier, Pixel Announcer, Pixel Auction, Pixelmon, Pixel Extras, Pixel Shout, Prism, ProjectWorlds, RedProtect, SeriousVote, SkinsRestorer, SpongyCord, Synonym, TerrainControl, Wondertrade, WorldEdit

Bump, still an issue

Bump, still affecting users

Make sure you upgrade to the latest SpongeForge - I’ve pushed some commits that should provide more information in crashes.

1 Like

Got this one:

And

For a player that was experiencing it:

How do I locate what region file, and chunk this is?

Edit: But for another account it will try to login and show a loading screen but then a kick message with internal error:

24.02 23:39:07 [Server] Server thread/INFO [FML]: [Server thread] Server side modded connection established
24.02 23:39:07 [Server] Server thread/WARN Failed to handle packet for /IP:53000
24.02 23:39:07 [Server] INFO java.lang.ArrayIndexOutOfBoundsException
24.02 23:39:07 [Disconnect] User PLAYER has disconnected, reason: Internal server error
24.02 23:39:07 [Server] Server thread/INFO PLAYER  left the game

Bump happened to several other users

Bump still an issue