java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.kaconnect.multithreadingexample/com.example.kaconnect.multithreadingexample.MainActivity}: android.view.InflateException: Binary XML file line #60: Error inflating class android.widget.ListView

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.

  • Fix 2 crashes
    via GitHub by geecko86
    ,
  • Fix 2 crashes
    via GitHub by geecko86
    ,
  • Problem with Meizu devices
    via GitHub by robertogds
    ,
  • App Crashing due to large string array
    via Stack Overflow by zsh5032
    ,
  • GitHub comment 879#266749552
    via GitHub by marcinkosiba
    ,
    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.kaconnect.multithreadingexample/com.example.kaconnect.multithreadingexample.MainActivity}: android.view.InflateException: Binary XML file line #60: Error inflating class android.widget.ListView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2372) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2424) at android.app.ActivityThread.access$600(ActivityThread.java:162) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1364) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5400) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:837) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:604) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #60: Error inflating class android.widget.ListView at android.view.LayoutInflater.createView(LayoutInflater.java:613) at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685) at android.view.LayoutInflater.rInflate(LayoutInflater.java:746) at android.view.LayoutInflater.inflate(LayoutInflater.java:489) at android.view.LayoutInflater.inflate(LayoutInflater.java:396) at android.view.LayoutInflater.inflate(LayoutInflater.java:352) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:297) at android.app.Activity.setContentView(Activity.java:1881) at com.example.kaconnect.multithreadingexample.MainActivity.onCreate(MainActivity.java:37) at android.app.Activity.performCreate(Activity.java:5122) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1084) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2336) ... 11 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:417) at android.view.LayoutInflater.createView(LayoutInflater.java:587) ... 24 more Caused by: java.lang.ArrayIndexOutOfBoundsException: length=456; index=104202258 at android.content.res.TypedArray.getResourceId(TypedArray.java:581) at android.widget.ListView.<init>(ListView.java:187) at android.widget.ListView.<init>(ListView.java:172) at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:417) at android.view.LayoutInflater.createView(LayoutInflater.java:587) at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56) at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685) at android.view.LayoutInflater.rInflate(LayoutInflater.java:746) at android.view.LayoutInflater.inflate(LayoutInflater.java:489) at android.view.LayoutInflater.inflate(LayoutInflater.java:396) at android.view.LayoutInflater.inflate(LayoutInflater.java:352) at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:297)
    No Bugmate found.