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

Stack Overflow | DanaCh | 7 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

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

    Stack Overflow | 7 months ago | DanaCh
    android.content.res.Resources$NotFoundException: Resource ID #0x0
  2. 0

    Android Studio Resources$NotFoundException: Resource ID #0x0

    Stack Overflow | 11 months ago | JMiller
    java.lang.IllegalStateException: Could not execute method for android:onClick
  3. 0

    App crash when taking screenshot with Selendroid

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

    Automated exception search integrated into your IDE

  5. 0

    App crash when taking screenshot

    GitHub | 3 years ago | shuc
    android.content.res.Resources$NotFoundException: Resource ID #0x0
  6. 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:1351)
    2. android.content.res.Resources.getDrawable(Resources.java:804)
    2 frames
  3. com.example.danac
    CardView.onDraw
    1. com.example.danac.cards.CardView.setCardImage(CardView.java:51)
    2. com.example.danac.cards.CardView.onDraw(CardView.java:65)
    2 frames
  4. Android Platform
    View.draw
    1. android.view.View.draw(View.java:16178)
    2. android.view.View.updateDisplayListIfDirty(View.java:15174)
    3. android.view.View.draw(View.java:15948)
    4. android.view.ViewGroup.drawChild(ViewGroup.java:3609)
    5. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
    6. android.view.View.updateDisplayListIfDirty(View.java:15169)
    7. android.view.View.draw(View.java:15948)
    8. android.view.ViewGroup.drawChild(ViewGroup.java:3609)
    9. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
    10. android.view.View.updateDisplayListIfDirty(View.java:15169)
    11. android.view.View.draw(View.java:15948)
    12. android.view.ViewGroup.drawChild(ViewGroup.java:3609)
    13. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
    14. android.view.View.draw(View.java:16181)
    15. android.view.View.updateDisplayListIfDirty(View.java:15174)
    16. android.view.View.draw(View.java:15948)
    17. android.view.ViewGroup.drawChild(ViewGroup.java:3609)
    18. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
    19. android.view.View.updateDisplayListIfDirty(View.java:15169)
    20. android.view.View.draw(View.java:15948)
    21. android.view.ViewGroup.drawChild(ViewGroup.java:3609)
    22. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
    23. android.view.View.updateDisplayListIfDirty(View.java:15169)
    24. android.view.View.draw(View.java:15948)
    25. android.view.ViewGroup.drawChild(ViewGroup.java:3609)
    26. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
    27. android.view.View.updateDisplayListIfDirty(View.java:15169)
    28. android.view.View.draw(View.java:15948)
    29. android.view.ViewGroup.drawChild(ViewGroup.java:3609)
    30. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
    31. android.view.View.updateDisplayListIfDirty(View.java:15169)
    32. android.view.View.draw(View.java:15948)
    33. android.view.ViewGroup.drawChild(ViewGroup.java:3609)
    34. android.view.ViewGroup.dispatchDraw(ViewGroup.java:3399)
    35. android.view.View.draw(View.java:16181)
    35 frames
  5. Android
    PhoneWindow$DecorView.draw
    1. com.android.internal.policy.PhoneWindow$DecorView.draw(PhoneWindow.java:2690)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.view.View.updateDisplayListIfDirty(View.java:15174)
    2. android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:281)
    3. android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:287)
    4. android.view.ThreadedRenderer.draw(ThreadedRenderer.java:322)
    5. android.view.ViewRootImpl.draw(ViewRootImpl.java:2615)
    6. android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2434)
    7. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2067)
    8. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
    9. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)
    10. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
    11. android.view.Choreographer.doCallbacks(Choreographer.java:670)
    12. android.view.Choreographer.doFrame(Choreographer.java:606)
    13. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
    14. android.os.Handler.handleCallback(Handler.java:739)
    15. android.os.Handler.dispatchMessage(Handler.java:95)
    16. android.os.Looper.loop(Looper.java:148)
    17. android.app.ActivityThread.main(ActivityThread.java:5417)
    17 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames