Happy to help here, definitely not the most helpful error! Would you feel comfortable sharing a copy of your app with us Via intercom chat? It looks like this is indeed the part of the code that is causing the error but can be difficult to debug over the forums.
Hey mozer! I updated our support conversation thread as well, but this bug is high priority for us and being looked at. We will update this thread (and the support conversation) when we have some additional information for you.