Used trace before the parms was set, which gave an NPE