java.lang.reflect.UndeclaredThrowableException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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?
    via by Harbon,
  • populating spinner with an array using xml
    via Stack Overflow by aam_dev
    ,
  • GitHub comment 43#7093153
    via GitHub by craigj
    ,
  • force close when inflate layout
    via Stack Overflow by user2446281
    ,
  • Populate Spinner with String Array
    via Stack Overflow by Freestyle076
    ,
  • Invalid JSON response from PHP?
    via Stack Overflow by i_me_mine
    ,
    • java.lang.reflect.UndeclaredThrowableException at $Proxy1.onWindowStartingActionMode(Unknown Source) at com.android.internal.policy.impl.PhoneWindow$DecorView.startActionMode(PhoneWindow.java:2699) at com.android.internal.policy.impl.PhoneWindow$DecorView.startActionModeForChild(PhoneWindow.java:2686) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) at com.lydiabox.android.widget.cloudBoxWebView.CustomXWalkView.startActionModeForChild(CustomXWalkView.java:876) at android.view.ViewGroup.startActionModeForChild(ViewGroup.java:700) at android.view.View.startActionMode(View.java:4881) at org.chromium.content.browser.ContentViewCore.startDefaultActionMode(ContentViewCore.java:2244) at org.chromium.content.browser.ContentViewCore.startActionMode(ContentViewCore.java:2240) at org.chromium.content.browser.ContentViewCore.showSelectActionMode(ContentViewCore.java:2210) at org.chromium.content.browser.ContentViewCore.onSelectionEvent(ContentViewCore.java:2311) at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method) at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:37) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at org.chromium.base.ApplicationStatusManager$WindowCallbackProxy.invoke(ApplicationStatusManager.java:62) at java.lang.reflect.Proxy.invoke(Proxy.java:397) ... 29 more Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f090000 type #0x1d is not valid at android.content.res.Resources.loadXmlResourceParser(Resources.java:2654) at android.content.res.Resources.getLayout(Resources.java:1082) at android.view.MenuInflater.inflate(MenuInflater.java:107) at org.chromium.content.browser.WebActionModeCallback.createActionMenu(WebActionModeCallback.java:153) at org.chromium.content.browser.WebActionModeCallback.onCreateActionMode(WebActionModeCallback.java:124) at com.android.internal.policy.impl.PhoneWindow$DecorView$ActionModeCallbackWrapper.onCreateActionMode(PhoneWindow.java:3279) at android.support.v7.view.SupportActionModeWrapper$CallbackWrapper.onCreateActionMode(SupportActionModeWrapper.java:155) at android.support.v7.app.AppCompatDelegateImplV7$ActionModeCallbackWrapperV7.onCreateActionMode(AppCompatDelegateImplV7.java:1695) at android.support.v7.app.AppCompatDelegateImplV7.startSupportActionModeFromWindow(AppCompatDelegateImplV7.java:759) at android.support.v7.app.AppCompatDelegateImplV7.startSupportActionMode(AppCompatDelegateImplV7.java:653) at android.support.v7.app.AppCompatDelegateImplV14$AppCompatWindowCallbackV14.startAsSupportActionMode(AppCompatDelegateImplV14.java:74) at android.support.v7.app.AppCompatDelegateImplV14$AppCompatWindowCallbackV14.onWindowStartingActionMode(AppCompatDelegateImplV14.java:58) ... 33 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,