Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: cryptic error message  (Read 3807 times)

Avan

  • Admiral
  • *****
  • Posts: 1399
  • Pioneer of Starfarer Modding
    • View Profile
    • DevDB forums
cryptic error message
« on: June 03, 2011, 01:56:48 PM »

Hey Alex, do you know what this error means?

Code
5866 [Thread-6] INFO  com.fs.starfarer.loading.WeaponSpecLoader  - Loading weapon [C:\Program Files (x86)\Fractal Softworks\Starfarer\starfarer-all\mods\avan ships\data\weapons\atroposlnch.wpn]
5874 [Thread-6] ERROR com.fs.starfarer.if.E  - java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.remove(ArrayList.java:387)
at com.fs.starfarer.loading.A.d.super(Unknown Source)
at com.fs.starfarer.loading.WeaponSpecLoader.Ò00000(Unknown Source)
at com.fs.starfarer.loading.WeaponSpecLoader.Ò00000(Unknown Source)
at com.fs.starfarer.loading.SpecStore.o00000(Unknown Source)
at com.fs.starfarer.loading.oOOO.o00000(Unknown Source)
at com.fs.B.oOOO.new(Unknown Source)
at com.fs.starfarer.if.E.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24110
    • View Profile
Re: cryptic error message
« Reply #1 on: June 03, 2011, 02:02:58 PM »

Probably something messed up in this portion of the file:

Code
"hardpointOffsets":[8, -4, 8, 4],
"turretOffsets":[3, -4, 3, 4],
"hardpointAngleOffsets":[0, 0],
"turretAngleOffsets":[0, 0],

The number of angle offsets needs to match the number of coordinate pairs. Could be something else, though.
Logged

Avan

  • Admiral
  • *****
  • Posts: 1399
  • Pioneer of Starfarer Modding
    • View Profile
    • DevDB forums
Re: cryptic error message
« Reply #2 on: June 03, 2011, 02:20:49 PM »

Cool, I think that was my problem X3