FirebaseRemoteConfig: Persisted config file was not found

1,915 views
Skip to first unread message

Ali asjad

unread,
Feb 4, 2020, 11:03:27 AM2/4/20
to Firebase Google Group
I am using firebase remote config in my app and in logs, I am seeing this message with a non-fatal crash.
remote config is working fine but I don't know why this crash is showing up.
It only appears when I install the app the first time. After that, I am not seeing this.

I am using this dependency:
implementation 'com.google.firebase:firebase-config:19.1.1'

2020-02-04 14:17:19.168 31897-31935/x.y.z D/FirebaseRemoteConfig: Persisted config file was not found.
    java.io.FileNotFoundException: /data/user/0/x.y.z/files/persisted_config (No such file or directory)
        at java.io.FileInputStream.open0(Native Method)
        at java.io.FileInputStream.open(FileInputStream.java:200)
        at java.io.FileInputStream.<init>(FileInputStream.java:150)
        at android.app.ContextImpl.openFileInput(ContextImpl.java:515)
        at android.content.ContextWrapper.openFileInput(ContextWrapper.java:189)
        at com.google.firebase.remoteconfig.internal.LegacyConfigsHandler.readPersistedConfig(com.google.firebase:firebase-config@@19.0.3:339)
        at com.google.firebase.remoteconfig.internal.LegacyConfigsHandler.getConvertedLegacyConfigs(com.google.firebase:firebase-config@@19.0.3:196)
        at com.google.firebase.remoteconfig.internal.LegacyConfigsHandler.saveLegacyConfigsIfNecessary(com.google.firebase:firebase-config@@19.0.3:151)
        at com.google.firebase.remoteconfig.RemoteConfigComponent$$Lambda$4.call(Unknown Source:2)
        at com.google.android.gms.tasks.zzv.run(Unknown Source:2)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
        at java.lang.Thread.run(Thread.java:764)

Allan Woellner

unread,
Feb 15, 2020, 4:48:04 PM2/15/20
to Firebase Google Group
I have the same issue:

2020/02/15 13:50:56.839 8163 8207 Debug FirebaseRemoteConfig: Persisted config file was not found.
2020/02/15 13:50:56.839 8163 8207 Debug FirebaseRemoteConfig: java.io.FileNotFoundException: /data/user/0/com.*****.*****/files/persisted_config (No such file or directory)
2020/02/15 13:50:56.839 8163 8207 Debug FirebaseRemoteConfig: at java.io.FileInputStream.open0(Native Method)
2020/02/15 13:50:56.839 8163 8207 Debug FirebaseRemoteConfig: at java.io.FileInputStream.open(FileInputStream.java:200)
2020/02/15 13:50:56.839 8163 8207 Debug FirebaseRemoteConfig: at java.io.FileInputStream.<init>(FileInputStream.java:150)
2020/02/15 13:50:56.839 8163 8207 Debug FirebaseRemoteConfig: at android.app.ContextImpl.openFileInput(ContextImpl.java:520)
2020/02/15 13:50:56.839 8163 8207 Debug FirebaseRemoteConfig: at android.content.ContextWrapper.openFileInput(ContextWrapper.java:200)
2020/02/15 13:50:56.839 8163 8207 Debug FirebaseRemoteConfig: at com.google.firebase.remoteconfig.internal.p.c(Unknown Source:12)
2020/02/15 13:50:56.839 8163 8207 Debug FirebaseRemoteConfig: at com.google.firebase.remoteconfig.internal.p.b(Unknown Source:0)
2020/02/15 13:50:56.839 8163 8207 Debug FirebaseRemoteConfig: at com.google.firebase.remoteconfig.internal.p.a(Unknown Source:12)
2020/02/15 13:50:56.839 8163 8207 Debug FirebaseRemoteConfig: at com.google.firebase.remoteconfig.q.call(Unknown Source:2)
2020/02/15 13:50:56.839 8163 8207 Debug FirebaseRemoteConfig: at com.google.android.gms.tasks.w.run(Unknown Source:4)
2020/02/15 13:50:56.839 8163 8207 Debug FirebaseRemoteConfig: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
2020/02/15 13:50:56.839 8163 8207 Debug FirebaseRemoteConfig: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
2020/02/15 13:50:56.839 8163 8207 Debug FirebaseRemoteConfig: at java.lang.Thread.run(Thread.java:764)

Reply all
Reply to author
Forward
0 new messages