Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: java.lang.ArrayIndexOutOfBoundsException: -1, -2 and -7, rendering error  (Read 533 times)

Allius

  • Ensign
  • *
  • Posts: 5
    • View Profile

Entering combat with the attached Radiant build, crashes the game almost immediately, and spits out the same error with either -1, -2 or -7.

Weapons are the vanilla Reality Disruptor, Industrial Evolution Causality Disturber and Approlight PF - Dying Blaze Beam.

The crash occurs only when all 3 weapons are present. When 1 type is removed, the game does not crash.

This is possibly caused by the Rate of Fire increase from Tide Vanes and Flux Compressor, as it does not crash immediately, which suggests that the RoF ramp up from Flux Compressor and random RoF increase from Tide Vanes is causing the rendering bug, with all 3 weapon effects overlapping.

Screenshots of ship and hullmods: https://imgur.com/a/7r2gPOB
Download link to full log: https://cdn.discordapp.com/attachments/619635013201428481/1032785357709791252/starsector.log
Active mod list: https://cdn.discordapp.com/attachments/619635013201428481/1032786172449144932/enabled_mods.json

557384 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.ArrayIndexOutOfBoundsException: -1
java.lang.ArrayIndexOutOfBoundsException: -1
   at com.fs.starfarer.combat.entities.ship.A.void.render(Unknown Source)
   at com.fs.starfarer.combat.entities.Ship.render(Unknown Source)
   at com.fs.starfarer.combat.entities.Ship.render(Unknown Source)
   at com.fs.starfarer.combat.entities.BaseEntity.render(Unknown Source)
   at com.fs.graphics.LayeredRenderer.renderExcluding(Unknown Source)
   at com.fs.starfarer.combat.CombatEngine.render(Unknown Source)
   at com.fs.starfarer.combat.CombatState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:748)


Simulated battle right after game load, rest of log is regular operation as far as I can tell.
« Last Edit: October 20, 2022, 03:44:37 PM by Allius »
Logged

Snake

  • Ensign
  • *
  • Posts: 14
    • View Profile
Re: java.lang.ArrayIndexOutOfBoundsException: -1, -2 and -7, rendering error
« Reply #1 on: January 16, 2023, 12:30:19 PM »

Also had this crash...

For me, it was the Approlight Dying Blaze Beam with the Loader Overdrive hullmod from VIC that increases rate of fire. Doesn't crash immediately but around 10-20 seconds after I start firing.

Switching to regular tach lances fixed it.
Logged
eat the doritos