Here is a log output when the it locked while motion was still active. I had to use trace to see the motion changing. You can see the motion goes inactive after the door locked.
app:7172021-07-27 03:23:18.306 pm traceTest Auto Lock: motionDurationDeviceHandler: inactive
app:7172021-07-27 03:23:17.178 pm traceTest Auto Lock: updateLabel
app:7172021-07-27 03:23:17.046 pm traceTest Auto Lock: Sending Event Notification: Front Door Lock State was locked
app:7172021-07-27 03:23:17.043 pm debugTest Auto Lock: Front Door Lock State was locked
app:7172021-07-27 03:23:17.037 pm traceTest Auto Lock: updateLabel
app:7172021-07-27 03:23:17.032 pm traceTest Auto Lock: lock1LockHandler: locked
app:7172021-07-27 03:23:16.935 pm debugTest Auto Lock: Lock command sent
app:7172021-07-27 03:23:16.919 pm traceTest Auto Lock: lock1Lock
app:7172021-07-27 03:22:41.845 pm traceTest Auto Lock: motionDurationDeviceHandler: active
app:7172021-07-27 03:22:34.588 pm traceTest Auto Lock: motionDurationDeviceHandler: inactive
app:7172021-07-27 03:22:17.958 pm traceTest Auto Lock: motionDurationDeviceHandler: active
app:7172021-07-27 03:22:11.920 pm traceTest Auto Lock: Next retry in 5 seconds. Retries remaining: = 3
app:7172021-07-27 03:22:11.888 pm debugTest Auto Lock: Locking door in 1 minutes.
app:7172021-07-27 03:22:11.884 pm traceTest Auto Lock: lockDoor
app:7172021-07-27 03:22:11.736 pm traceTest Auto Lock: updateLabel
app:7172021-07-27 03:22:11.654 pm traceTest Auto Lock: Sending Event Notification: Front Door Lock State was unlocked [digital]
app:7172021-07-27 03:22:11.651 pm debugTest Auto Lock: Front Door Lock State was unlocked [digital]
app:7172021-07-27 03:22:11.648 pm traceTest Auto Lock: lock1UnlockHandler: unlocked
app:7172021-07-27 03:21:46.768 pm traceTest Auto Lock: motionDurationDeviceHandler: inactive
It seems like the cause of the null pointer exception was not missing notification devices as I still got it when I had a notification device selected. I think it might have to do with this August Lock and Door Sense driver that I use on one of my locks. I only get the error when that lock is selected.
It is also available on HPM, but understand if that might be an issue with this driver and not something you are prepared to support. I appreciate the all the effort here.