android.content.res.Resources$NotFoundException: String resource ID #0x5

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

    Custom ListView Doesn't work

    Stack Overflow | 7 months ago | ArashSM79
    android.content.res.Resources$NotFoundException: String resource ID #0x5
  2. 0

    AndroidStudios onClick Error

    Stack Overflow | 5 months ago | jackie chen
    java.lang.IllegalStateException: Could not execute method for android:onClick
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    RuntimeException: Unable to start activity ComponentInfo, NotFoundException

    Stack Overflow | 10 months ago | y07k2
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.krystian.weatherapp/com.krystian.flowerapp.ui.DetailActivity}: android.content.res.Resources$NotFoundException: String resource ID #0x2
  5. 0

    Error when putting integer into TextView

    Stack Overflow | 10 months ago | Adir
    android.content.res.Resources$NotFoundException: String resource ID #0x1
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 #0x5

    at android.content.res.Resources.getText()
  2. Android Platform
    Resources.getText
    1. android.content.res.Resources.getText(Resources.java:286)
    1 frame
  3. Android v7
    ResourcesWrapper.getText
    1. android.support.v7.widget.ResourcesWrapper.getText(ResourcesWrapper.java:52)
    1 frame
  4. Android Platform
    TextView.setText
    1. android.widget.TextView.setText(TextView.java:4148)
    1 frame
  5. com.arashsm79.asm
    ListConfig.getView
    1. com.arashsm79.asm.mathcity.ListConfig.getView(ListConfig.java:42)
    1 frame
  6. Android Platform
    ViewGroup.layout
    1. android.widget.AbsListView.obtainView(AbsListView.java:2467)
    2. android.widget.ListView.makeAndAddView(ListView.java:1864)
    3. android.widget.ListView.fillDown(ListView.java:698)
    4. android.widget.ListView.fillFromTop(ListView.java:759)
    5. android.widget.ListView.layoutChildren(ListView.java:1673)
    6. android.widget.AbsListView.onLayout(AbsListView.java:2271)
    7. android.view.View.layout(View.java:15695)
    8. android.view.ViewGroup.layout(ViewGroup.java:4981)
    9. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1076)
    10. android.view.View.layout(View.java:15695)
    11. android.view.ViewGroup.layout(ViewGroup.java:4981)
    12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
    13. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
    14. android.view.View.layout(View.java:15695)
    15. android.view.ViewGroup.layout(ViewGroup.java:4981)
    15 frames
  7. Android v7
    ActionBarOverlayLayout.onLayout
    1. android.support.v7.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:435)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.view.View.layout(View.java:15695)
    2. android.view.ViewGroup.layout(ViewGroup.java:4981)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
    5. android.view.View.layout(View.java:15695)
    6. android.view.ViewGroup.layout(ViewGroup.java:4981)
    7. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1703)
    8. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1557)
    9. android.widget.LinearLayout.onLayout(LinearLayout.java:1466)
    10. android.view.View.layout(View.java:15695)
    11. android.view.ViewGroup.layout(ViewGroup.java:4981)
    12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:573)
    13. android.widget.FrameLayout.onLayout(FrameLayout.java:508)
    14. android.view.View.layout(View.java:15695)
    15. android.view.ViewGroup.layout(ViewGroup.java:4981)
    16. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2186)
    17. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1920)
    18. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1106)
    19. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6018)
    20. android.view.Choreographer$CallbackRecord.run(Choreographer.java:792)
    21. android.view.Choreographer.doCallbacks(Choreographer.java:596)
    22. android.view.Choreographer.doFrame(Choreographer.java:557)
    23. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:778)
    24. android.os.Handler.handleCallback(Handler.java:739)
    25. android.os.Handler.dispatchMessage(Handler.java:95)
    26. android.os.Looper.loop(Looper.java:155)
    27. android.app.ActivityThread.main(ActivityThread.java:5696)
    27 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)
    2 frames