-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Session(this) causing FatalException on Redmi Note 7 #1197
Comments
Unfortunately, this error is not complete. |
Here's the whole stack trace: Fatal Exception: java.lang.RuntimeException:Unable to resume activity {com.example.name/com.example.name.MyActivity}: com.google.ar.core.exceptions.FatalException Caused by com.google.ar.core.exceptions.FatalException:Caused by com.google.ar.core.exceptions.FatalException ReferenceQueueDaemon:ReferenceQueueDaemon TcmReceiver:TcmReceiver FinalizerWatchdogDaemon:FinalizerWatchdogDaemon Crashlytics Exception Handler1:Crashlytics Exception Handler1 Timer-0:Timer-0 GLThread 115660:GLThread 115660 firebase-installations-executor-2:firebase-installations-executor-2 Okio Watchdog:Okio Watchdog ScionFrontendApi:ScionFrontendApi pool-4-thread-1:pool-4-thread-1 firebase-installations-executor-1:firebase-installations-executor-1 grpc-shared-destroyer-0:grpc-shared-destroyer-0 awaitEvenIfOnMainThread task continuation executor1:awaitEvenIfOnMainThread task continuation executor1 FinalizerDaemon:FinalizerDaemon Measurement Worker:Measurement Worker AsyncTask #2:AsyncTask #2 GoogleApiHandler:GoogleApiHandler queued-work-looper:queued-work-looper magnifier pixel copy result handler:magnifier pixel copy result handler OkHttp ConnectionPool:OkHttp ConnectionPool com.google.firebase.crashlytics.startup1:com.google.firebase.crashlytics.startup1 |
The native stack trace should look something like this in #1054. |
Sorry, there's no native stack trace 😞. I need to enable native crash reporting for the next build. |
I'll keep an eye on internal reports in the meantime. |
Same Issue: Caused by com.google.ar.core.exceptions.FatalException 90% of the time the issue is on Redmi Note 7 Pro Device Is this fixed or any suggestion to fix this? |
SPECIFIC ISSUE ENCOUNTERED
User has issues with initializing ARCore session using Xiaomi Redmi Note 7. Information is from Firebase Crashlytics.
Crash stack-trace:
Caused by com.google.ar.core.exceptions.FatalException
at java.lang.reflect.Constructor.newInstance0(Constructor.java)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at com.google.ar.core.Session.throwExceptionFromArStatus(Session.java:16)
at com.google.ar.core.Session.nativeCreateSessionAndWrapperWithFeatures(Session.java)
at com.google.ar.core.Session.(Session.java:11)
at com.google.ar.core.Session.(Session.java:4)
at com.example.name.MyFragment.createSession(MyFragment.kt:609)
at com.example.name.MyFragment.onResume(MyFragment.kt:430)
at androidx.fragment.app.Fragment.performResume(Fragment.java:2649)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:922)
at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303)
at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManagerImpl.java:2659)
at androidx.fragment.app.FragmentManagerImpl.dispatchResume(FragmentManagerImpl.java:2625)
at androidx.fragment.app.FragmentController.dispatchResume(FragmentController.java:268)
at androidx.fragment.app.FragmentActivity.onResumeFragments(FragmentActivity.java:479)
at androidx.fragment.app.FragmentActivity.onPostResume(FragmentActivity.java:468)
at androidx.appcompat.app.AppCompatActivity.onPostResume(AppCompatActivity.java:204)
at android.app.Activity.performResume(Activity.java:8080)
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4269)
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4311)
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2047)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:224)
at android.app.ActivityThread.main(ActivityThread.java:7590)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
VERSIONS USED
Android Studio: 4.1.2, Build #AI-201.8743.12.41.7042882
ARCore SDK for Android: com.google.ar:core:1.22.0
Device manufacturer, model, and O/S: Xiaomi Redmi Note 7, Android 10
Google Play Services for AR (ARCore): App is ARCore required (manifest), ARCore SDK install and Camera permissions are requested and required before use.
STEPS TO REPRODUCE THE ISSUE
WORKAROUNDS (IF ANY)
ADDITIONAL COMMENTS
The text was updated successfully, but these errors were encountered: