MegaMek / mekhq

MekHQ is a java helper program for the MegaMek game that allows users to load a list of entities from an XML file, perform repairs and customizations, and then save the new entities to another XML file that can be loaded into MegaMek.
http://megamek.org
131 stars 169 forks source link

Uncaught java.lang.IndexOutOfBoundsException - Refitting a Crusader #3786

Open Jenbak5 opened 9 months ago

Jenbak5 commented 9 months ago

Environment

MekHQ version: 0.49.15 Operating System: Windows 10 10.0 (amd64) Java Version: 11.0.20 (Eclipse Adoptium)

Description

Started a campaign. Generated a company with 2 lances and started to refit all my meks. I had already refitted 7 of them but when trying to refit my Crusader CRD-3R to a CRD-3D; I got the exception right after clicking "Begin Refit".

Files

No custom units No other customized files

Bug Report Files - Crusader Refit Issue.zip

Jenbak5 commented 9 months ago

Advanced a few days and GM procured the refit kits of the other meks. Then I tried to refit crusader again and it worked. Maybe it was something with lack of parts, I dunno. I think the log file should be more than enough to debug.

IllianiCBT commented 2 weeks ago

Can you confirm whether this is still an issue on the current version? :)