java.lang.reflect.UndeclaredThrowableException

JIRA | Harbon | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    I'm using new download mode based on share mode, XWalkView's version is 18, when long click text in xwalkVIew , app crashed. Here is crash report: ``` 03-17 17:40:00.748 30917-30917/com.lydiabox.android W/System.err: java.lang.reflect.UndeclaredThrowableException 03-17 17:40:00.748 30917-30917/com.lydiabox.android W/System.err: at $Proxy1.onWindowStartingActionMode(Unknown Source) 03-17 17:40:00.748 30917-30917/com.lydiabox.android W/System.err: at com.android.internal.policy.impl.PhoneWindow$DecorView.startActionMode(PhoneWindow.java:2699) 03-17 17:40:00.748 30917-30917/com.lydiabox.android W/System.err: at com.android.internal.policy.impl.PhoneWindow$DecorView.startActionModeForChild(PhoneWindow.java:2686) 03-17 17:40:00.748 30917-30917/com.lydiabox.android W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) 03-17 17:40:00.748 30917-30917/com.lydiabox.android W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at com.lydiabox.android.widget.cloudBoxWebView.CustomXWalkView.startActionModeForChild(CustomXWalkView.java:876) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at android.view.View.startActionMode(View.java:4881) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at org.chromium.content.browser.ContentViewCore.startDefaultActionMode(ContentViewCore.java:2244) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at org.chromium.content.browser.ContentViewCore.startActionMode(ContentViewCore.java:2240) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at org.chromium.content.browser.ContentViewCore.showSelectActionMode(ContentViewCore.java:2210) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at org.chromium.content.browser.ContentViewCore.onSelectionEvent(ContentViewCore.java:2311) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:37) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at android.os.Handler.dispatchMessage(Handler.java:102) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at android.os.Looper.loop(Looper.java:135) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5254) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at java.lang.reflect.Method.invoke(Native Method) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at java.lang.reflect.Method.invoke(Method.java:372) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: Caused by: java.lang.reflect.InvocationTargetException 03-17 17:40:00.749 30917-30917/com.lydiabox.android W/System.err: at java.lang.reflect.Method.invoke(Native Method) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: at java.lang.reflect.Method.invoke(Method.java:372) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: at org.chromium.base.ApplicationStatusManager$WindowCallbackProxy.invoke(ApplicationStatusManager.java:62) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: at java.lang.reflect.Proxy.invoke(Proxy.java:397) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: ... 29 more 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f090000 type #0x1d is not valid 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: at android.content.res.Resources.loadXmlResourceParser(Resources.java:2654) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: at android.content.res.Resources.getLayout(Resources.java:1082) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: at android.view.MenuInflater.inflate(MenuInflater.java:107) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: at org.chromium.content.browser.WebActionModeCallback.createActionMenu(WebActionModeCallback.java:153) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: at org.chromium.content.browser.WebActionModeCallback.onCreateActionMode(WebActionModeCallback.java:124) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: at com.android.internal.policy.impl.PhoneWindow$DecorView$ActionModeCallbackWrapper.onCreateActionMode(PhoneWindow.java:3279) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: at android.support.v7.view.SupportActionModeWrapper$CallbackWrapper.onCreateActionMode(SupportActionModeWrapper.java:155) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: at android.support.v7.app.AppCompatDelegateImplV7$ActionModeCallbackWrapperV7.onCreateActionMode(AppCompatDelegateImplV7.java:1695) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: at android.support.v7.app.AppCompatDelegateImplV7.startSupportActionModeFromWindow(AppCompatDelegateImplV7.java:759) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: at android.support.v7.app.AppCompatDelegateImplV7.startSupportActionMode(AppCompatDelegateImplV7.java:653) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: at android.support.v7.app.AppCompatDelegateImplV14$AppCompatWindowCallbackV14.startAsSupportActionMode(AppCompatDelegateImplV14.java:74) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: at android.support.v7.app.AppCompatDelegateImplV14$AppCompatWindowCallbackV14.onWindowStartingActionMode(AppCompatDelegateImplV14.java:58) 03-17 17:40:00.750 30917-30917/com.lydiabox.android W/System.err: ... 33 more 03-17 17:40:00.775 30917-30917/com.lydiabox.android A/chromium: [FATAL:jni_android.cc(249)] Check failed: false. Please include Java exception stack in crash report 03-17 17:40:00.874 31529-30917/? A/google-breakpad: -----BEGIN BREAKPAD MICRODUMP----- 03-17 17:40:00.874 31529-30917/? A/google-breakpad: V WebView:46.0.2490.76 03-17 17:40:00.874 31529-30917/? A/google-breakpad: O A arm 04 armv7l google/hammerhead/hammerhead:5.1/LMY47D/1743759:user/release-keys 03-17 17:40:00.874 31529-30917/? A/google-breakpad: S 0 BEA961A8 BEA96000 00002000 03-17 17:40:00.885 31529-30917/? A/google-breakpad: S BEA96000 743A09303030303030303230303030393466380A436170496E683A093030303030303030303030303030303 ``` It crashed when actionMode start. How can I fix this?

    JIRA | 11 months ago | Harbon
    java.lang.reflect.UndeclaredThrowableException
  2. 0

    populating spinner with an array using xml

    Stack Overflow | 2 years ago | aam_dev
    android.content.res.Resources$NotFoundException: Resource ID #0x7f070000
  3. 0

    UPDATED: Android: java.lang.RuntimeException: Unable to start activity ComponentInfo

    Stack Overflow | 5 years ago | NickyMilton
    android.content.res.Resources$NotFoundException: Resource ID #0x7f080001 type #0x12 is not valid
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    error: androidmanifest.xml file missing --> What am i missing?

    Stack Overflow | 4 years ago | The Dark Knight
    android.content.res.Resources$NotFoundException: Resource ID #0x2
  6. 0

    Why my android app crashes with "Unfortunately myapp stopped" error?

    Stack Overflow | 4 years ago | Крис Беров
    android.content.res.Resources$NotFoundException: Resource ID #0x1

    1 unregistered visitors
    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

      Resource ID #0x7f090000 type #0x1d is not valid

      at android.content.res.Resources.loadXmlResourceParser()
    2. Android Platform
      MenuInflater.inflate
      1. android.content.res.Resources.loadXmlResourceParser(Resources.java:2654)
      2. android.content.res.Resources.getLayout(Resources.java:1082)
      3. android.view.MenuInflater.inflate(MenuInflater.java:107)
      3 frames
    3. org.chromium.content
      WebActionModeCallback.onCreateActionMode
      1. org.chromium.content.browser.WebActionModeCallback.createActionMenu(WebActionModeCallback.java:153)
      2. org.chromium.content.browser.WebActionModeCallback.onCreateActionMode(WebActionModeCallback.java:124)
      2 frames
    4. Android
      PhoneWindow$DecorView$ActionModeCallbackWrapper.onCreateActionMode
      1. com.android.internal.policy.impl.PhoneWindow$DecorView$ActionModeCallbackWrapper.onCreateActionMode(PhoneWindow.java:3279)
      1 frame
    5. Android v7
      AppCompatDelegateImplV14$AppCompatWindowCallbackV14.onWindowStartingActionMode
      1. android.support.v7.view.SupportActionModeWrapper$CallbackWrapper.onCreateActionMode(SupportActionModeWrapper.java:155)
      2. android.support.v7.app.AppCompatDelegateImplV7$ActionModeCallbackWrapperV7.onCreateActionMode(AppCompatDelegateImplV7.java:1695)
      3. android.support.v7.app.AppCompatDelegateImplV7.startSupportActionModeFromWindow(AppCompatDelegateImplV7.java:759)
      4. android.support.v7.app.AppCompatDelegateImplV7.startSupportActionMode(AppCompatDelegateImplV7.java:653)
      5. android.support.v7.app.AppCompatDelegateImplV14$AppCompatWindowCallbackV14.startAsSupportActionMode(AppCompatDelegateImplV14.java:74)
      6. android.support.v7.app.AppCompatDelegateImplV14$AppCompatWindowCallbackV14.onWindowStartingActionMode(AppCompatDelegateImplV14.java:58)
      6 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.chromium.base
      ApplicationStatusManager$WindowCallbackProxy.invoke
      1. org.chromium.base.ApplicationStatusManager$WindowCallbackProxy.invoke(ApplicationStatusManager.java:62)
      1 frame
    8. Java RT
      Proxy.invoke
      1. java.lang.reflect.Proxy.invoke(Proxy.java:397)
      1 frame
    9. Unknown
      $Proxy1.onWindowStartingActionMode
      1. $Proxy1.onWindowStartingActionMode(Unknown Source)
      1 frame
    10. Android
      PhoneWindow$DecorView.startActionModeForChild
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.startActionMode(PhoneWindow.java:2699)
      2. com.android.internal.policy.impl.PhoneWindow$DecorView.startActionModeForChild(PhoneWindow.java:2686)
      2 frames
    11. Android Platform
      ViewGroup.startActionModeForChild
      1. android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700)
      2. android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700)
      3. android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700)
      4. android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700)
      5. android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700)
      6. android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700)
      7. android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700)
      8. android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700)
      9. android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700)
      10. android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700)
      10 frames
    12. com.lydiabox.android
      CustomXWalkView.startActionModeForChild
      1. com.lydiabox.android.widget.cloudBoxWebView.CustomXWalkView.startActionModeForChild(CustomXWalkView.java:876)
      1 frame
    13. Android Platform
      View.startActionMode
      1. android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700)
      2. android.view.View.startActionMode(View.java:4881)
      2 frames
    14. org.chromium.content
      ContentViewCore.onSelectionEvent
      1. org.chromium.content.browser.ContentViewCore.startDefaultActionMode(ContentViewCore.java:2244)
      2. org.chromium.content.browser.ContentViewCore.startActionMode(ContentViewCore.java:2240)
      3. org.chromium.content.browser.ContentViewCore.showSelectActionMode(ContentViewCore.java:2210)
      4. org.chromium.content.browser.ContentViewCore.onSelectionEvent(ContentViewCore.java:2311)
      4 frames
    15. org.chromium.base
      SystemMessageHandler.handleMessage
      1. org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
      2. org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:37)
      2 frames
    16. 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:5254)
      3 frames
    17. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    18. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
      2 frames