Skip to content
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

(Remote Config) E/AndroidRuntime: FATAL EXCEPTION: main #902

Open
ArcherEmiya05 opened this issue Jul 2, 2019 · 6 comments
Open

(Remote Config) E/AndroidRuntime: FATAL EXCEPTION: main #902

ArcherEmiya05 opened this issue Jul 2, 2019 · 6 comments

Comments

@ArcherEmiya05
Copy link

ArcherEmiya05 commented Jul 2, 2019

Step 1: Describe your environment

  • Android device: Xperia XA1
  • Android OS version: 8.0.0
  • Google Play Services version: 4.3.0
  • Firebase/Play Services SDK version: 18.0.0

Step 2: Describe the problem:

Steps to reproduce:

(Offline only) App crash whenever the device is not connected to internet.

Observed Results:

E/AndroidRuntime: FATAL EXCEPTION: main

Relevant Code:

Calling fetch() or fetchAndActivate() inside onResume()

@ArcherEmiya05 ArcherEmiya05 changed the title E/AndroidRuntime: FATAL EXCEPTION: main (Remote Config) E/AndroidRuntime: FATAL EXCEPTION: main Jul 2, 2019
@ArcherEmiya05
Copy link
Author

The app close immediately without giving any details in stacktrace

@samtstern
Copy link
Contributor

@ArcherEmiya05 can you provide some logs from logcat that show the crash? There should be some evidence in there.

@adrianolc
Copy link

Same thing for me and there's no stacktrace :(

@ArcherEmiya05
Copy link
Author

@ArcherEmiya05 can you provide some logs from logcat that show the crash? There should be some evidence in there.

Thats all the what it says in logcat on 3 devices that I've tested.

E/AndroidRuntime: FATAL EXCEPTION: main
Process: package.name, PID: XXXX

Also I tried it on different device LG K10 K430dsy and Cherry Mobile J5s. All crash when device is not connected to a network. So my work around as of now is to check whether the app is connected to any network before calling fetch() or fetchAndActivate()

@ben-mathu
Copy link

Any updates on this issue? Did you find a solution?

@rugovit
Copy link

rugovit commented Jun 15, 2021

happens on my app as well, no stacktrace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants