Debugging data field

Hi,

I'm trying to debug my data field, but am having problems. I downloaded the new SDK v.1.1.2 and ran my field on the simulator: it works fine.
I then side-loaded the field on my Fenix3 through the "Build project for device" option in Eclipse. Whenever I run the Bike app I'm presented with the CIQ crash symbol (with exclamation mark). I looked up the CIQ_LOG.txt and it contains the following:

@PC = 0x100003CB
@PC = 0x100006F2
TVM ERROR:
Unexpected Type Error
Failed invoking <symbol>


Interestingly it does load the data field when I go through Settings --> Apps --> Bike --> Data Fields --> Screen 1 --> Layout
Also, the field used to work on SDK 1.1.1; the problems started after updating to 1.1.2

Any ideas as to what the problem could be and/or how do I proceed from here?

Thanks in advance!
  • if onUpdate() is called before compute() has been called secElaps will be null and not a string.

    where you have var secElaps; try var secElaps=""; or set it to "" in initialize().


    Thanks so much! Everything is running buttery smooth with no errors in the log :) So happy :cool: