This error means that at some point we're using a ensure that a value is non-null with ! when it's actually null.
!
But it doesn't seem to come from the code you're giving us.
Could you use a breakpoint with the debugger to see the exact line?