java.lang.NullPointerException
at RealisticCombat.util.OpenGLUtils.glColor(OpenGLUtils.java:28)
at RealisticCombat.listeners.WeaponFacings.advance(WeaponFacings.java:104)
at com.fs.starfarer.combat.entities.Ship.advance(Unknown Source)
at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
at com.fs.starfarer.combat.CombatState.traverse(Unknown Source)
at com.fs.state.AppDriver.begin(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.super(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I also had a null CTD (in fact I get them quite common)
Context:
Always during battle
Never while having the "strategy layer" up, the one where you can give assignments et al.
Now..... I DO have a ton of content mods added as well.
But i'm not sure how they would create this particular crash.
I can provide more details, but there isnt a set "ship" or moment I've noticed that crashes things.
I've crashed this way using different ships with different weapons and so I'm not sure what consistency there is.
But it's semi-frequent.
To avoid spam, I'll just post another in here - they look identical to me, so it may not be helpful:
179645 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain - java.lang.NullPointerException
java.lang.NullPointerException
at RealisticCombat.util.OpenGLUtils.glColor(OpenGLUtils.java:28)
at RealisticCombat.listeners.WeaponFacings.advance(WeaponFacings.java:104)
at com.fs.starfarer.combat.entities.Ship.advance(Unknown Source)
at com.fs.starfarer.combat.CombatEngine.advanceInner(Unknown Source)
at com.fs.starfarer.combat.CombatEngine.advance(Unknown Source)
at com.fs.starfarer.combat.CombatState.traverse(Unknown Source)
at com.fs.state.AppDriver.begin(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.super(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
New game, (more mods
)
But again always points to realistic combat, it seems to be upset when i watch the fight for weapon facing
Perhaps a modded weapon's rotation/facing is not compatible? Not sure, mind you. I can only guess
NOTE: I just fought ^ This battle again without ever leaving the strategy overview layer. It didnt crash.
Now It still has my flagship firing at things in the background - but still, no crash. Elsewise when i tab-out to view the fight, or if i unlock the camera to go look at the battles in a distance, that's when it will crash. Once a battle has a crash, it seemingly will always have one. But not all battles have crashes. Crashes can be bypassed as above; using the strat layer only.