XCP sync fails with 'NoneType' object has no attribute 'type'
Applies to
- ONTAP 9
- XCP 1.9.4
Issue
XCP 1.9.4 sync job fails with the error:xcp compare batches failed
31042 xcp (31042) <class 'sync.CompareBatch'> Failed.Traceback (most recent call last): File "sched.pyx", line 1113, in sched.childStartsHere File "sched.pyx", line 870, in sched.Engine.wait File "sched.pyx", line 825, in sched.Engine.wait File "sched.pyx", line 579, in sched.Engine._waitloop0 File "sched.pyx", line 667, in sched.Engine._runTasks File "sched.pyx", line 651, in sched.Engine._runTasks File "sched.pyx", line 1700, in sched.Task.run File "diff.py", line 1516, in gCompareAttributeError: 'NoneType' object has no attribute 'type'2025-10-22 19:09:35,910 - WARNING - 16014 xcp compare batches gcm: compare batches failed2025-10-22 19:09:35,917 - INFO - 16014 xcp compare batches CPU: count 4, load avg (1/5/15m) 4.2, 4.4, 5.12025-10-22 19:09:35,917 - INFO - 16014 xcp compare batches System memory (GiB): avail 21.1, total 31.1, free 16.2, buffer 0.0, cache 4.92025-10-22 19:09:35,920 - ERROR - 16014 xcp xcp compare batches: 'NoneType' object has no attribute 'type'