Every time that I start a battle after 2 seconds I encounter a fatal null error
java.lang.NullPointerException
at plugins.EveryFrameCombatPlugin.adjustAI(EveryFrameCombatPlugin.java:29)
at plugins.EveryFrameCombatPlugin.advance(EveryFrameCombatPlugin.java:53)
at com.fs.starfarer.title.Object.L$Oo.o00000(Unknown Source)
at com.fs.starfarer.combat.A.new.o00000(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.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:748)
Disabling realistic combat seemed to stop it so I assumed it was incompatible with something.
I've never had this error but added another null check just in case. I hope it helps.
I've had similar problem and I solved it by increasing memory in vmparams. Now, currently, I have -Xms6144m -Xmx6144m with the mods that I have enabled. I've never seen it again.
Way ahead of you but it didn't work, sadly seems to be a compatibility issue, not a memory one.