I can confirm that /vis/scene/add/trajectories smooth works. Please try that rather than got to /tracking/storeTrajectory directly.
But…that might not help. I do not understand why step->GetPointerToVectorOfAuxiliaryPoints() returns a null pointer.
Please continue to dig and we will solve this.