You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometime app crashes after Http.request() with error. This crash not related with a specific url or data. One time request may be executed fine, another time app crashes with an error. Data does not contain any circular references.
This happens only with nativescript/core above 8.6.1
Error stack trace:
Reproduction
No response
Relevant log output (if applicable)
System.err: An uncaught Exception occurred on "main" thread.
System.err: Attempt to use cleared object reference id=7697
System.err:
System.err: StackTrace:
System.err: com.tns.NativeScriptException: Attempt to use cleared object reference id=7697
System.err: at com.tns.Runtime.getJavaObjectByID(Runtime.java:1077)
System.err: at com.tns.Runtime.callJSMethodNative(Native Method)
System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1302)
System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:1188)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1175)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1153)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:1149)
System.err: at com.tns.FragmentClass.onCreateView(FragmentClass.java:55)
System.err: at androidx.fragment.app.Fragment.performCreateView(Fragment.java:3113)
System.err: at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:524)
System.err: at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:261)
System.err: at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1901)
System.err: at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1819)
System.err: at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1762)
System.err: at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:547)
System.err: at android.os.Handler.handleCallback(Handler.java:959)
System.err: at android.os.Handler.dispatchMessage(Handler.java:100)
System.err: at android.os.Looper.loopOnce(Looper.java:232)
System.err: at android.os.Looper.loop(Looper.java:317)
System.err: at android.app.ActivityThread.main(ActivityThread.java:8705)
System.err: at java.lang.reflect.Method.invoke(Native Method)
System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:886)
TypeError: Converting circular structure to JSON
--> starting at object with constructor 'TypeSelector'| property 'ruleset' -> object with constructor 'RuleSet'| property 'selectors' -> object with constructor 'Array'
--- index 0 closes the circle
Uh oh!
There was an error while loading. Please reload this page.
Issue Description
Sometime app crashes after Http.request() with error. This crash not related with a specific url or data. One time request may be executed fine, another time app crashes with an error. Data does not contain any circular references.
This happens only with nativescript/core above 8.6.1
Error stack trace:
Reproduction
No response
Relevant log output (if applicable)
Environment
Please accept these terms
The text was updated successfully, but these errors were encountered: