4.1.0.744 Object Reference not set error on auto-focus run

Got an object reference error when my auto focus was running on red filter. Tried running AF again and had to kill SGP / restart to get it to run.

Running version 4.1.0.744

Sequence file: February 2022.sgf - Google Drive

Log File: sg_logfile_20220320210556.log - Google Drive

Log Section:
[03/20/22 22:07:17.411][ERROR][Camera Thread][SQ;AF;] Error executing auto focus! : Object reference not set to an instance of an object.
at jy.cl(Event A_0, Boolean A_1, Boolean A_2, k4 A_3)
[03/20/22 22:07:17.481][DEBUG][Camera Thread][SQ;] SGM_FOCUSER_AUTO_FOCUS complete…
[03/20/22 22:07:17.481][DEBUG][Camera Thread][SQ;] Camera thread is IDLE…
[03/20/22 22:07:17.498][DEBUG][Auto Guider Thread][SQ;] PHD2 GetPhdStatus - Post-Wait: Paused
[03/20/22 22:07:17.498][DEBUG][Auto Guider Thread][SQ;] SGM_GUIDE_PAUSE complete…
[03/20/22 22:07:17.539][DEBUG][Sequence Thread][SQ;] BlockUntilFocuserMovementDone: Focuser reports it is done moving, continuing…
[03/20/22 22:07:17.539][DEBUG][Sequence Thread][SQ;] AF is complete, continuing sequence…
[03/20/22 22:07:17.539][DEBUG][Sequence Thread][SQ;] EventMarker(4) - t:Pinwheel (0); e:0; f:19; o:
[03/20/22 22:07:17.539][DEBUG][Sequence Thread][SQ;] Setting filter position 2…
[03/20/22 22:07:17.539][DEBUG][Sequence Thread][SQ;] Filter position 2 is already set. Skipping…
[03/20/22 22:07:17.540][DEBUG][Sequence Thread][SQ;] EventMarker(5) - t:Pinwheel (0); e:0; f:19; o:
[03/20/22 22:07:17.540][DEBUG][Sequence Thread][SQ;] Checking for auto manual focus (pre)…
[03/20/22 22:07:17.540][DEBUG][Sequence Thread][SQ;] EventMarker(6) - t:Pinwheel (0); e:0; f:19; o:
[03/20/22 22:07:17.555][DEBUG][Sequence Thread][SQ;] EventMarker(7) - t:Pinwheel (0); e:0; f:19; o:
[03/20/22 22:07:17.555][DEBUG][Sequence Thread][SQ;] Resuming auto guiding…
[03/20/22 22:07:17.555][DEBUG][Sequence Thread][SQ;] EventMarker(170) - t:Pinwheel (0); e:0; f:19; o:
[03/20/22 22:07:17.555][DEBUG][Sequence Thread][SQ;] Checking PHD2 state…
[03/20/22 22:07:17.555][DEBUG][Sequence Thread][SQ;] PHD2 GetPhdStatus - Pre-Wait : Paused
[03/20/22 22:07:17.555][DEBUG][Sequence Thread][SQ;] Sending to PHD2:
{“method”: “get_app_state”, “id”: 1001}

Thx for the report. I may have an idea what caused this, but, from the logs I don’t have any way to actually tell what is happening here. In versions of SGPro 4.1.0.746 and higher, this issue will have been corrected and, in the case where I am wrong about the cause, more logging exists to assist in locating the actual cause.

Sounds good thanks Ken.