java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: android.content.res.Resources$NotFoundException: String resource ID #0x7f05002d

JIRA | zhangxiaoyu | 2 months ago
  1. 0

    Impacted Cases ============== tct-extra-html5-tests/window_alert_base tct-extra-html5-tests/window_confirm_base tct-extra-html5-tests/window_prompt_base wrt-securitymanu-tests/ Crosswalk_WebApp_Certificate_Trusted Crosswalk_WebApp_Certificate_Trusted_ReInstall Crosswalk_WebApp_Certificate_Untrusted_ReInstall Crosswalk_WebApp_Certificate_Untrusted_ReOpen Crosswalk_WebApp_Certificate_Trusted_ReOpen Crosswalk_WebApp_Certificate_Untrusted webmanu-system-android-tests/ Crosswalk_Cookie_reopen Crosswalk_Cookie_kill Crosswalk_Cookie_upgrade Crosswalk_Cookie_restart usecase-wrt-android-tests/ SSLCertificate CopyPasteNative OpenFile VideoPlay WebAppHWKey usecase-embedding-android-tests/ XWalkViewWithSaveState XWalkViewWithSaveStateAsync XWalkViewWithFindText XWalkViewWithFindTextAsync XWalkViewWithSessionStorage XWalkViewWithSessionStorageAsync XWalkViewSettingSaveFormData XWalkViewSettingSaveFormDataAsync XWalkCopyTextWithSilentDownload XWalkCopyTextWithSilentDownload-LZMA embedding-api-android-tests/ v7.XWalkViewTest v5.CookieManagerTest v6.XWalkViewTest embedding-asyncapi-android-tests/ v5.CookieManagerTestAsync v6.XWalkViewTestAsync v7.XWalkViewTestAsync Reproduce Test Steps ==================== {code}Pre-condition: 1. Download from https://download.01.org/crosswalk/releases/crosswalk/android/canary/23.52.575.0/x86_64/crosswalk-apks-23.52.575.0-x86_64.zip 2.uncompress crosswalk-apks-23.52.575.0-x86_64.zip and install XWalkRuntimeLib.apk. {code} 1. Download from https://download.01.org/crosswalk/releases/crosswalk/android/canary/23.52.575.0/crosswalk-23.52.575.0-64bit.zip 2. Build the apk using the command: {code}mkdir /tmp/123;crosswalk-pkg -c /home/neusoft/00_test/crosswalk_zip_cache/crosswalk-23.52.575.0-64bit.zip --manifest='{"name":"extra","xwalk_package_id":"org.xwalk.extra","start_url":"http://wts.crosswalk-project.org/tests/extra/browsers/bdd/window_alert_base-manual.html"}' -p android -a shared -t x86_64 /tmp/123{code} 3. Install the apk and launch app 4. Press 'alert' button Expected Outcome ================ No crash happens when press 'alert' button. Actual Outcome ============== Crash happens when press 'alert' button. Test Case Source Code ===================== ||Type ||URL|| | source code in github| https://github.com/crosswalk-project/crosswalk-test-suite/blob/master/webapi/tct-extra-html5-tests/browsers/bdd/window_alert_base-manual.html | | wts url | http://wts.crosswalk-project.org/tests/extra/browsers/bdd/window_alert_base-manual.html | Test Builds =========== ||Version||Test Date|| Test Device || Result || |Canary 23.52.574.0|2016.09.22| XiaoMi pad 2| {color:green}PASS{color} | |Canary 23.52.575.0|2016.09.28|Xiaomi Pad 2| {color:red}Crash{color} | Issue Analysis ============== This issue happens on both embedded and shared mode, but more in shared mode error log: {code} E/chromium(29029): [ERROR:xwalk_autofill_client.cc(121)] Not implemented reached in virtual void xwalk::XWalkAutofillClient::OnFirstUserGestureObserved() W/ResourceType(29029): For resource 0x7f05002d, entry index(45) is beyond type entryCount(30) W/ResourceType(29029): Failure getting entry for 0x7f05002d (t=4 e=45) (error -75) W/System.err(29029): java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: android.content.res.Resources$NotFoundException: String resource ID #0x7f05002d W/System.err(29029): at org.xwalk.core.internal.ReflectMethod.invoke(ReflectMethod.java:67) W/System.err(29029): at org.xwalk.core.internal.XWalkUIClientBridge.onJavascriptModalDialog(XWalkUIClientBridge.java:205) W/System.err(29029): at org.xwalk.core.internal.XWalkUIClientBridge.onJavascriptModalDialog(XWalkUIClientBridge.java:195) W/System.err(29029): at org.xwalk.core.internal.XWalkContentsClientBridge.handleJsAlert(XWalkContentsClientBridge.java:746) W/System.err(29029): at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method) W/System.err(29029): at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39) W/System.err(29029): at android.os.Handler.dispatchMessage(Handler.java:102) W/System.err(29029): at android.os.Looper.loop(Looper.java:135) W/System.err(29029): at android.app.ActivityThread.main(ActivityThread.java:5271) W/System.err(29029): at java.lang.reflect.Method.invoke(Native Method) W/System.err(29029): at java.lang.reflect.Method.invoke(Method.java:372) W/System.err(29029): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:909) W/System.err(29029): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:704) W/System.err(29029): Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: android.content.res.Resources$NotFoundException: String resource ID #0x7f05002d W/System.err(29029): at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:67) W/System.err(29029): at org.xwalk.core.XWalkUIClient.onJavascriptModalDialog(XWalkUIClient.java:250) W/System.err(29029): at java.lang.reflect.Method.invoke(Native Method) W/System.err(29029): at java.lang.reflect.Method.invoke(Method.java:372) W/System.err(29029): at org.xwalk.core.internal.ReflectMethod.invoke(ReflectMethod.java:61) W/System.err(29029): ... 12 more W/System.err(29029): Caused by: java.lang.RuntimeException: java.lang.RuntimeException: android.content.res.Resources$NotFoundException: String resource ID #0x7f05002d W/System.err(29029): at org.xwalk.core.internal.ReflectMethod.invoke(ReflectMethod.java:67) W/System.err(29029): at org.xwalk.core.internal.XWalkUIClientBridge.onJsAlert(XWalkUIClientBridge.java:444) W/System.err(29029): at org.xwalk.core.internal.XWalkUIClientBridge.onJsAlert(XWalkUIClientBridge.java:434) W/System.err(29029): at org.xwalk.core.internal.XWalkUIClientInternal.onJavascriptModalDialog(XWalkUIClientInternal.java:175) W/System.err(29029): at org.xwalk.core.internal.XWalkUIClientBridge.onJavascriptModalDialogSuper(XWalkUIClientBridge.java:211) W/System.err(29029): at java.lang.reflect.Method.invoke(Native Method) W/System.err(29029): at java.lang.reflect.Method.invoke(Method.java:372) W/System.err(29029): at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:61) W/System.err(29029): ... 16 more W/System.err(29029): Caused by: java.lang.RuntimeException: android.content.res.Resources$NotFoundException: String resource ID #0x7f05002d W/System.err(29029): at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:67) W/System.err(29029): at org.xwalk.core.XWalkUIClient.onJsAlert(XWalkUIClient.java:501) W/System.err(29029): at java.lang.reflect.Method.invoke(Native Method) W/System.err(29029): at java.lang.reflect.Method.invoke(Method.java:372) W/System.err(29029): at org.xwalk.core.internal.ReflectMethod.invoke(ReflectMethod.java:61) W/System.err(29029): ... 23 more W/System.err(29029): Caused by: android.content.res.Resources$NotFoundException: String resource ID #0x7f05002d W/System.err(29029): at android.content.res.Resources.getText(Resources.java:311) W/System.err(29029): at android.content.res.MiuiResources.getText(MiuiResources.java:123) W/System.err(29029): at android.content.res.Resources.getString(Resources.java:397) W/System.err(29029): at android.content.Context.getString(Context.java:377) W/System.err(29029): at org.xwalk.core.internal.XWalkUIClientInternal.onJsAlert(XWalkUIClientInternal.java:414) W/System.err(29029): at org.xwalk.core.internal.XWalkUIClientBridge.onJsAlertSuper(XWalkUIClientBridge.java:450) W/System.err(29029): at java.lang.reflect.Method.invoke(Native Method) W/System.err(29029): at java.lang.reflect.Method.invoke(Method.java:372) W/System.err(29029): at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:61) W/System.err(29029): ... 27 more F/chromium(29029): [FATAL:jni_android.cc(236)] Please include Java exception stack in crash report F/chromium(29029): --------- beginning of crash F/libc (29029): Fatal signal 6 (SIGABRT), code -6 in tid 29029 (org.xwalk.extra) I/DEBUG ( 2405): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** {code}

    JIRA | 2 months ago | zhangxiaoyu
    java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: android.content.res.Resources$NotFoundException: String resource ID #0x7f05002d
  2. 0

    Android hibernate validator -

    Stack Overflow | 3 months ago | Everton
    javax.validation.ValidationException: HV000149: An exception occurred during message interpolation
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    "Unfortunately, app has stopped" error after adding other Cordova plugins that define anim, layout, etc.

    GitHub | 2 years ago | JonathanAquino
    java.lang.RuntimeException: Unable to resume activity {com.ning.phoenix/com.facebook.LoginActivity}: android.content.res.Resources$NotFoundException: String resource ID #0x7f080011
  5. 0

    Demo: android.content.res.Resources$NotFoundException

    GitHub | 3 years ago | gabrielemariotti
    android.content.res.Resources$NotFoundException: String resource ID #0x0

  1. Benny 48 times, last 4 months ago
  2. Ranjana Dangol 2 times, last 5 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. android.content.res.Resources$NotFoundException

    String resource ID #0x7f05002d

    at android.content.res.Resources.getText()
  2. Android Platform
    Context.getString
    1. android.content.res.Resources.getText(Resources.java:311)
    2. android.content.res.MiuiResources.getText(MiuiResources.java:123)
    3. android.content.res.Resources.getString(Resources.java:397)
    4. android.content.Context.getString(Context.java:377)
    4 frames
  3. org.xwalk.core
    XWalkUIClientBridge.onJsAlertSuper
    1. org.xwalk.core.internal.XWalkUIClientInternal.onJsAlert(XWalkUIClientInternal.java:414)
    2. org.xwalk.core.internal.XWalkUIClientBridge.onJsAlertSuper(XWalkUIClientBridge.java:450)
    2 frames
  4. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  5. org.xwalk.core
    XWalkUIClient.onJsAlert
    1. org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:61)
    2. org.xwalk.core.XWalkUIClient.onJsAlert(XWalkUIClient.java:501)
    2 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  7. org.xwalk.core
    XWalkUIClientBridge.onJavascriptModalDialogSuper
    1. org.xwalk.core.internal.ReflectMethod.invoke(ReflectMethod.java:61)
    2. org.xwalk.core.internal.XWalkUIClientBridge.onJsAlert(XWalkUIClientBridge.java:444)
    3. org.xwalk.core.internal.XWalkUIClientBridge.onJsAlert(XWalkUIClientBridge.java:434)
    4. org.xwalk.core.internal.XWalkUIClientInternal.onJavascriptModalDialog(XWalkUIClientInternal.java:175)
    5. org.xwalk.core.internal.XWalkUIClientBridge.onJavascriptModalDialogSuper(XWalkUIClientBridge.java:211)
    5 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  9. org.xwalk.core
    XWalkUIClient.onJavascriptModalDialog
    1. org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:61)
    2. org.xwalk.core.XWalkUIClient.onJavascriptModalDialog(XWalkUIClient.java:250)
    2 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  11. org.xwalk.core
    XWalkContentsClientBridge.handleJsAlert
    1. org.xwalk.core.internal.ReflectMethod.invoke(ReflectMethod.java:61)
    2. org.xwalk.core.internal.XWalkUIClientBridge.onJavascriptModalDialog(XWalkUIClientBridge.java:205)
    3. org.xwalk.core.internal.XWalkUIClientBridge.onJavascriptModalDialog(XWalkUIClientBridge.java:195)
    4. org.xwalk.core.internal.XWalkContentsClientBridge.handleJsAlert(XWalkContentsClientBridge.java:746)
    4 frames
  12. org.chromium.base
    SystemMessageHandler.handleMessage
    1. org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
    2. org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39)
    2 frames
  13. Android Platform
    ActivityThread.main
    1. android.os.Handler.dispatchMessage(Handler.java:102)
    2. android.os.Looper.loop(Looper.java:135)
    3. android.app.ActivityThread.main(ActivityThread.java:5271)
    3 frames
  14. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  15. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:909)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:704)
    2 frames