android.view.InflateException: Binary XML file line #6: Binary XML file line #6: Error inflating class fragment

Stack Overflow | tarun14110 | 4 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

    Error while setting custom view for each tab in Tab layout

    Stack Overflow | 4 months ago | tarun14110
    android.view.InflateException: Binary XML file line #6: Binary XML file line #6: Error inflating class fragment
  2. 0

    Android App is crashing Tabs and Google Maps

    Stack Overflow | 2 years ago | Varun
    android.view.InflateException: Binary XML file line #8: Error inflating class fragment
  3. 0

    android printing : Android App is crashing

    blogspot.com | 2 years ago
    android.view.InflateException: Binary XML file line #8: Error inflating class fragment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    InflateException when adding a third page to my FragmentPagerAdapter?

    Stack Overflow | 1 year ago | BadCash
    android.view.InflateException: Binary XML file line #9: Error inflating class fragment
  6. 0

    GitHub comment 229#184024127

    GitHub | 1 year ago | KeithYokoma
    android.view.InflateException: Binary XML file line #11: Binary XML file line #11: Error inflating class fragment
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.IllegalArgumentException

    Binary XML file line #6: Duplicate id 0x7f0c009f, tag null, or parent id 0xffffffff with another fragment for com.rocks.mafia.entrancesecurity.HistoryFragment

    at android.support.v4.app.FragmentManagerImpl.onCreateView()
  2. Android Support v4
    LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView
    1. android.support.v4.app.FragmentManagerImpl.onCreateView(FragmentManager.java:2422)
    2. android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:44)
    2 frames
  3. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:186)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:746)
    3. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
    5. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:515)
    7. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
    7 frames
  4. com.rocks.mafia
    MainActivity$PlaceholderFragment.onCreateView
    1. com.rocks.mafia.entrancesecurity.MainActivity$PlaceholderFragment.onCreateView(MainActivity.java:137)
    1 frame
  5. Android Support v4
    ViewPager$3.run
    1. android.support.v4.app.Fragment.performCreateView(Fragment.java:2080)
    2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1108)
    3. android.support.v4.app.FragmentManagerImpl.attachFragment(FragmentManager.java:1468)
    4. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:791)
    5. android.support.v4.app.FragmentManagerImpl.execSingleAction(FragmentManager.java:1638)
    6. android.support.v4.app.BackStackRecord.commitNowAllowingStateLoss(BackStackRecord.java:679)
    7. android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:143)
    8. android.support.v4.view.ViewPager.populate(ViewPager.java:1240)
    9. android.support.v4.view.ViewPager.populate(ViewPager.java:1088)
    10. android.support.v4.view.ViewPager$3.run(ViewPager.java:275)
    10 frames
  6. Android Platform
    ActivityThread.main
    1. android.view.Choreographer$CallbackRecord.run(Choreographer.java:894)
    2. android.view.Choreographer.doCallbacks(Choreographer.java:696)
    3. android.view.Choreographer.doFrame(Choreographer.java:628)
    4. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:880)
    5. android.os.Handler.handleCallback(Handler.java:815)
    6. android.os.Handler.dispatchMessage(Handler.java:104)
    7. android.os.Looper.loop(Looper.java:207)
    8. android.app.ActivityThread.main(ActivityThread.java:5740)
    8 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:766)
    2 frames