Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

ArrayIndexOutOfBoundsException in Chunk.java when client connects to server


Azanor
 Share

Recommended Posts

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

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

https://github.com/MinecraftForge/MinecraftForge/commit/7f40671ad8841be99ce45ef00eb9fd35c12e1dc4

MC Bugs, client side not respecting the format of there own packets.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Patreon: http://www.patreon.com/lexmanos
Paypal: http://paypal.me/LexManos

BitCoin: 1Q8rWvUNMM2T1ZfDaFeeYQyVXtYoeT6tTn

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
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.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.