qq_38845519
qq_38845519
2017-09-12 15:28

关于Fragment嵌套Fragment出现控制帧问题 求各位大神帮助谢谢了

  • android

这是日志错误信息

09-12 23:21:22.284 13515-13515/com.example.fxr.myapplication E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.fxr.myapplication, PID: 13515
java.lang.NullPointerException
at com.example.fxr.myapplication.message1_fragment.setTabSelection(message1_fragment.java:99)
at com.example.fxr.myapplication.message1_fragment.onCreateView(message1_fragment.java:47)
at android.app.Fragment.performCreateView(Fragment.java:1700)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:902)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1074)
at android.app.BackStackRecord.run(BackStackRecord.java:684)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1459)
at android.app.FragmentManagerImpl$1.run(FragmentManager.java:450)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5095)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

4条回答