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}

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by sam liya, 1 year ago
No view found for id 0x7f0a003c (com.android.plugpdfsample:id/viewpager) for fragment MyFragment2 {427750f0 #1 id=0x7f0a003c android:switcher:2131361852:1}
via coderanch.com by Unknown author, 1 year ago
No view found for id 0x7f0a003c (com.android.plugpdfsample:id/viewpager) for fragment MyFragment2 {427750f0 #1 id=0x7f0a003c android:switcher:2131361852:1}
via Stack Overflow by sandamali perera
, 2 years ago
No view found for id 0x7f05003c (com.android.pageviewers:id/pager) for fragment MyFragment2{413f7f60 #1 id=0x7f05003c android:switcher:2131034172:1}
via Coderanch by sam liya, 1 year ago
No view found for id 0x7f0a0000 (src.com.programmingmobile.pageviewer:id/viewpager) for fragment MyFragment{414102b0 #1 id=0x7f0a0000 android:switcher:2131361792:1}
via coderanch.com by Unknown author, 8 months ago
No view found for id 0x7f0a0000 (src.com.programmingmobile.pageviewer:id/viewpager) for fragment MyFragment{414102b0 #1 id=0x7f0a0000 android:switcher:2131361792:1}
via Stack Overflow by Siddhpura Amit
, 2 years ago
No view found for id 0x7f0e006c (com.mapexample:id/viewPager) for fragment LayoutOne{12db1cc8 #1 id=0x7f0e006c android:switcher:2131624044:0}
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(FragmentManager.java:934)
at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1121)
at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:682)
at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1484)
at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:482)
at android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:141)
at android.support.v4.view.ViewPager.populate(ViewPager.java:1073)
at android.support.v4.view.ViewPager.populate(ViewPager.java:919)
at android.view.View.measure(View.java:16831)
at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:728)
at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:477)
at android.view.View.measure(View.java:16831)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5245)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
at android.view.View.measure(View.java:16831)
at android.view.View.measure(View.java:16831)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5245)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
at android.view.View.measure(View.java:16831)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2189)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1352)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1535)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1249)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6364)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:791)
at android.view.Choreographer.doCallbacks(Choreographer.java:591)
at android.view.Choreographer.doFrame(Choreographer.java:561)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:777)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:176)
at android.app.ActivityThread.main(ActivityThread.java:5419)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)

Users with the same issue

4 times, 7 months ago
2 times, 10 months ago
5 times, 1 year ago
6 times, 1 year ago
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.