java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.frank.listview_test/com.example.frank.listview_test.MainActivity}: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: Error inflating class fragment

  1. 0

    Working With Fragments: `Error inflating class fragment`

    Stack Overflow | 4 months ago | Frank Palmasani
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.frank.listview_test/com.example.frank.listview_test.MainActivity}: android.view.InflateException: Binary XML file line #14: Binary XML file line #14: Error inflating class fragment
  2. 0

    Unable to Retrieve Json

    Stack Overflow | 2 years ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object reference
  3. 0

    NullPointerException navigationDrawer and tabs in android

    Stack Overflow | 1 year ago | Dusan Dimitrijevic
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.dusandimitrijevic.spisakzakupovinu/com.dusandimitrijevic.spisakzakupovinu.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object reference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problème de listAdapter

    developpez.net | 1 year ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object reference
  6. 0

    Proguard issues: Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object reference

    Stack Overflow | 1 year ago | Yuriy Yunikov
    java.lang.RuntimeException: Unable to start activity ComponentInfo{ua.yyunikov.fc/ua.yyunikov.fc.ui.activities.RatesActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object reference

    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.NullPointerException

      Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object reference

      at com.example.frank.listview_test.MainActivity$TestListFragment.onCreateView()
    2. com.example.frank
      MainActivity$TestListFragment.onCreateView
      1. com.example.frank.listview_test.MainActivity$TestListFragment.onCreateView(MainActivity.java:37)
      1 frame
    3. Android Platform
      Activity.onCreateView
      1. android.app.Fragment.performCreateView(Fragment.java:2281)
      2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:954)
      3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1141)
      4. android.app.FragmentManagerImpl.addFragment(FragmentManager.java:1245)
      5. android.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2218)
      6. android.app.FragmentController.onCreateView(FragmentController.java:98)
      7. android.app.Activity.onCreateView(Activity.java:6070)
      7 frames
    4. Android Support v4
      FragmentActivity.onCreateView
      1. android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView(BaseFragmentActivityHoneycomb.java:36)
      2. android.support.v4.app.FragmentActivity.onCreateView(FragmentActivity.java:75)
      2 frames
    5. Android Platform
      LayoutInflater.inflate
      1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:766)
      2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716)
      3. android.view.LayoutInflater.rInflate(LayoutInflater.java:847)
      4. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:527)
      6. android.view.LayoutInflater.inflate(LayoutInflater.java:429)
      7. android.view.LayoutInflater.inflate(LayoutInflater.java:380)
      7 frames
    6. Android v7
      AppCompatActivity.setContentView
      1. android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)
      2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
      2 frames
    7. com.example.frank
      MainActivity.onCreate
      1. com.example.frank.listview_test.MainActivity.onCreate(MainActivity.java:17)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:6876)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3206)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)
      5. android.app.ActivityThread.access$1100(ActivityThread.java:221)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:158)
      9. android.app.ActivityThread.main(ActivityThread.java:7224)
      9 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    10. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
      2 frames