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.

Resources$NotFoundException: String resource via ChangeLog.getDialog

See original GitHub issue

I noticed a few occurrences of the following error being reported in the Google Developer Console of my app. I am using version 1.2.2 of the library.

I am able to reproduce the crash with an Android emulator API level 21, 5.0.2, Google APIs Intel x86 Atom_64 System Image, Revision 31.

Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x2040002
    at android.content.res.Resources.getText(Resources.java:274)
    at android.content.res.Resources.getString(Resources.java:360)
    at com.android.org.chromium.content.browser.ContentViewCore.setContainerView(ContentViewCore.java:702)
    at com.android.org.chromium.content.browser.ContentViewCore.initialize(ContentViewCore.java:608)
    at com.android.org.chromium.android_webview.AwContents.createAndInitializeContentViewCore(AwContents.java:619)
    at com.android.org.chromium.android_webview.AwContents.setNewAwContents(AwContents.java:758)
    at com.android.org.chromium.android_webview.AwContents.<init>(AwContents.java:608)
    at com.android.org.chromium.android_webview.AwContents.<init>(AwContents.java:546)
    at com.android.webview.chromium.WebViewChromium.initForReal(WebViewChromium.java:312)
    at com.android.webview.chromium.WebViewChromium.access$100(WebViewChromium.java:97)
    at com.android.webview.chromium.WebViewChromium$1.run(WebViewChromium.java:264)
    at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.drainQueue(WebViewChromium.java:124)
    at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue$1.run(WebViewChromium.java:111)
    at com.android.org.chromium.base.ThreadUtils.runOnUiThread(ThreadUtils.java:144)
    at com.android.webview.chromium.WebViewChromium$WebViewChromiumRunQueue.addTask(WebViewChromium.java:108)
    at com.android.webview.chromium.WebViewChromium.init(WebViewChromium.java:261)
    at android.webkit.WebView.<init>(WebView.java:548)
    at android.webkit.WebView.<init>(WebView.java:483)
    at android.webkit.WebView.<init>(WebView.java:466)
    at android.webkit.WebView.<init>(WebView.java:453)
    at android.webkit.WebView.<init>(WebView.java:443)
    at de.cketti.library.changelog.ChangeLog.getDialog(ChangeLog.java:287)
    at de.cketti.library.changelog.ChangeLog.getLogDialog(ChangeLog.java:265)
    at de.avpptr.umweltzone.base.BaseActivity.showChangeLogDialog(BaseActivity.java:174)
    at de.avpptr.umweltzone.map.MainActivity.onCreate(MainActivity.java:58)
    at android.app.Activity.performCreate(Activity.java:5937)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)
    ... 10 more

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
cketticommented, May 9, 2020

See https://issuetracker.google.com/issues/141351441

Doesn’t crash in K-9 Mail because we’re using AppCompat 1.2.0-beta01. It does crash when I switch to AppCompat 1.1.0.

Side note: Testing this revealed that there’s a vector drawable in K-9 Mail’s About screen layout that will crash on Android 5 🙈

0reactions
johnjohndoecommented, May 9, 2020

Side note: I checked on Android 5.1. No crash there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · cketti/ckChangeLog · GitHub
ckChangeLog - An Android Library to display a Change Log - Issues ... Resources$NotFoundException: String resource via ChangeLog.getDialog.
Read more >
android.content.res.Resources$NotFoundException: String ...
Notice that the variable I'm using is an Integer and I'm assigning it to the text field of the TextView. Since the TextView...
Read more >
android.content.res.Resources$NotFoundException: String ...
Resources$NotFoundException : String resource ID #0x7f0c0013. It works just fine when empty: package com.teamtreehouse.testingbase; ...
Read more >
Diff - platform/frameworks/support - Google Git
String ); - method public int update(android.net. ... Resources.NotFoundException; + method public static android.content.res.ColorStateList?
Read more >
ResourceNotFoundException just after WebView is inflated ...
Resources$NotFoundException : String resource ID #0x7e09005a ... I'm using this windows bash script to run sample in --local-testing mode.
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