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

Stack Overflow | wxhhh729 | 6 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

    Run unit test with robolectric get Resources$NotFoundException

    Stack Overflow | 6 months ago | wxhhh729
    android.content.res.Resources$NotFoundException: String resource ID #0x7f050000
  2. 0

    Android hibernate validator -

    Stack Overflow | 7 months ago | Everton
    javax.validation.ValidationException: HV000149: An exception occurred during message interpolation
  3. 0

    Application crashes when pressed on SQLite retrieve button

    Stack Overflow | 11 months ago | Deividas Bražėnas
    android.content.res.Resources$NotFoundException: String resource ID #0x1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    "Unfortunately, app has stopped" error after adding other Cordova plugins that define anim, layout, etc.

    GitHub | 2 years ago | JonathanAquino
    java.lang.RuntimeException: Unable to resume activity {com.ning.phoenix/com.facebook.LoginActivity}: android.content.res.Resources$NotFoundException: String resource ID #0x7f080011
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 #0x7f050000

    at android.content.res.Resources.getText()
  2. Android Platform
    Context.getString
    1. android.content.res.Resources.getText(Resources.java:312)
    2. android.content.res.Resources.getString(Resources.java:400)
    3. android.content.Context.getString(Context.java:409)
    3 frames
  3. Roboelectric
    Robolectric.setupActivity
    1. org.robolectric.util.ActivityController.getActivityTitle(ActivityController.java:113)
    2. org.robolectric.util.ActivityController.attach(ActivityController.java:61)
    3. org.robolectric.util.ActivityController.of(ActivityController.java:32)
    4. org.robolectric.Robolectric.buildActivity(Robolectric.java:92)
    5. org.robolectric.Robolectric.buildActivity(Robolectric.java:88)
    6. org.robolectric.Robolectric.setupActivity(Robolectric.java:96)
    6 frames
  4. com.example.activity
    MainActivityTest.clickingLogin_shouldStartLoginActivity
    1. com.example.activity.MainActivityTest.clickingLogin_shouldStartLoginActivity(MainActivityTest.java:35)
    1 frame
  5. JUnit
    InvokeMethod.evaluate
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    4 frames
  6. Roboelectric
    RobolectricTestRunner.runChild
    1. org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:467)
    2. org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:250)
    3. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:176)
    4. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:49)
    4 frames
  7. JUnit
    ParentRunner$2.evaluate
    1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    5 frames
  8. Roboelectric
    RobolectricTestRunner$1.evaluate
    1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:142)
    1 frame
  9. JUnit
    ParentRunner.run
    1. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    1 frame
  10. JUnit4 Runner
    JUnit4TestReference.run
    1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    1 frame
  11. JUnit3 Runner
    RemoteTestRunner.main
    1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
    4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
    5 frames