Skip to content

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

@ArcherEmiya05

Description

@ArcherEmiya05

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()

Activity

changed the title [-]E/AndroidRuntime: FATAL EXCEPTION: main[/-] [+](Remote Config) E/AndroidRuntime: FATAL EXCEPTION: main[/+] on Jul 2, 2019
ArcherEmiya05

ArcherEmiya05 commented on Jul 2, 2019

@ArcherEmiya05
Author

The app close immediately without giving any details in stacktrace

samtstern

samtstern commented on Jul 3, 2019

@samtstern
Contributor

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

adrianolc

adrianolc commented on Jul 5, 2019

@adrianolc

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

ArcherEmiya05

ArcherEmiya05 commented on Jul 6, 2019

@ArcherEmiya05
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

ben-mathu commented on Jan 19, 2021

@ben-mathu

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

rugovit

rugovit commented on Jun 15, 2021

@rugovit

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @adrianolc@samtstern@rugovit@ben-mathu@google-oss-bot

        Issue actions

          (Remote Config) E/AndroidRuntime: FATAL EXCEPTION: main · Issue #902 · firebase/quickstart-android