I don't know. The weirdest thing is... I just removed my ads (because the error seemed to coincide with ad loading) and the error has moved to line 515. Here is line 515:
It looks like somewhere you are treating UIGestureRecognizerTarget as a view. Maybe you are passing the wrong "parent" type? It can be confusing with B4XPages.