android.content.res.Resources$NotFoundException: Resource ID #0x0

okky.kr | 4 months ago
  1. 0

    App crash when taking screenshot with Selendroid

    GitHub | 3 years ago | shuc
    android.content.res.Resources$NotFoundException: Resource ID #0x0
  2. 0

    App crash when taking screenshot

    GitHub | 3 years ago | shuc
    android.content.res.Resources$NotFoundException: Resource ID #0x0
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Android 5.0 crash when trying to open the app

    GitHub | 2 years ago | pittenga
    java.lang.RuntimeException: Unable to create application org.sufficientlysecure.keychain.KeychainApplication: android.content.res.Resources$NotFoundException: Resource ID #0x0
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 #0x0

    at android.content.res.Resources.getValue()
  2. Android Platform
    Resources.getDrawable
    1. android.content.res.Resources.getValue(Resources.java:2034)
    2. android.content.res.Resources.getDrawable(Resources.java:1599)
    2 frames
  3. com.example.oceanicfishdictionary
    NameSearchListAdapter.getView
    1. com.example.oceanicfishdictionary.adapter.NameSearchListAdapter.showImage(NameSearchListAdapter.java:63)
    2. com.example.oceanicfishdictionary.adapter.NameSearchListAdapter.getView(NameSearchListAdapter.java:46)
    2 frames
  4. Android Platform
    ViewGroup.measureChildWithMargins
    1. android.widget.AbsListView.obtainView(AbsListView.java:2739)
    2. android.widget.ListView.measureHeightOfChildren(ListView.java:1274)
    3. android.widget.ListView.onMeasure(ListView.java:1186)
    4. android.view.View.measure(View.java:17478)
    5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5364)
    6. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1410)
    7. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    8. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    9. android.view.View.measure(View.java:17478)
    10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5364)
    11. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1410)
    12. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    13. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    14. android.view.View.measure(View.java:17478)
    15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5364)
    16. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    17. android.view.View.measure(View.java:17478)
    18. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5364)
    18 frames
  5. Android
    ActionBarOverlayLayout.onMeasure
    1. com.android.internal.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:412)
    1 frame
  6. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:17478)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5364)
    3. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    3 frames
  7. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2548)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.view.View.measure(View.java:17478)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2267)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1396)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1595)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6591)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:805)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:605)
    9. android.view.Choreographer.doFrame(Choreographer.java:575)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:791)
    11. android.os.Handler.handleCallback(Handler.java:733)
    12. android.os.Handler.dispatchMessage(Handler.java:95)
    13. android.os.Looper.loop(Looper.java:136)
    14. android.app.ActivityThread.main(ActivityThread.java:5476)
    14 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1268)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1084)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame