java.lang.RuntimeException: Unable to start activity ComponentInfo{xxx.com.au.abcd/xxx.com.au.abcd.activities.AddInfoActivity}: android.view.InflateException: Binary XML file line #18: Error inflating class fragment

Stack Overflow | Barrier | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    InflateException when creating Navigation Drawer

    Stack Overflow | 6 months ago | Barrier
    java.lang.RuntimeException: Unable to start activity ComponentInfo{xxx.com.au.abcd/xxx.com.au.abcd.activities.AddInfoActivity}: android.view.InflateException: Binary XML file line #18: Error inflating class fragment
  2. 0

    Not work with min api 9

    GitHub | 2 years ago | idemax
    java.lang.NullPointerException: null receiver
  3. 0

    Error getting location on Activity in Android

    Stack Overflow | 2 years ago
    java.lang.NullPointerException: Attempt to invoke virtual method 'double android.location.Location.getLatitude()' on a null object reference at greetrack.estg.ipvc.greentrack.Adicionar.locInicio(Adicionar.java:53)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android MediaRecorder NullPointerException

    Stack Overflow | 2 years ago | BRYCE VAN STRAATEN
    java.lang.IllegalStateException: Could not execute method of the activity
  6. 0

    Trying to start a service on android and get a null object

    Stack Overflow | 2 years ago | user1114720
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference 03-23 16:20:22.902 1928-1928/nl.digicre8.raspidom W/System.err﹕ at android.content.ContextWrapper.getPackageName(ContextWrapper.java:131) 03-23 16:20:22.902 1928-1928/nl.digicre8.raspidom W/System.err﹕ at android.content.ComponentName.<init>(ComponentName.java:77) 03-23 16:20:22.902 1928-1928/nl.digicre8.raspidom W/System.err﹕ at android.content.Intent.<init>(Intent.java:3996) 03-23 16:20:22.902 1928-1928/nl.digicre8.raspidom W/System.err﹕ at nl.digicre8.raspidom.RasPiDomAPI.CallAction(RasPiDomAPI.java:149) 03-23 16:20:22.905 1928-1928/nl.digicre8.raspidom W/System.err﹕ at nl.digicre8.raspidom.MainActivity.LocationService(MainActivity.java:208)

    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

      No message provided

      at xxx.com.au.abcd.activities.NavigationDrawerFragment.onCreateView()
    2. xxx.com.au
      NavigationDrawerFragment.onCreateView
      1. xxx.com.au.abcd.activities.NavigationDrawerFragment.onCreateView(NavigationDrawerFragment.java:103)
      1 frame
    3. Android Platform
      Activity.onCreateView
      1. android.app.Fragment.performCreateView(Fragment.java:1700)
      2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:866)
      3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1040)
      4. android.app.FragmentManagerImpl.addFragment(FragmentManager.java:1142)
      5. android.app.Activity.onCreateView(Activity.java:5020)
      5 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:695)
      2. android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
      3. android.view.LayoutInflater.inflate(LayoutInflater.java:498)
      4. android.view.LayoutInflater.inflate(LayoutInflater.java:398)
      5. android.view.LayoutInflater.inflate(LayoutInflater.java:354)
      5 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. xxx.com.au
      AddInfoActivity.onCreate
      1. xxx.com.au.abcd.activities.AddInfoActivity.onCreate(AddInfoActivity.java:33)
      1 frame
    8. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5484)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2400)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2498)
      5. android.app.ActivityThread.access$900(ActivityThread.java:179)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1324)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:146)
      9. android.app.ActivityThread.main(ActivityThread.java:5641)
      9 frames
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames