UserView
s have a method called draw
, but you are not meant to invoke it. It works sometimes, but calling it from other points in the code will throw this error. Don't use it. To redraw your UserView, use a refresh
message instead.
This will throw a similar error for anything in your drawFunc
.