Skip to content

InterruptedException at com.firebase.ui.firestore.paging.FirestorePagingSource.lambda$loadSingle$0(FirestorePagingSource.java)Β #2008

Open
@marceh

Description

@marceh

Hi! I hope I'm in the right place. I've posted my problem on stackoverflow but I'm wondering if there is a problem with the library or not. It might be my code, but it started to happen after updating to the latest FirebaseUI-Android.

Describe your environment

  • Android device: 11 different Samsungs,
    motorola edge 20 pro, Lenovo TAB 2 A10-30
  • Android OS version: 11, 10, 6.0.1
  • Google Play Services version: com.google.android.gms:play-services-base:17.6.0
  • Firebase/Play Services SDK version: com.google.firebase:firebase-firestore:23.0.4com.firebaseui:firebase-ui-firestore:8.0.0
  • FirebaseUI version: com.firebaseui:firebase-ui-firestore:8.0.0

Step 3: Describe the problem:

I've posted my problem on stackoverflow.

Steps to reproduce:

I'm having lots of trouble reproducing the issue. It only happens to about 2 of 100 users and I don't know how to trigger a InterruptedException. Can't read in the documentation if and where I should catch it.

Observed Results:

I've posted all logs on stackoverflow

Also, if I skip the .setLifecycleOwner(mainActivity) (which says it's optional) the app crash with:
Attempt to invoke interface method 'androidx.lifecycle.Lifecycle androidx.lifecycle.LifecycleOwner.getLifecycle()' on a null object reference com.firebase.ui.firestore.paging.FirestorePagingOptions$Builder.setQuery (FirestorePagingOptions.java:168).

Expected Results:

Expected the code not to crash, worked fine before updating FirebaseUI-Android.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions