Java.Lang.ArrayIndexOutOfBoundsException:2 MCLawl Error
10 replies [Last post]
EricKilla
WoM Member
Members
WoM Member: 91922
WoM Coins: 6

Hello,
I'm having an issue with my Creative MCLawl server, ! 24/7
EricKillas Freebuild, where every so often it boots everyone off the
server with a client error giving them a message of "Client Error The
game broke ! [ArrayIndexOutOfBoundsException:2]" or something along
those lines. In my World of Minecraft Console window, it spams the
following error message a number of times before crashing:
--------------------------------------------------------
Java.Lang.ArrayIndexOutOfBoundsException:2
at com.minecraft.e.l.a(unknown source)
at com.minecraft.e.l.a(unknown source)
at com.minecraft.e.m.a(unknown source)
at com.minecraft.l.run(unknown source)
at java.Lang.Thread.run(unknown source)
--------------------------------------------------------
A bit of background information on the server:
Server Software: MCLawl v1.6.7.1.2.0 (latest version)
Server OS: Linux (Open SUSE distro)
Other: The server has 4gb of ram, and has a dual-core processor.

If
anyone can tell me why my MCLawl server suddenly started doing this
today I would be grateful. I've flipped some settings around, deleted
some levels and level backups, rebooted the machine that it runs on,
etc...
Oh also, the server's error log records nothing when this
happens. I tested the with the World of Minecraft client and the
minecraft.net client, and it crashes on both clients.
The server's URL is: http://www.minecraft.net/play.jsp?server=d496c7cb6d760f3c5e0004c92a70903e

bordakius
WoM Member
Members
WoM Member: 163276
WoM Coins: -1
ME TOO!!! :(((

the exact same thing happened to me. server worked fine for a few days, im using th mclawl the most recent version, then all of a sudden ppl would try to join and disconnect getting that message
so i tried to restart the srver but then i couldnt connect myself!!! and i got that same exact message in client and browser:

The game broke! [java.lang.ArrayIndexOutOfBoundsException:2

if there is anyone out there who knows how to help me i would appreciate it! im using the free classic game and my computer is a pos dell dimension E521.... but the game always worked before and my server worked fine for days..... PLZ HELP ME!!!!

Poita70
WoM Member
Members
WoM Member: 153194
WoM Coins: 3
I'm having similar problems...

My server appears on minecraft server site.....then its gone....then it's there....then it's gone. There seems to be an issue for some of us since they migrated all their data to the new server cluster.

I've basically given up on my server at the moment. I've only been able to connect to it twice in 2 days of trying. :(

Go on the minecraft servers site, and then keep refreshing the page while you watch the list. You'll see a server disappear almost every time you do it.

They still have alot of work to do I think.

ShadowMamaru
WoM Member
Members
WoM Member: 328671
WoM Coins: 5
MIne does that too on Coolio

MIne does that too on Coolio Public Freebuild. I don't have a ton of info. All I know is that is the only server I'm having issues with. I can log into it, see it for a second, but as soon as I click or push a button it says "The

game broke ! [java.lang.ArrayIndexOutOfBoundsException: 62]"

alecdent
WoM Member
Members
WoM Member: 186099
WoM Coins: 0
Welll

Hey Eric didnt expect you to be posting on the EXACT same problem im having LOL. Anyways when on Aeries. I cant go to big maps like pony4, canterlot, well basically any 256 512 256 or 512^3 maps without crashing and getting this error.

gamerkd
WoM Member
Members
WoM Member: 55499
WoM Coins: 55
An OutOfBounds error occurs

An OutOfBounds error occurs when you go outside the bounds of a list or array. Problem is MCLawl has a lot of lists and data structures in its code. The best thing you can do is look for a pattern when it happens: commands being access or words being said. Anything in the logs that might give a source.

Unfortunately MCLawl stopped development last December. Your error WONT be fixed. Unless you open the source and fix it yourself.

naufalrasyid
Contributor
Contributor
WoM Member: 318894
WoM Coins: 632
use fCraft software

use fCraft software it's much more better,it has no virus or errors

asherk2
WoM Member
Members
WoM Member: 273346
WoM Coins: 22
MIne does that too on

MIne does that too on Ourmine.net. I don't have a much info. All I know is that is the only server I'm having issues with. I can log into it, see it for a second, but as soon as I click or push a button it says "The

game broke ! [java.lang.ArrayIndexOutOfBoundsException: 61]"

EricKilla
WoM Member
Members
WoM Member: 91922
WoM Coins: 6
Damn this thread still

Damn this thread still exists?
I figured out the cause of this. Having a ! in a MCLawl or MCForge repeating message will cause everyone to crash.

mss1226
WoM Member
Members
WoM Member: 386760
WoM Coins: 2
(ArrayIndexOutOfBoundsException: -1

Problem with array index going out of bounds (ArrayIndexOutOfBoundsException: -1).  Just started today, Dec 4th 2011.  One account gives me the error, another account works just fine.

This is the error for the account that will not work:

user9876 [/5.65.103.105:50087] logged in with entity id 180 at (50.255562121884076, 72.0, -99.61275944853642)
[WARNING] Failed to handle packet: java.lang.ArrayIndexOutOfBoundsException: -1
java.lang.ArrayIndexOutOfBoundsException: -1
 at le.a(SourceFile:294)
 at wd.a(SourceFile:136)
 at wd.a(SourceFile:222)
 at jb.a(SourceFile:286)
 at ja.i(SourceFile:171)
 at gz.d(SourceFile:375)
 at lk.w_(SourceFile:280)
 at gz.w_(SourceFile:204)
 at fl.a(SourceFile:176)
 at kt.a(SourceFile:180)
 at ij.a(SourceFile:126)
 at oo.b(SourceFile:272)
 at kt.a(SourceFile:49)
 at ep.a(SourceFile:108)
 at net.minecraft.server.MinecraftServer.w(SourceFile:411)
 at net.minecraft.server.MinecraftServer.run(SourceFile:332)
 at cu.run(SourceFile:457)

However, another account logs in to the same server and it works:

user44 [/5.160.167.148:58110] logged in with entity id 236 at (55.28125, 84.0, -51.40625)

 

NOTICE the floating point numbers in the parenthesis for the user that crashes goes out 14 decimal places, but for the account that works they only go out 5 places.  That is the only difference I see.  Can something be overwriting memory because of this?

When I use other computers the same thing happens to both accounts (very repeatable).

mss1226
WoM Member
Members
WoM Member: 386760
WoM Coins: 2
FIXED - ArrayIndexOutOfBoundsException: -1

Fixed the problem listed above (from Dec 4, 2011):

 

Went to my "server" folder, then to the "players" folder.  Renamed the players file that was giving me the trouble.  Restarted the game hoping it would create another file for that player, and it did.  Everything works fine now.  

 

I deleted the old (renamed file) for good!  I guess this file was corrupted somehow.  Hope this helps others in the future.