-
Notifications
You must be signed in to change notification settings - Fork 282
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.43.9-RC3 Princess crashes #936
Comments
Various NPE's from the Logs.
Next
|
I've fixed the artillery issue in the linked PR above. However... the tooltip issue is going to be difficult to replicate without knowing where the player tried to get a tooltip from (to know what could possibly be null). Though, arguably, this is a problem with the core code in Oracle Java 8's implementation, since it doesn't properly handle something that can be null. At any rate, hopefully nothing should crash now, since from the log it seemed it was the bad class casting that was causing the client to disconnect. Going to unassign myself from this. Hopefully at some point we can go through all the tooltip related code, and prevent any NULL values from being set. |
While we've fixed both issues from the log, these may not the cause of the actual freeze of princess. I'll be linking this report from a commit comment shortly, that we feel is related. |
Fill out the fields below with as much pertinent information as possible to help the developers solve the issue.
Search for your issue inside open and closed issues first before reporting so as not to make duplicates.
Environment
What version of MegaMek does your issue apply to? Note whether it is the stand alone MegaMek or HQ's MegaMek.
mekhq's megamek from 0.43.9-RC3
What operating system are you using? Windows, Mac, or Linux? Linux (Fedora 27)
What java version are you using? If unsure it will state your java version at the top of the megameklog.txt file. 1.8.0_161
Description
Describe the issue and provide screenshots ingame if able.
Game becomes unresponsive after last fire declared for a turn. NPE reported in logfile.
Provide the rulebook, page number, and text if you feel like this is a rules issue.
And provide the steps you have taken to reproduce the issue in the saved game if applicable.
Played two different games with different forces that included artillery, tag and c3
autosave.sav.gz
megameklog.txt
Files
Provide a saved game of when the issue was found. If possible try to save the game during the phase before the issue occurs so the
developers can step through the code and find exactly what it is that is breaking in the code.
Provide the megameklog.txt file for any NPE's or errors that MegaMek might be reporting.
Do not paste the entire logfile text into this ticket. Just attach the actual megameklog.txt file
And provide your playername so that they can load the saved game.
The text was updated successfully, but these errors were encountered: