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 168 forks source link

[0.50.1 Nightly - #CI1618] - Opening Reputation Report gives NPE #4851

Open UlyssesSockdrawer opened 6 days ago

UlyssesSockdrawer commented 6 days ago

Prerequisites and Pre-Issue Checklist

Severity *

High (Major Disruption): A major feature is broken or incorrect, but a workaround exists.

Brief Description *

Opening up the Reputation Report on the CI-1618 nightly with a save from 0.50 causes an NPE and the report does not open.

image

I have not tried this with a freshly created campaign just in 0.50.01. This may be for @IllianiCBT

Steps to Reproduce

  1. Import a save-game from 0.50.
  2. Open up the save-game in the 0.50.1 nightly.
  3. Navigate to the Command Centre
  4. Click to open the Reputation Report
  5. NPE occurs, report window does not open

Operating System *

Windows 11

Java Version *

17.0.12

MekHQ Suite Version *

Free Text (type manually)

Custom MekHQ Version

50.01 CI1618 Nightly

Attach Files

customs.zip

The Nova Dragoons30050716.cpnx.gz

Save file provided is from 0.50 to test importing. Don't worry about missing camos, logos, and portraits.

Final Checklist

UlyssesSockdrawer commented 6 days ago

Forgot to attach the log, whoops:

mekhq.log