java.lang.IllegalArgumentException: No view found for id 0x7f0d0138 (.../vp_incetive_list) for fragment CustomListFragment{5f24536 #1 id=0x7f0d0138 android:switcher:2131558712:0}

Stack Overflow | voidRy | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    IllegalArgumentException ExpandableList with Viewpager

    Stack Overflow | 6 months ago | voidRy
    java.lang.IllegalArgumentException: No view found for id 0x7f0d0138 (.../vp_incetive_list) for fragment CustomListFragment{5f24536 #1 id=0x7f0d0138 android:switcher:2131558712:0}
  2. 0

    ViewPager as listview row java.lang.IllegalArgumentException: No view found for id

    Stack Overflow | 2 years ago | Yarh
    java.lang.IllegalArgumentException: No view found for id 0x7f070000 (com.yarh.bigdig.smsgreeter:id/viewpager_id_base) for fragment ScreenSlidePageFragment{41cfea70 #1 id=0x7f070000}

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      No view found for id 0x7f0d0138 (.../vp_incetive_list) for fragment CustomListFragment{5f24536 #1 id=0x7f0d0138 android:switcher:2131558712:0}

      at android.support.v4.app.FragmentManagerImpl.moveToState()
    2. Android Support v4
      ViewPager.setAdapter
      1. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1059)
      2. android.support.v4.app.FragmentManagerImpl.attachFragment(FragmentManager.java:1430)
      3. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:728)
      4. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1617)
      5. android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:570)
      6. android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:141)
      7. android.support.v4.view.ViewPager.populate(ViewPager.java:1177)
      8. android.support.v4.view.ViewPager.populate(ViewPager.java:1025)
      9. android.support.v4.view.ViewPager.setAdapter(ViewPager.java:503)
      9 frames
    3. com.ibm.prepaidsalesapp
      IncentiveListAdapter.getChildView
      1. com.ibm.prepaidsalesapp.ui.home.IncentiveListAdapter.getChildView(IncentiveListAdapter.java:83)
      1 frame
    4. Android Platform
      ViewGroup.layout
      1. android.widget.ExpandableListConnector.getView(ExpandableListConnector.java:451)
      2. android.widget.AbsListView.obtainView(AbsListView.java:2346)
      3. android.widget.ListView.makeAndAddView(ListView.java:1876)
      4. android.widget.ListView.fillUp(ListView.java:736)
      5. android.widget.ListView.layoutChildren(ListView.java:1666)
      6. android.widget.AbsListView.onLayout(AbsListView.java:2148)
      7. android.view.View.layout(View.java:16651)
      8. android.view.ViewGroup.layout(ViewGroup.java:5440)
      9. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      10. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      11. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      12. android.view.View.layout(View.java:16651)
      13. android.view.ViewGroup.layout(ViewGroup.java:5440)
      14. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      15. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      16. android.view.View.layout(View.java:16651)
      17. android.view.ViewGroup.layout(ViewGroup.java:5440)
      17 frames
    5. android.support.design
      CoordinatorLayout.onLayout
      1. android.support.design.widget.HeaderScrollingViewBehavior.layoutChild(HeaderScrollingViewBehavior.java:122)
      2. android.support.design.widget.ViewOffsetBehavior.onLayoutChild(ViewOffsetBehavior.java:42)
      3. android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onLayoutChild(AppBarLayout.java:1149)
      4. android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:810)
      4 frames
    6. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:16651)
      2. android.view.ViewGroup.layout(ViewGroup.java:5440)
      2 frames
    7. Android Support v4
      DrawerLayout.onLayout
      1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1187)
      1 frame
    8. Android Platform
      FrameLayout.onLayout
      1. android.view.View.layout(View.java:16651)
      2. android.view.ViewGroup.layout(ViewGroup.java:5440)
      3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      4. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      5. android.view.View.layout(View.java:16651)
      6. android.view.ViewGroup.layout(ViewGroup.java:5440)
      7. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      8. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      9. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      10. android.view.View.layout(View.java:16651)
      11. android.view.ViewGroup.layout(ViewGroup.java:5440)
      12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      13. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      14. android.view.View.layout(View.java:16651)
      15. android.view.ViewGroup.layout(ViewGroup.java:5440)
      16. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1743)
      17. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1586)
      18. android.widget.LinearLayout.onLayout(LinearLayout.java:1495)
      19. android.view.View.layout(View.java:16651)
      20. android.view.ViewGroup.layout(ViewGroup.java:5440)
      21. android.widget.FrameLayout.layoutChildren(FrameLayout.java:336)
      22. android.widget.FrameLayout.onLayout(FrameLayout.java:273)
      22 frames