question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

FirebaseRemoteConfig Unknown Error: 'long com.google.android.gms.internal.config.j.b()' on a null object reference

See original GitHub issue

I received this error log in a FirebaseRemoteConfig.

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method ‘long com.google.android.gms.internal.config.j.b()’ on a null object reference at com.google.android.gms.internal.config.zzan.run(Unknown Source) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:762)

The problem is I cant find a way to reproduce this error. But I’m sure this is FirebaseRemoteConfig error after I found the class “zzan” in the firebase-config library.

I tried to update the gradle and plugin version but the error keeps showing in the crahslytics.

The libs: implementation 'com.google.firebase:firebase-core:16.0.3' implementation 'com.google.firebase:firebase-config:16.0.0' implementation 'com.google.gms:google-services:4.0.1' implementation 'com.google.android.gms:play-services-plus:15.0.1'

classpath 'com.android.tools.build:gradle:3.1.4' classpath 'com.google.gms:google-services:4.0.1' distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
ShrutiSarrafcommented, Mar 14, 2019

@samtstern

It is our most occurring crash. By when can we expect this one to get fixed? Also, is there any work around to avoid this?

We are unable to reproduce it at our end. These are the logs from Crashlytics.

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'long com.google.android.gms.internal.config.j.b()' on a null object reference
       at com.google.android.gms.internal.config.zzan.run(Unknown Source)
       at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
       at java.lang.Thread.run(Thread.java:818)
0reactions
google-oss-botcommented, Feb 8, 2020

Since there haven’t been any recent updates here, I am going to close this issue.

@fikrirazzaq if you’re still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

'long com.google.android.gms.internal.config.j.b()' on a null ...
I received this error log in a FirebaseRemoteConfig. Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'long ...
Read more >
firebase - FirebaseRemoteConfig.getInstance crashes with ...
getInstance is called during Application.onCreate and it worked fine on all previous versions. Build: implementation "com.google.firebase: ...
Read more >
nullPointerException in com.google.android.gms.internal ...
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'long com.google.android.gms.internal.config.j.b()' on a null object ...
Read more >
Get started with Firebase Remote Config - Google
This object is used to store in-app default parameter values, fetch updated parameter values from the Remote Config backend, and control when fetched...
Read more >
Transparent clock weather Pro 0.99.20.06 [Paid].apk
Submit malware for free analysis with Falcon Sandbox and Hybrid Analysis technology. Hybrid Analysis develops and licenses analysis tools to fight malware.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found