Game crash/Error [SOLVED]

Game crash/Error [SOLVED]

Postby kawknhoj » Fri Jul 27, 2012 5:01 pm

So this happens to me almost on a daily basis when playing this game. I check the error log and every error is exactly the same:

[Jul 27, 2012 10:52:11 AM][Towns] Error Code [982]
[Jul 27, 2012 10:52:11 AM][Towns] java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at xaos.l.a.c.a.aM(Unknown Source)
at xaos.l.a.c.a.O(Unknown Source)
at xaos.l.a.c.d.aA(Unknown Source)
at xaos.g.b.y(Unknown Source)
at xaos.g.a.z(Unknown Source)
at xaos.g.a.<init>(Unknown Source)
at xaos.Towns.main(Unknown Source)

Any thoughts on what is causing this/how to fix it would be greatly appreciated.
kawknhoj
 
Posts: 23
Joined: Thu May 24, 2012 10:05 pm

Re: Game crash/Error

Postby caprontos » Fri Jul 27, 2012 5:16 pm

have you used any mods or changed anything in any of the XML's?
Image
Cha Cha Cha!
User avatar
caprontos
 
Posts: 3351
Joined: Wed Apr 04, 2012 3:18 am

Re: Game crash/Error

Postby tom k. » Fri Jul 27, 2012 5:19 pm

Can you give us an idea of what you were doing at the time? It's some form of corruption in an array somewhere, but it's difficult to tell from the error.

Thanks
Tom K.
Community Moderator


Please read the FAQs before posting.
Image
Towns' Official Modding Partner Site - Townsmods.net
tom k.
 
Posts: 1403
Joined: Wed Mar 28, 2012 7:22 pm

Re: Game crash/Error

Postby kawknhoj » Fri Jul 27, 2012 5:24 pm

I'm not running any mods and I haven't changed any of the xml files (other than adding in extra maps but this started happening before I did that). It doesn't seem to matter what I'm doing when this happens. Sometimes I'm not doing anything and other times I am. It happens sometimes 5 minutes into a new game and other times 5 hours.
kawknhoj
 
Posts: 23
Joined: Thu May 24, 2012 10:05 pm

Re: Game crash/Error

Postby tom k. » Fri Jul 27, 2012 7:39 pm

Hmmm, is that all of the error text? If it is, that is possibly the most bemusing stack trace ever :P

Obviously, as the trace explains it tries to access element 4 (which is the fifth item as java is an index 0 language) in an array that only has 4 items (0-3). However, from that I have NO idea what is causing it :S
Tom K.
Community Moderator


Please read the FAQs before posting.
Image
Towns' Official Modding Partner Site - Townsmods.net
tom k.
 
Posts: 1403
Joined: Wed Mar 28, 2012 7:22 pm

Re: Game crash/Error

Postby kawknhoj » Fri Jul 27, 2012 7:44 pm

That is all of the error text. As you can see, all the error codes are exactly the same:
(I only put three of the error codes to demonstrate but I assure you, they all read the same)

[Jul 11, 2012 1:50:57 PM][Towns] Error Code [982]
[Jul 11, 2012 1:50:57 PM][Towns] java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at xaos.l.a.c.a.aM(Unknown Source)
at xaos.l.a.c.a.O(Unknown Source)
at xaos.l.a.c.d.aA(Unknown Source)
at xaos.g.b.y(Unknown Source)
at xaos.g.a.z(Unknown Source)
at xaos.g.a.<init>(Unknown Source)
at xaos.Towns.main(Unknown Source)

[Jul 19, 2012 3:25:59 PM][Towns] Error Code [982]
[Jul 19, 2012 3:25:59 PM][Towns] java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at xaos.l.a.c.a.aM(Unknown Source)
at xaos.l.a.c.a.O(Unknown Source)
at xaos.l.a.c.d.aA(Unknown Source)
at xaos.g.b.y(Unknown Source)
at xaos.g.a.z(Unknown Source)
at xaos.g.a.<init>(Unknown Source)
at xaos.Towns.main(Unknown Source)

[Jul 27, 2012 10:52:11 AM][Towns] Error Code [982]
[Jul 27, 2012 10:52:11 AM][Towns] java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at xaos.l.a.c.a.aM(Unknown Source)
at xaos.l.a.c.a.O(Unknown Source)
at xaos.l.a.c.d.aA(Unknown Source)
at xaos.g.b.y(Unknown Source)
at xaos.g.a.z(Unknown Source)
at xaos.g.a.<init>(Unknown Source)
at xaos.Towns.main(Unknown Source)
kawknhoj
 
Posts: 23
Joined: Thu May 24, 2012 10:05 pm

Re: Game crash/Error

Postby supermalparit » Mon Aug 06, 2012 7:41 pm

Solved in the next build. Thanks!
Xavi Canal
Image
User avatar
supermalparit
Towns team
 
Posts: 2300
Joined: Thu Oct 27, 2011 11:57 pm


Return to Solved

Who is online

Users browsing this forum: No registered users and 0 guests