It was using a method before it was defined, which did not show up in unit tests.
Attach a file by drag & drop or click to upload