java.lang.RuntimeException: Unable to start activity ComponentInfo{com.raj.androidapplication/com.raj.androidapplication.LoginPrefActivity}: android.view.InflateException: Binary XML file line #25: Error inflating class java.lang.reflect.Constructor at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2335) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2397) at android.app.ActivityThread.access$800(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1310) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5268) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:697) Caused by: android.view.InflateException: Binary XML file line #25: Error inflating class java.lang.reflect.Constructor at android.preference.GenericInflater.createItem(GenericInflater.java:397) at android.preference.GenericInflater.onCreateItem(GenericInflater.java:417) at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:428) at android.preference.GenericInflater.rInflate(GenericInflater.java:481) at android.preference.GenericInflater.rInflate(GenericInflater.java:493) at android.preference.GenericInflater.inflate(GenericInflater.java:326) at android.preference.GenericInflater.inflate(GenericInflater.java:263) at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:272) at android.preference.PreferenceActivity.addPreferencesFromResource(PreferenceActivity.java:1513) at com.raj.androidapplication.LoginPrefActivity.onCreate(LoginPrefActivity.java:13) at android.app.Activity.performCreate(Activity.java:6033) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2288) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2397)

  1. 0

    Android Studio- Multiple Implementations issue at android:id

    Stack Overflow | 4 months ago | Radhika chetpally
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.raj.androidapplication/com.raj.androidapplication.LoginPrefActivity}: android.view.InflateException: Binary XML file line #25: Error inflating class java.lang.reflect.Constructor at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2335) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2397) at android.app.ActivityThread.access$800(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1310) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5268) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:697) Caused by: android.view.InflateException: Binary XML file line #25: Error inflating class java.lang.reflect.Constructor at android.preference.GenericInflater.createItem(GenericInflater.java:397) at android.preference.GenericInflater.onCreateItem(GenericInflater.java:417) at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:428) at android.preference.GenericInflater.rInflate(GenericInflater.java:481) at android.preference.GenericInflater.rInflate(GenericInflater.java:493) at android.preference.GenericInflater.inflate(GenericInflater.java:326) at android.preference.GenericInflater.inflate(GenericInflater.java:263) at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:272) at android.preference.PreferenceActivity.addPreferencesFromResource(PreferenceActivity.java:1513) at com.raj.androidapplication.LoginPrefActivity.onCreate(LoginPrefActivity.java:13) at android.app.Activity.performCreate(Activity.java:6033) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2288) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2397)
  2. 0

    android browse images failure delivering result error

    Stack Overflow | 5 years ago | jonny
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=Intent { dat=content://media/external/images/media/73 }} to activity {ianco.test.andrei/ianco.test.andrei.BrowsePicture}: java.lang.NullPointerException 12-24 14:19:40.537: E/AndroidRuntime(5892): at android.app.ActivityThread.deliverResults(ActivityThread.java:2553) 12-24 14:19:40.537: E/AndroidRuntime(5892): at android.app.ActivityThread.handleSendResult(ActivityThread.java:2595) 12-24 14:19:40.537: E/AndroidRuntime(5892): at android.app.ActivityThread.access$2000(ActivityThread.java:121) 12-24 14:19:40.537: E/AndroidRuntime(5892): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:973)
  3. 0

    Failure delivering ResultInfo

    GitHub | 2 years ago | grassick
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=1, result=-1, data=null} to activity {co.mwater.clientapp/co.mwater.clientapp.mWater}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Pass extra intent after capturing image from camera

    Stack Overflow | 2 years ago | Ronak Patel
    java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=0, result=-1, data=null} to activity {com.example.android.navigationdrawerexample/com.example.android.mtesapp.EditProfileActivity}: java.lang.NullPointerException
  6. 0

    application crashed on orientation change

    Stack Overflow | 4 years ago | user1778855
    java.lang.RuntimeException: Unable to start activity ComponentInfo{..../....Music}: java.lang.NullPointerException

  1. mhicauber 2 times, last 1 week ago
  2. dealloc 1 times, last 1 week ago
  3. Indri Yunita 16 times, last 16 hours ago
  4. bmacedo 1 times, last 3 weeks ago
  5. Alexandru Popa 91 times, last 2 weeks ago
76 more registered users
19 unregistered visitors
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. java.lang.RuntimeException

    Unable to start activity ComponentInfo{com.raj.androidapplication/com.raj.androidapplication.LoginPrefActivity}: android.view.InflateException: Binary XML file line #25: Error inflating class java.lang.reflect.Constructor at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2335) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2397) at android.app.ActivityThread.access$800(ActivityThread.java:151) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1310) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5268) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:697) Caused by: android.view.InflateException: Binary XML file line #25: Error inflating class java.lang.reflect.Constructor at android.preference.GenericInflater.createItem(GenericInflater.java:397) at android.preference.GenericInflater.onCreateItem(GenericInflater.java:417) at android.preference.GenericInflater.createItemFromTag(GenericInflater.java:428) at android.preference.GenericInflater.rInflate(GenericInflater.java:481) at android.preference.GenericInflater.rInflate(GenericInflater.java:493) at android.preference.GenericInflater.inflate(GenericInflater.java:326) at android.preference.GenericInflater.inflate(GenericInflater.java:263) at android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:272) at android.preference.PreferenceActivity.addPreferencesFromResource(PreferenceActivity.java:1513) at com.raj.androidapplication.LoginPrefActivity.onCreate(LoginPrefActivity.java:13) at android.app.Activity.performCreate(Activity.java:6033) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2288) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2397)

    at android.app.ActivityThread.access$800()
  2. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.access$800(ActivityThread.java:151)
    2. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1310)
    3. android.os.Handler.dispatchMessage(Handler.java:102)
    4. android.os.Looper.loop(Looper.java:135)
    5. android.app.ActivityThread.main(ActivityThread.java:5268)
    5 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  4. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:697)
    2 frames