Hey, I've come back around to this one and I'm still not reproducing it. I'm using the latest GCMA, the public store version of CGM Loop and the url you provided. I tried on both version 3.30 and 4.00 on vivoactive HR. Let me know if I'm missing something here.
Thanks,
-Coleman
Horsetooth,
Again, please let us know if anything comes up or if this firmware proves to be stable.
Thanks,
-Coleman
HI,
i use this old thread to tell you i'm experiencing the same trouble, in the simu.
Launched 3 makeWebRequest in a BG of a WF, it worked fine until i get this message(console) :
Error: Unexpected Type Error
Details: failed inside handle_json_callback
Stack:
I checked the HTTP traffic and all is ok there is the data i'm expected.
But no way to get them in the dedicated onReceive method for each makeWebRequest.
Sometimes the 3rd onReceive was ok during this bug period.
I reboot my Pc and that was the same.
After a while it seems that it's now ok. until ...?
Acted like makeWebRequest didn't fnd it's own method and crash !
using
Eclipse IDE for Java Developers
Version: Photon Release (4.8.0)
Build id: 20180619-1200
OS: Windows 10, v.10.0, x86_64 / win32
Java version: 13.0.1
CIQ 3.1.6
How are you doing the makeWebRequest calls? Are you doing 3 at the same time, or make 1, and in the callback from that, make the second?
Did what you're doing work in the past, and now stop? For Settings>Connection Type in the sim, what are you showing for BLE and Wifi?
Hi Jim,
sorry for answering late, we had big flood here yesterday (south of France)... so much rain i never saw that ...
I'm doing a first makeWebrequest, and call 2nd from 1st onReceive, 3rd from 2nd onReceive.
(I am testing too that if 2nd makeRequest has not to be call (E.g. no GPS data for weather, E.g. stock markets are closed ...) i call directly the 3rd but it's ok for that)
Yes, indeed, i did not touch anything and suddenly i had no data back in onREcevie (and HTTP traffic showed my data) and the error msg in the console.
in the settings, BLE -> connected and wifi not accessible.
I let the simu works all night long, without any error. And i'm unable to reproduce the error, that's the problem.
(I plan to call up to eight makeWebRequest and i am now a little bit afraid.
If i'll have a memory pb i'll probably do it in 2 or 3 times...)
)
Hi Jim,
I may have found what's going on :
Each time i open (Ctrl +O / FIle-> Edit Persistent Storage -> AppBase Data) while my BG is running, i get this Json handle error.
Like Json callback try to access persistent Storage that could have been flag on read only by the simu...
If you've not done so, do a bug report on this. It sounds like there might be a conflict of some sort with "edit persistent storage" and normal access to Application.Storage in the app. Make excursive file access to the files used or something.