When rendering a unit (eg, SHGPUCF---EETUG) where there is a CC_COUNTRY_CODE and the unit can have a M_HIGHER_FORMATION modifier but does not, mValue gets set to null and then causes a NullPointerException when trying to compare it to the empty string.
There are a half dozen different ways to code this fix, I went with minimally disruptive. If you have a different stylistic preference I'm happy to amend!
When rendering a unit (eg, SHGPUCF---EETUG) where there is a
CC_COUNTRY_CODE
and the unit can have aM_HIGHER_FORMATION
modifier but does not, mValue gets set tonull
and then causes a NullPointerException when trying to compare it to the empty string.There are a half dozen different ways to code this fix, I went with minimally disruptive. If you have a different stylistic preference I'm happy to amend!