My app crashes when sometimes when I do a press the login button (especially when I press it multiple times), which performs a network request and opens a new screen. The following exception is posted:
07-27 12:17:33.578 18665-19814/com.merkator E/AndroidRuntime: FATAL EXCEPTION: Thread-40
Process: com.merkator, PID: 18665
java.lang.Error: Invalid V8 thread access.
This is the jason file of the screen with this issue: https://jasonbase.com/things/keXp
I also have it on another screen, where I have a floating action button that runs a $geo.get action, saves the returned value to a $global variable and then loads a new screen (this one: https://jasonbase.com/things/7Erl). This screen crashes sometimes after I press the button, especially when I press it multiple times. Is this a bug in the application, or am I doing something wrong?
Btw I realize that I ask a lot of questions here. I am developing an app for a customer using Jasonette and I trust/hope that it will do the job well. I am used to programming native Android apps, it's interesting to do this in a different way now. I definitely see a lot of benefits in Jasonette, but I also see some obstacles that I need to overcome (but so far that seems to go well). So, I may ask a lot now, but it is my intention to give back to the community whenever I can!
Thanks in advance for your answers and let me know if I can clarify anything