空指针异常

原创
2017/11/27 16:08
阅读数 141
AI总结

11-27 16:06:23.594 16057-16057/com.moreunion.zhenghao E/AndroidRuntime: FATAL EXCEPTION: main
                                                                        Process: com.moreunion.zhenghao, PID: 16057
                                                                        java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
                                                                            at com.moreunion.zhenghao.ui.homepage.FragmentRecommendHome.lambda$initProject$4(FragmentRecommendHome.java:488)
                                                                            at com.moreunion.zhenghao.ui.homepage.FragmentRecommendHome$$Lambda$7.onItemClick(Unknown Source)
                                                                            at android.widget.AdapterView.performItemClick(AdapterView.java:315)
                                                                            at android.widget.AbsListView.performItemClick(AbsListView.java:1273)
                                                                            at android.widget.AbsListView$PerformClick.run(AbsListView.java:3358)
                                                                            at android.widget.AbsListView$3.run(AbsListView.java:4372)
                                                                            at android.os.Handler.handleCallback(Handler.java:815)
                                                                            at android.os.Handler.dispatchMessage(Handler.java:104)
                                                                            at android.os.Looper.loop(Looper.java:207)
                                                                            at android.app.ActivityThread.main(ActivityThread.java:5856)
                                                                            at java.lang.reflect.Method.invoke(Native Method)
                                                                            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1026)
                                                                            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:887)

展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
0 评论
0 收藏
0
分享
AI总结
返回顶部
顶部