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

Fixed NPE in ScenarioTableModel #5587

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

IllianiCBT
Copy link
Collaborator

Added a null check for StratconCampaignState in ScenarioTableModel to prevent potential null pointer exceptions. This ensures more robust handling of scenarios without an associated campaign state.

Fix #5584

Added a null check for StratconCampaignState in ScenarioTableModel to prevent potential null pointer exceptions. This ensures more robust handling of scenarios without an associated campaign state.
@IllianiCBT IllianiCBT added Bug GUI StratCon Bugs relating strictly to StratCon labels Jan 1, 2025
@IllianiCBT IllianiCBT self-assigned this Jan 1, 2025
@codecov-commenter
Copy link

codecov-commenter commented Jan 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.05%. Comparing base (5ae9aff) to head (13359e9).
Report is 17 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5587      +/-   ##
============================================
- Coverage     10.06%   10.05%   -0.01%     
+ Complexity     6079     6075       -4     
============================================
  Files          1073     1073              
  Lines        141260   141300      +40     
  Branches      20604    20629      +25     
============================================
- Hits          14223    14213      -10     
- Misses       125667   125713      +46     
- Partials       1370     1374       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@IllianiCBT IllianiCBT merged commit f3ed31a into MegaMek:master Jan 2, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GUI StratCon Bugs relating strictly to StratCon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Null Pointer Exceptions on Loading Campaign Save
3 participants