Not sure if the issue is related to the BitSet
latest changes, but I’ve started getting errors on each fireChanged()
call in my viewer:
JS loaded: https://dev.datagrok.ai/api/packages/published/files/Pedometer/0.1/package.js?a5534500-cddb-54b1-b7c9-de2b9608f02a
js_primitives.dart:30 JS loaded: https://dev.datagrok.ai/api/packages/published/files/Pedometer/0.1/detectors.js
js_primitives.dart:30 TypeError: _PedometerPackage.stepCounterCondition is not a function
at run (eval at <anonymous> (command.dart:319), <anonymous>:3:47)
at Module.u (functions.js:38)
at grok_api.dart:208
at _wrapJsFunctionForAsync_closure.$protected (async_patch.dart:213)
at _wrapJsFunctionForAsync_closure.dart._wrapJsFunctionForAsync_closure.call$2 (async_patch.dart:237)
at _awaitOnObject_closure.dart._awaitOnObject_closure.call$1 (async_patch.dart:187)
at StaticClosure.dart._rootRunUnary (zone.dart:1128)
at _CustomZone.runUnary$2 (zone.dart:1012)
at _Future__propagateToListeners_handleValueCallback.call$0 (future_impl.dart:129)
at Object._Future__propagateToListeners (future_impl.dart:665)
at _Future._complete$1 (future_impl.dart:468)
at _SyncCompleter.dart._SyncCompleter.complete$1 (future_impl.dart:51)
at Object._asyncReturn (async_patch.dart:164)
at grok_api.dart:181
at _wrapJsFunctionForAsync_closure.$protected (async_patch.dart:213)
at _wrapJsFunctionForAsync_closure.dart._wrapJsFunctionForAsync_closure.call$2 (async_patch.dart:237)
at _awaitOnObject_closure.dart._awaitOnObject_closure.call$1 (async_patch.dart:187)
at StaticClosure.dart._rootRunUnary (zone.dart:1128)
at _CustomZone.runUnary$2 (zone.dart:1012)
at _Future__propagateToListeners_handleValueCallback.call$0 (future_impl.dart:129)
at Object._Future__propagateToListeners (future_impl.dart:665)
at _Future._complete$1 (future_impl.dart:468)
at _SyncCompleter.dart._SyncCompleter.complete$1 (future_impl.dart:51)
at Object._asyncReturn (async_patch.dart:164)
at grok_api.dart:175
at _wrapJsFunctionForAsync_closure.$protected (async_patch.dart:213)
at _wrapJsFunctionForAsync_closure.dart._wrapJsFunctionForAsync_closure.call$2 (async_patch.dart:237)
at _awaitOnObject_closure.dart._awaitOnObject_closure.call$1 (async_patch.dart:187)
at StaticClosure.dart._rootRunUnary (zone.dart:1128)
at _CustomZone.runUnary$2 (zone.dart:1012)
at _Future__propagateToListeners_handleValueCallback.call$0 (future_impl.dart:129)
at Object._Future__propagateToListeners (future_impl.dart:665)
at _Future._complete$1 (future_impl.dart:468)
at _SyncCompleter.dart._SyncCompleter.complete$1 (future_impl.dart:51)
at Object._asyncReturn (async_patch.dart:164)
at grok_api.dart:168
at _wrapJsFunctionForAsync_closure.$protected (async_patch.dart:213)
at _wrapJsFunctionForAsync_closure.dart._wrapJsFunctionForAsync_closure.call$2 (async_patch.dart:237)
at _awaitOnObject_closure.dart._awaitOnObject_closure.call$1 (async_patch.dart:187)
at StaticClosure.dart._rootRunUnary (zone.dart:1128)
at _CustomZone.runUnary$2 (zone.dart:1012)
at _Future__propagateToListeners_handleValueCallback.call$0 (future_impl.dart:129)
at Object._Future__propagateToListeners (future_impl.dart:665)
at _Future._completeWithValue$1 (future_impl.dart:478)
at _Future__asyncComplete_closure.dart._Future__asyncComplete_closure.call$0 (future_impl.dart:510)
at StaticClosure.dart._rootRun (zone.dart:1120)
at _CustomZone.dart._CustomZone.run$1 (zone.dart:1001)
at _CustomZone.runGuarded$1 (zone.dart:901)
at _CustomZone_bindCallback_closure.dart._CustomZone_bindCallback_closure.call$0 (zone.dart:926)
at Object._microtaskLoop (schedule_microtask.dart:41)
at StaticClosure.dart._startMicrotaskLoop (schedule_microtask.dart:50)
at _AsyncRun__initializeScheduleImmediate_internalCallback.dart._AsyncRun__initializeScheduleImmediate_internalCallback.call$1 (async_patch.dart:51)
at invokeClosure_closure0.call$0 (js_helper.dart:2456)
at _IsolateContext.eval$1 (isolate_helper.dart:474)
at Object._callInIsolate (isolate_helper.dart:59)
at dart.invokeClosure (js_helper.dart:2456)
at MutationObserver.<anonymous> (js_helper.dart:2476)
js_primitives.dart:30 Error evaluating stepCounterCondition(t): NoSuchMethodError: method not found: 'stepCounterCondition' (_PedometerPackage.stepCounterCondition is not a function)