Author Topic: Friday, 1/19/2018 Mission Abort  (Read 308 times)

Offline AKA_Relent

  • Training Officer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1715
  • AKA_Wardogs
    • View Profile
Friday, 1/19/2018 Mission Abort
« on: January 21, 2018, 04:09:48 pm »
S!

I looked at the log for IL2/46 created from Friday's mission, where the IL2 server died after about 2.5 hours.  I saw the following exception about 120+ times in the log before it croaked:

[3:39:23 AM]   1604>[3:39:34 AM]   java.lang.NullPointerException
[3:39:34 AM]      at com.maddox.il2.ai.VisCheck.checkIfOwnPlaneBlocksVisibility(VisCheck.java:665)
[3:39:34 AM]      at com.maddox.il2.ai.VisCheck.checkDefense(VisCheck.java:577)
[3:39:34 AM]      at com.maddox.il2.ai.air.Maneuver.incDangerAggressiveness(Maneuver.java:635)
[3:39:34 AM]      at com.maddox.il2.ai.air.Maneuver.fighterVsFighter(Maneuver.java:7834)
[3:39:34 AM]      at com.maddox.il2.ai.air.Maneuver.update(Maneuver.java:1195)
[3:39:34 AM]      at com.maddox.il2.ai.air.Pilot.update(Pilot.java:196)
[3:39:34 AM]      at com.maddox.il2.fm.FlightModelMain.tick(FlightModelMain.java:647)
[3:39:34 AM]      at com.maddox.il2.engine.Interpolators.tick(Interpolators.java:222)
[3:39:34 AM]      at com.maddox.il2.engine.Actor.interpolateTick(Actor.java:365)
[3:39:34 AM]      at com.maddox.il2.engine.InterpolateAdapter.msgTimeOut(InterpolateAdapter.java:174)
[3:39:34 AM]      at com.maddox.rts.MsgTimeOut.invokeListener(MsgTimeOut.java:73)
[3:39:34 AM]      at com.maddox.rts.Message._send(Message.java:1217)
[3:39:34 AM]      at com.maddox.rts.Message.sendToObject(Message.java:1191)
[3:39:34 AM]      at com.maddox.rts.Message.sendTo(Message.java:1134)
[3:39:34 AM]      at com.maddox.rts.Message.trySend(Message.java:1115)
[3:39:34 AM]      at com.maddox.rts.Time.loopMessages(Time.java:252)
[3:39:34 AM]      at com.maddox.rts.RTSConf.loopMsgs(RTSConf.java:101)
[3:39:34 AM]      at com.maddox.il2.game.DServer.loopApp(DServer.java:183)
[3:39:34 AM]      at com.maddox.il2.game.Main.exec(Main.java:439)
[3:39:34 AM]      at com.maddox.il2.game.DServer.main(DServer.java:436)

From the various messages, it seems the crash occurred while AI aircraft were engaged.  Looking at the bolded message above, I'm wondering if this issue occurred when AI fighters were engaging other AI fighters.  If this is the case, it's probably not something that happens very often (i.e. a red fighter sweep engages a blue fighter sweep, or sweep vs escort, etc.).  It may have just been a fluke that a large number of AI fighters from each side were in a crazy dogfight and it overwhelmed the software LOL :).  Maybe something missed in QA way back in IL2/46 development.

Hopefully this won't happen again/very often.

S! Rel