Run auto focus causes Object reference not set to an instance of an object

Upgraded to 3.1.0.426 and had successful autofocus runs, then all of a sudden clicking on auto focus run gave Object reference not set to an instance of an object and SGP exit repeatedly.

focuser appeared to be moving OK under SGP/focus lock command.

Tried downgrading to 3.1.0.405 and it would just silently exit when pressing run.

I don’t recall exactly how I recovered but I know I cleaned all USB connections and rebooted.

Log files:

I’m assuming some usb issue, but it that case it would still be nice in SGP would report vs. bail out.

Thanks

This has already been addressed in 427

What do you mean with 427?
I have the same problem from time to time.
The auto focus is failing and the download of the subs are also not working then.

[01-17-20 22:40:52.225][DEBUG] [Camera Thread] Internal Interface: Set Preview…
[01-17-20 22:40:52.225][DEBUG] [Camera Thread] Display image preview using asynch task…
[01-17-20 22:40:52.400][DEBUG] [Main Thread] --> Find stars (normal)
[01-17-20 22:40:52.527][DEBUG] [Main Thread] AF frame was too large… downsample = 0,5…
[01-17-20 22:40:55.843][DEBUG] [Main Thread] Star detection using min star size of 3px…
[01-17-20 22:40:55.843][DEBUG] [Main Thread] Star detection using max star size of 60px…
[01-17-20 22:40:55.905][DEBUG] [Main Thread] Find stars took: 3504 ms…
[01-17-20 22:40:55.905][DEBUG] [Main Thread] Star list contains 51 stars…
[01-17-20 22:40:55.905][DEBUG] [Main Thread] Calculating HFR with sample size: 6
[01-17-20 22:40:56.679][DEBUG] [Camera Thread] Auto focus failed! De objectverwijzing is niet op een exemplaar van een object ingesteld.
[01-17-20 22:40:56.679][DEBUG] [Camera Thread] Auto focus (finally): closing dialog…
[01-17-20 22:40:56.708][DEBUG] [AfChartThread] AF chart dialog is closed…
[01-17-20 22:41:01.616][DEBUG] [Camera Thread] Auto focus complete…
[01-17-20 22:41:01.627][DEBUG] [Camera Thread] SGM_FOCUSER_AUTO_FOCUS complete…

3.1.0.427

Hi there,

We will need more information to be able to help. Please send us logs, SGPro and OS versions and we’ll take a look.

More information here How to Submit Logs in SGPro - SGPro Support - Main Sequence Software

Support requests go in this category SGPro Support

I adder a post in the support category with the logs