java.lang.RuntimeException

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.

  • App crashes when creating new Activity
    via Stack Overflow by kapatikojoces
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.yitter.android/com.yitter.profile.UserProfileActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f040021 at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2334) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2392) at android.app.ActivityThread.access$900(ActivityThread.java:169) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5487) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099) at dalvik.system.NativeStart.main(Native Method) Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f040021 at android.content.res.Resources.getValue(Resources.java:2060) at android.content.res.Resources.loadXmlResourceParser(Resources.java:3289) at android.content.res.Resources.getLayout(Resources.java:1876) at android.view.LayoutInflater.inflate(LayoutInflater.java:396) at android.view.LayoutInflater.inflate(LayoutInflater.java:354) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140) at com.yitter.profile.UserProfileActivity.onCreate(UserProfileActivity.java:91) at android.app.Activity.performCreate(Activity.java:5451) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2298) ... 11 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Saravana Kumar ChinnarajSaravana Kumar Chinnaraj
    30 times, last one,
    dmitrydmitry
    71 times, last one,
    Sunny Kumar AdityaSunny Kumar Aditya
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    91 more bugmates