-
Notifications
You must be signed in to change notification settings - Fork 44
Unable to read a property on method 'trackTiming #42
Comments
Same here, though I only seem to get it when I call timing: ArgumentError: Unable to read a property on method 'TrackData:trackTiming'. Code:
No issue with IEventBuilder |
Any idea!? |
It sort of seems to be an issue with the initialization of the ANE. These calls all work if you call them later in the app, but I was calling mine somewhat early-on. I haven't been able to pin down what the "cut-off" period is, however. |
sorry guys for the delay, i will need to do some tests to verify it but i was just looking at the code and i can say you two things:
i'll get back to you as soon as i can run some tests |
Sorry, I'm developing for both platforms at once, so I didn't think to specify. I tried it this morning and it worked 100% fine on Android. Will publish on iOS now (always a longer process) and see what's up. |
Ok, got it to happen again on iOS. Looks like the duration passed was huge (coding issue on my end). So I guess null or values that are too large can cause this: code: |
would the duration number be bigger than the int limit? 2,147,483,647? I added a story on trello to keep track of it https://trello.com/c/9u7f8zOK/34-change-timing-traker-api-to-use-int-to-avoid-conversion-issues-with-big-numbers |
Looks like its a new compiler problem. When i remove useLegacyAOT and package, dont have any error and it works. Thanks |
oh yeah, it could be, the AOT compiler is not very reliable yet i'm not planning to give AOT official support until it's stable but i'll stick a new story to some tests with it. thanks for pointing it out |
It shouldn't ever be that big, that was an error in my code. I've now put a check before any calls to stop any big numbers from going in should they happen. Thanks again! Sent from my iPhone
|
Having this error: Unable to read a property on method 'trackTiming'
Flash Builder 4.7 + Air 4.0 - iOS
Any idea!?
Thanks
The text was updated successfully, but these errors were encountered: