Welcome, Guest

Author Topic: Assert failure  (Read 904 times)

ellishawn

  • Posts: 12
    • View Profile
Assert failure
« on: April 14, 2017, 04:30:55 AM »
We are seeing this failure:

LogCoherentUIGT:Error: Assert failure: Attempting to use inactive binder object for view  0
LogCoherentUIGT:Error: Attempting to use inactive binder object for view

But we can't quite tell what is causing it.  Any thoughts on what we might be doing wrong?

Fa

  • Posts: 7
    • View Profile
Re: Assert failure
« Reply #1 on: January 08, 2018, 03:00:05 AM »
Hello,

I have the same issue, did you find what was going wrong ?

thanks

Tony

  • Administrator
  • *****
  • Posts: 33
    • View Profile
Re: Assert failure
« Reply #2 on: January 08, 2018, 06:31:44 AM »
Hey Fa,

The assert "Attempting to use inactive binder object for view" is triggered when an attempt for C++ to JS communication (or vice versa) is made before the "OnReadyForBindings" event has been raised up. You have to ensure that the "OnReadyForBindings" is called so that the View is ready to accept JavaScript bindings.

Hope this helps.

Tony,
Support Engineer at Coherent Labs

Tags: