I got some strange errors from ERA that I am not able to understand:
Error Name: Unexpected Type Error
Devices:
Edge 1030: 10.20
App Versions: 0.7.0
Backtrace:
SmartBikeLightsView.onTap:482
SmartBikeLightsView.onTap:482
SmartBikeLightsView.onTap:482
SmartBikeLightsView.onTap:482
SmartBikeLightsView.onTap:482
SmartBikeLightsView.onUpdate:291
Error Name: Array Out Of Bounds Error
Devices:
Edge Explore: 5.30
App Versions: 0.7.0
Backtrace:
SmartBikeLightsView.onTap:482
SmartBikeLightsView.onTap:482
SmartBikeLightsView.onTap:482
SmartBikeLightsView.onTap:482
SmartBikeLightsView.onTap:482
SmartBikeLightsView.onUpdate:291
Error Name: Unhandled Exception
Devices:
Edge 830: 6.20
Edge 1030: 11.00
App Versions: 0.7.0
Backtrace:
SmartBikeLightsView.onTap:482
SmartBikeLightsView.onTap:482
SmartBikeLightsView.onTap:482
SmartBikeLightsView.onUpdate:291
SmartBikeLightsView.onTap method is only called in SmartBikeLightsViewDelegate.onTap method, which is called when the user taps on the data field. From the above backtraces, it shows that the method is called from onUpdate, which is incorrect as at line 291 a different method is called. The other strange thing is that onTap seems to be called recursively from the backtraces which is again incorrect as line 482 contains "return true". Unfortunately I am not able to reproduce the issue neither in the simulator or on my Edge 1000, so any help would be appreciated, thanks.