The controller must return a response (null given). Did you forget to add a return statement somewhere in your controller?