Fractal Softworks Forum

Starsector => Bug Reports & Support => Bug Reports & Support (modded) => Topic started by: gofastskatkat on January 22, 2016, 08:34:45 AM

Title: Need help with sorting out a crash (FIXED)
Post by: gofastskatkat on January 22, 2016, 08:34:45 AM
So I have been having an error lately that has been persistent since the last patch of starsector, I have updated all of my mods, though maybe not to their latest but to 7.1-compatibility, but this error keeps happening.

149733 [Thread-5] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.ArrayList.rangeCheck(Unknown Source)
   at java.util.ArrayList.get(Unknown Source)
   at com.fs.starfarer.loading.scripts.ScriptStore.Ò00000(Unknown Source)
   at com.fs.starfarer.settings.StarfarerSettings.o00000(Unknown Source)
   at com.fs.starfarer.launcher.ModManager.getEnabledModPlugins(Unknown Source)
   at com.fs.starfarer.loading.ResourceLoaderState.init(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

Could someone help me please? If you need it I can also put a list of mods used
Title: Re: Need help with sorting out a crash
Post by: Dark.Revenant on January 22, 2016, 10:02:14 AM
Could be literally anything.  List your mods and versions.
Title: Re: Need help with sorting out a crash
Post by: gofastskatkat on January 23, 2016, 08:25:57 AM
AI War v0.3c, ApproLight v0.3.6a, Artefact (probably causing problems) beta version/0.0beta, Blackrock v0.8.1, Console commands v2.7, Diable Avionics v1.3, Interstellar Imperium v1.9.2, Junk Pirates v2.40, LazyLib v2.1.0, Looters v1.2e, mayorate v0.9.1, neutrino v1.82, Nihil v.98, omnifactory v1.11b, Pegasus Belt Council v1.2.0, P9 Colony v.45, SCY v0.9.8RC5, ShaderLib v1.1.2, Shadowyards v0.6.0.3, Tiandong Heavy v1.0.6, and TwigLib v0.6.7. Also, while looking through, I found a few mods that were for version .65a and older, have removed them accordingly.
Title: Re: Need help with sorting out a crash
Post by: gofastskatkat on January 23, 2016, 09:15:42 AM
Ok I made sure all the mods were updated and it seems that this error happens with a select few of the mods, Approlight AI war Diable and Hiigaran for example.
Title: Re: Need help with sorting out a crash
Post by: gofastskatkat on January 24, 2016, 08:34:00 AM
Found out the prob, apparently the java downloads posted on the use 64-bit java page are outdated and I had to get java 8.
Title: Re: Need help with sorting out a crash
Post by: Midnight Kitsune on January 24, 2016, 12:17:58 PM
Found out the prob, apparently the java downloads posted on the use 64-bit java page are outdated and I had to get java 8.
The reason for that is because Mayorate was complied using java 8 which makes games that include java 7 (like the packaged version for SS) crash IIRC
Title: Re: Need help with sorting out a crash
Post by: gofastskatkat on January 31, 2016, 09:13:13 PM
Found out the prob, apparently the java downloads posted on the use 64-bit java page are outdated and I had to get java 8.
The reason for that is because Mayorate was complied using java 8 which makes games that include java 7 (like the packaged version for SS) crash IIRC

But yet I had the same crash even without having the mayorate ticked, so I guess some other mod was compiled using 8 as well, either way its working now :D