Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.49.19 Nightly from 2/27/2024 - Uncaught Exception when loading saved game causing soft lock #5214

Closed
BLR-IIC opened this issue Mar 3, 2024 · 4 comments · Fixed by #5216
Labels

Comments

@BLR-IIC
Copy link

BLR-IIC commented Mar 3, 2024

I tried loading a saved game which I loaded before earlier in the game without a problem. I saved it last night before the movement phase began and tried loading it tonight and got repeated Uncaught Exceptions. I click OK on an Uncaught Exception box and another one popped up. This wouldn't stop and the board never loaded, even though the unit display was on a friendly bot-controlled off-board Ballista. I had to close the Java process via Task Manager. Log and savegame attached.

megamek.log
CompanyGame1.sav.gz

image

@Sleet01
Copy link
Collaborator

Sleet01 commented Mar 3, 2024

It looks like the board is trying to update and querying the off-board unit for its elevation, probably in order to draw its shadow or position it for isometric representation - despite this being unnecessary for an off-board unit.

Definitely a bug.

@Sleet01 Sleet01 added the Bug label Mar 3, 2024
@Sleet01
Copy link
Collaborator

Sleet01 commented Mar 3, 2024

Actually, @BLR-IIC , do you have the HTML log for this game as well? The recurring IllegalStateException in the megamek.log file refers to entity 57, which appears to have been a pilot named "Ruhiye Zand"; it would be helpful to see what happened with that pilot during this game.

It may be that this pilot ejected in an indeterminate state, but it looks like the Ballista was the last unit to load correctly, not the unit that caused the exception you saw.

@BLR-IIC
Copy link
Author

BLR-IIC commented Mar 4, 2024

Here's the HTML log:

gamelog.zip

@SJuliez
Copy link
Member

SJuliez commented Mar 4, 2024

I'd say this is caused by the unit shadows. Will deal with it.

HammerGS added a commit that referenced this issue Mar 13, 2024
+ Fix #5214: Exception when loading saved game
+ Fix #5224: Infantry Firing issue
+ PR #5241: Add test to ensure every unit can load
+ PR #5244: Fixing MML #1452 Allows you to pod mount null signature
system.
IllianiCBT pushed a commit to IllianiCBT/megamek that referenced this issue Mar 18, 2024
+ Fix MegaMek#5214: Exception when loading saved game
+ Fix MegaMek#5224: Infantry Firing issue
+ PR MegaMek#5241: Add test to ensure every unit can load
+ PR MegaMek#5244: Fixing MML MegaMek#1452 Allows you to pod mount null signature
system.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants