MegaMek / megameklab

MegaMekLab is a BattleTech unit modification program. It allows creating and modifying all unit types available in MegaMek from Support Vehicles up to WarShips. It also allows printing record sheets for single or multiple units.
http://www.megamek.org
86 stars 133 forks source link

BA Taser/Se'irim MML issue. Error when trying to change tech base of Se'irim for customization #1576

Open TalRaziid opened 3 months ago

TalRaziid commented 3 months ago

Environment

0.49.20 dev. MML, not MHQ ML Windows Java Version: Adoptium 17.0.12

Description

As title states, I was attempting to tweak a copy of the Se'irim capture squad using mixed-clan as the tech base when it threw me an error as follows: "uncaught java.lang.ArrayIndexOutOfBoundsException detected."

Files

BA taser MML error.zip

repligator commented 3 months ago

Java 17 Linux MegaMekLab Nightly CI 1578

When opening the BLK file uploaded by TalRaziid in the 50.00 nightly, and then attempting to change the tech base to mixed clan, I get the same error.

megameklab.MegaMekLab.lambda$main$1(MegaMekLab.java:59) - Uncaught Exception Detected
java.lang.ArrayIndexOutOfBoundsException: Index 6 out of bounds for length 6

megameklab.log