-
Notifications
You must be signed in to change notification settings - Fork 171
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
IndexOutOfBoundsException when advancing day #68
Comments
It looks like it's the doctors/patients part which makes problems. What are you doing on the day before the error hits, exactly? |
It was after a battle. I sold unwanted units, then repair units, then GM On Friday, May 6, 2016, Akjosch notifications@github.com wrote:
|
Added protection against PatientTableModel being given a bad index when attempting to retrieve an index. In such an instance, the model will return a NULL value. Also added null handling to the calling methods. |
Issue #68: IndexOutOfBoundsException when advancing day
If this issue is fixed please close. |
Issue MegaMek#68: IndexOutOfBoundsException when advancing day
Not seeing it lately... might have been fixed. Pls close, I will post again if I receive the same error. |
Its your ticket, you can close it yourself. Faster than waiting on the devs in most cases. |
Sry, didn't know I can close myself. |
No worries, your not the only one. |
MekHQ 0.3.27
Occasionally getting this error when advancing a day after combat, then selling units, then repairs, then removing prisoners or astechs, then assigning doctors. Error will disappear if restarting MekHQ right before the advance day.
Savegame and log attached.
IndexOutOfBoundsException.txt
IndexOutOfBoundsException.7z.txt
The text was updated successfully, but these errors were encountered: