Jump to content

ArrayIndexOutOfBoundsException in Chunk.java when client connects to server


Recommended Posts

Posted

I'm having a strange issue. (Using MCP 72 and Forge 204)

 

When I run my mod in SSP it work fine. If I create a server and connect to it with a client it also seems to work fine, I can place blocks from my mod, etc.

 

However after I disconnect and try and reconnect with a client I get the following error:

[hide]

2012-08-18 14:04:21 [iNFO] [sTDERR] java.lang.ArrayIndexOutOfBoundsException

2012-08-18 14:04:21 [iNFO] [sTDERR] at java.lang.System.arraycopy(Native Method)

2012-08-18 14:04:21 [iNFO] [sTDERR] at net.minecraft.src.Chunk.fillChunk(Chunk.java:1367)

2012-08-18 14:04:21 [iNFO] [sTDERR] at net.minecraft.src.NetClientHandler.handleMapChunks(NetClientHandler.java:1090)

2012-08-18 14:04:21 [iNFO] [sTDERR] at net.minecraft.src.Packet56MapChunks.processPacket(Packet56MapChunks.java:154)

2012-08-18 14:04:21 [iNFO] [sTDERR] at net.minecraft.src.TcpConnection.processReadPackets(TcpConnection.java:438)

2012-08-18 14:04:21 [iNFO] [sTDERR] at net.minecraft.src.NetClientHandler.processReadPackets(NetClientHandler.java:99)

2012-08-18 14:04:21 [iNFO] [sTDERR] at net.minecraft.src.GuiConnecting.updateScreen(GuiConnecting.java:42)

2012-08-18 14:04:21 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1484)

2012-08-18 14:04:21 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:831)

2012-08-18 14:04:21 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:761)

2012-08-18 14:04:21 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source)

[/hide]

 

The server is still running, without any errors, but starting or stopping it doesn't fix anything. Only deleting the server world save works.

 

47MdL.png

Posted

I'm having a strange issue. (Using MCP 72 and Forge 204)

 

When I run my mod in SSP it work fine. If I create a server and connect to it with a client it also seems to work fine, I can place blocks from my mod, etc.

 

However after I disconnect and try and reconnect with a client I get the following error:

The server is still running, without any errors, but starting or stopping it doesn't fix anything. Only deleting the server world save works.

Huh, investigating...

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.

Announcements



×
×
  • Create New...

Important Information

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