java.lang.RuntimeException: Unable to start activity ComponentInfo{domainName.com.bubbletranslate/domainName.com.bubbletranslate.activity.PreferenceActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class java.lang.reflect.Constructor

Stack Overflow | redrom | 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: cannot start activity with ListPreference in Layout

    Stack Overflow | 7 months ago | redrom
    java.lang.RuntimeException: Unable to start activity ComponentInfo{domainName.com.bubbletranslate/domainName.com.bubbletranslate.activity.PreferenceActivity}: android.view.InflateException: Binary XML file line #12: Error inflating class java.lang.reflect.Constructor
  2. 0

    My Preferencescreen is not working on a real device

    Stack Overflow | 11 months ago | diya
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sushanta.reminderpwd/com.sushanta.reminderpwd.ActivityPref}: android.view.InflateException: Binary XML file line #41: Error inflating class java.lang.reflect.Constructor
  3. 0

    ListPreference causing inflate error on PreferenceActivity

    Stack Overflow | 3 years ago | Dpedrinha
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ListPreference tag causes my app to crash

    Stack Overflow | 9 months ago | Tamer Ahmad Gomaa
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sano.tamer.androidsettings/com.sano.tamer.androidsettings.SettingsActivity}: android.view.InflateException: Binary XML file line #14: Error inflating class java.lang.reflect.Constructor

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at android.content.res.AssetManager.getResourceTextArray()
    2. Android Platform
      ListPreference.<init>
      1. android.content.res.AssetManager.getResourceTextArray(AssetManager.java:215)
      2. android.content.res.Resources.getTextArray(Resources.java:448)
      3. android.content.res.TypedArray.getTextArray(TypedArray.java:629)
      4. android.preference.ListPreference.<init>(ListPreference.java:51)
      4 frames
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      2 frames
    4. Android Platform
      PreferenceFragment.addPreferencesFromResource
      1. android.preference.GenericInflater.createItem(GenericInflater.java:383)
      2. android.preference.GenericInflater.onCreateItem(GenericInflater.java:417)
      3. android.preference.GenericInflater.createItemFromTag(GenericInflater.java:428)
      4. android.preference.GenericInflater.rInflate(GenericInflater.java:481)
      5. android.preference.GenericInflater.inflate(GenericInflater.java:326)
      6. android.preference.GenericInflater.inflate(GenericInflater.java:263)
      7. android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:272)
      8. android.preference.PreferenceFragment.addPreferencesFromResource(PreferenceFragment.java:285)
      8 frames
    5. domainName.com.bubbletranslate
      PreferenceActivity$Display.onCreate
      1. domainName.com.bubbletranslate.activity.PreferenceActivity$Display.onCreate(PreferenceActivity.java:31)
      1 frame
    6. Android Platform
      Activity.onCreate
      1. android.app.Fragment.performCreate(Fragment.java:1678)
      2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:859)
      3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
      4. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1044)
      5. android.app.FragmentManagerImpl.dispatchCreate(FragmentManager.java:1848)
      6. android.app.Activity.onCreate(Activity.java:902)
      6 frames
    7. Android Support v4
      FragmentActivity.onCreate
      1. android.support.v4.app.BaseFragmentActivityDonut.onCreate(BaseFragmentActivityDonut.java:41)
      2. android.support.v4.app.FragmentActivity.onCreate(FragmentActivity.java:315)
      2 frames
    8. Android v7
      AppCompatActivity.onCreate
      1. android.support.v7.app.AppCompatActivity.onCreate(AppCompatActivity.java:85)
      1 frame
    9. domainName.com.bubbletranslate
      PreferenceActivity.onCreate
      1. domainName.com.bubbletranslate.activity.PreferenceActivity.onCreate(PreferenceActivity.java:17)
      1 frame
    10. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5231)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
      5. android.app.ActivityThread.handleRelaunchActivity(ActivityThread.java:3738)
      6. android.app.ActivityThread.access$900(ActivityThread.java:135)
      7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1202)
      8. android.os.Handler.dispatchMessage(Handler.java:102)
      9. android.os.Looper.loop(Looper.java:136)
      10. android.app.ActivityThread.main(ActivityThread.java:5017)
      10 frames
    11. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    12. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
      2 frames
    13. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame