java.lang.IllegalArgumentException: No view found for id 0x7f0a003c (com.android.plugpdfsample:id/viewpager) for fragment MyFragment2 {427750f0 #1 id=0x7f0a003c android:switcher:2131361852:1}

coderanch.com | 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

    getting Nullpointer exception when i try to call Fragment (Android forum at Coderanch)

    coderanch.com | 6 months ago
    java.lang.IllegalArgumentException: No view found for id 0x7f0a003c (com.android.plugpdfsample:id/viewpager) for fragment MyFragment2 {427750f0 #1 id=0x7f0a003c android:switcher:2131361852:1}
  2. 0

    getting Nullpointer exception when i try to call Fragment

    Coderanch | 2 years ago | sam liya
    java.lang.IllegalArgumentException: No view found for id 0x7f0a003c (com.android.plugpdfsample:id/viewpager) for fragment MyFragment2 {427750f0 #1 id=0x7f0a003c android:switcher:2131361852:1}
  3. 0

    no view find for id exception occurs

    Stack Overflow | 2 years ago | Jack
    java.lang.IllegalArgumentException: No view found for id 0x7f07001d (com.bq.bqgdrive:id/bqpager) for fragment DeviceTab{b10ecaf8 #0 id=0x7f07001d android:switcher:2131165213:0}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    IllegalArgumentException in View Pager

    Stack Overflow | 3 years ago | dlucci
    java.lang.IllegalArgumentException: No view found for id 0x7f040032 (your.company:id/pager) for fragment OnlyFragment{4231cd90 #1 id=0x7f040032 android:switcher:2130968626:1}
  6. 0

    Crashing on native device: No view found for id 0x7f090050 (com.wordpress.tonytam.chefsmenu:id/menu_placeholder_menu_detail) for fragment MenuListFragment{41e67940 #1 id=0x7f090050}

    GitHub | 2 years ago | tonytamsf
    java.lang.IllegalArgumentException: No view found for id 0x7f090050 (com.wordpress.tonytam.chefsmenu:id/menu_placeholder_menu_detail) for fragment MenuListFragment{41e67940 #1 id=0x7f090050}

    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

      No view found for id 0x7f0a003c (com.android.plugpdfsample:id/viewpager) for fragment MyFragment2 {427750f0 #1 id=0x7f0a003c android:switcher:2131361852:1}

      at android.support.v4.app.FragmentManagerImpl.moveToState()
    2. Android Support v4
      ViewPager.onMeasure
      1. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:934)
      2. android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1121)
      3. android.support.v4.app.BackStackRecord.run(BackStackRecord.java:682)
      4. android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1484)
      5. android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:482)
      6. android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:141)
      7. android.support.v4.view.ViewPager.populate(ViewPager.java:1073)
      8. android.support.v4.view.ViewPager.populate(ViewPager.java:919)
      9. android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1441)
      9 frames
    3. Android Platform
      ViewGroup.measureChildWithMargins
      1. android.view.View.measure(View.java:16831)
      2. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:728)
      3. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:477)
      4. android.view.View.measure(View.java:16831)
      5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5245)
      6. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
      7. android.view.View.measure(View.java:16831)
      8. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5245)
      8 frames
    4. Android
      ActionBarOverlayLayout.onMeasure
      1. com.android.internal.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:302)
      1 frame
    5. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:16831)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5245)
      3. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
      3 frames
    6. Android
      PhoneWindow$DecorView.onMeasure
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2586)
      1 frame
    7. Android Platform
      ActivityThread.main
      1. android.view.View.measure(View.java:16831)
      2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2189)
      3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1352)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1535)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1249)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6364)
      7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:791)
      8. android.view.Choreographer.doCallbacks(Choreographer.java:591)
      9. android.view.Choreographer.doFrame(Choreographer.java:561)
      10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:777)
      11. android.os.Handler.handleCallback(Handler.java:730)
      12. android.os.Handler.dispatchMessage(Handler.java:92)
      13. android.os.Looper.loop(Looper.java:176)
      14. android.app.ActivityThread.main(ActivityThread.java:5419)
      14 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:525)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862)
      2 frames
    10. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame