专栏首页风吹杨柳Android调试的各种bug

Android调试的各种bug

09-20 17:55:38.457: E/AndroidRuntime(14963): FATAL EXCEPTION: main 09-20 17:55:38.457: E/AndroidRuntime(14963): Process: com.clockrock.freeshare, PID: 14963 09-20 17:55:38.457: E/AndroidRuntime(14963): java.lang.NoSuchMethodError: com.clockrock.tieba.WritePostActivity.getDrawable 09-20 17:55:38.457: E/AndroidRuntime(14963): at com.clockrock.tieba.WritePostActivity.onCreate(WritePostActivity.java:236) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.app.Activity.performCreate(Activity.java:5451) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2346) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2443) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.app.ActivityThread.access$800(ActivityThread.java:157) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.os.Handler.dispatchMessage(Handler.java:110) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.os.Looper.loop(Looper.java:193) 09-20 17:55:38.457: E/AndroidRuntime(14963): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-20 17:55:38.457: E/AndroidRuntime(14963): at java.lang.reflect.Method.invokeNative(Native Method) 09-20 17:55:38.457: E/AndroidRuntime(14963): at java.lang.reflect.Method.invoke(Method.java:515) 09-20 17:55:38.457: E/AndroidRuntime(14963): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-20 17:55:38.457: E/AndroidRuntime(14963): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-20 17:55:38.457: E/AndroidRuntime(14963): at dalvik.system.NativeStart.main(Native Method) 错误原因:actionbar导致的问题,theme用了自定义的方法, 09-21 20:47:27.169: V/ActivityThread(12551): Finishing stop of ActivityRecord{4255e6c0 token=android.os.BinderProxy@4255dd38 {com.example.nongmin/com.jarvis.mytaobao.home.Main_FA}}: show=false win=com.android.internal.policy.impl.PhoneWindow@426115e0 09-21 20:47:27.169: V/PhoneWindow(12551): DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{42560738 com.example.nongmin/com.jarvis.mytaobao.home.Main_FA,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{42612570 I.E..... R....... 0,0-1080,1920} 09-21 20:48:28.084: V/ActivityThread(12551): Finishing stop of ActivityRecord{4255e6c0 token=android.os.BinderProxy@4255dd38 {com.example.nongmin/com.jarvis.mytaobao.home.Main_FA}}: show=false win=com.android.internal.policy.impl.PhoneWindow@426115e0 09-21 20:48:28.084: V/PhoneWindow(12551): DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{42560738 com.example.nongmin/com.jarvis.mytaobao.home.Main_FA,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{42612570 I.E..... R....... 0,0-1080,1920} 09-21 20:48:28.084: D/ActivityThread(12551): ACT-STOP_ACTIVITY_HIDE handled : 0 / android.os.BinderProxy@4255dd38 09-21 21:50:03.947: V/ActivityThread(13204): Finishing stop of ActivityRecord{425581b8 token=android.os.BinderProxy@42557830 {com.example.nongmin/com.jarvis.mytaobao.home.Main_FA}}: show=false win=com.android.internal.policy.impl.PhoneWindow@4260c090 09-21 21:50:03.948: V/PhoneWindow(13204): DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{4255a230 com.example.nongmin/com.jarvis.mytaobao.home.Main_FA,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{4260d020 I.E..... R......D 0,0-1080,1920} 09-21 21:57:12.848: V/ActivityThread(13486): Finishing stop of ActivityRecord{4255a348 token=android.os.BinderProxy@425599c0 {com.example.nongmin/com.jarvis.mytaobao.home.Main_FA}}: show=false win=com.android.internal.policy.impl.PhoneWindow@4260e420 09-21 21:57:12.848: V/PhoneWindow(13486): DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{4255d470 com.example.nongmin/com.jarvis.mytaobao.home.Main_FA,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{4260f250 I.E..... R....... 0,0-1080,1920} 错误原因:到目前为止还不知道 09-22 11:46:26.129: E/AndroidRuntime(22180): FATAL EXCEPTION: main 09-22 11:46:26.129: E/AndroidRuntime(22180): Process: com.example.nongmin, PID: 22180 09-22 11:46:26.129: E/AndroidRuntime(22180): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nongmin/com.jarvis.movies.VideoActivity}: java.lang.NullPointerException 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2392) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2443) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.ActivityThread.access$800(ActivityThread.java:157) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.os.Handler.dispatchMessage(Handler.java:110) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.os.Looper.loop(Looper.java:193) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 11:46:26.129: E/AndroidRuntime(22180): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 11:46:26.129: E/AndroidRuntime(22180): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 11:46:26.129: E/AndroidRuntime(22180): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 11:46:26.129: E/AndroidRuntime(22180): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 11:46:26.129: E/AndroidRuntime(22180): at dalvik.system.NativeStart.main(Native Method) 09-22 11:46:26.129: E/AndroidRuntime(22180): Caused by: java.lang.NullPointerException 09-22 11:46:26.129: E/AndroidRuntime(22180): at com.jarvis.movies.VideoGridAdapter.getCount(VideoGridAdapter.java:42) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.widget.GridView.setAdapter(GridView.java:191) 09-22 11:46:26.129: E/AndroidRuntime(22180): at com.jarvis.movies.VideoActivity.onCreate(VideoActivity.java:165) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.Activity.performCreate(Activity.java:5451) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097) 09-22 11:46:26.129: E/AndroidRuntime(22180): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2346) 09-22 11:46:26.129: E/AndroidRuntime(22180): ... 11 more 错误原因:自定义adapter重载函数getView出错了,无法获取data.getCount,其实最后发现是生成adapter的时候传递过去的数据集类型为空,导致的,然后在onCreate函数里面异步数据还没有请求就把listView加载出来了,导致出错 09-22 15:13:50.032: W/dalvikvm(23021): threadid=1: thread exiting with uncaught exception (group=0x41cdace0) 09-22 15:13:50.032: W/dalvikvm(23021): threadid=1: uncaught exception occurred 09-22 15:13:50.032: W/System.err(23021): java.lang.NumberFormatException: Invalid long: "2015-09-21000" 09-22 15:13:50.035: W/System.err(23021): at java.lang.Long.invalidLong(Long.java:124) 09-22 15:13:50.035: W/System.err(23021): at java.lang.Long.parse(Long.java:361) 09-22 15:13:50.035: W/System.err(23021): at java.lang.Long.parseLong(Long.java:352) 09-22 15:13:50.035: W/System.err(23021): at java.lang.Long.parseLong(Long.java:318) 09-22 15:13:50.036: W/System.err(23021): at com.clockrock.tools.TimeHandler.handle(TimeHandler.java:18) 09-22 15:13:50.036: W/System.err(23021): at com.clockrock.tieba.adapter.TiebaListAdapter.getView(TiebaListAdapter.java:91) 09-22 15:13:50.036: W/System.err(23021): at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220) 09-22 15:13:50.036: W/System.err(23021): at android.widget.AbsListView.obtainView(AbsListView.java:3180) 09-22 15:13:50.036: W/System.err(23021): at android.widget.ListView.measureHeightOfChildren(ListView.java:1569) 09-22 15:13:50.036: W/System.err(23021): at android.widget.ListView.onMeasure(ListView.java:1478) 09-22 15:13:50.036: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.036: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.036: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.036: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1189) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:603) 09-22 15:13:50.036: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.036: W/System.err(23021): at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1456) 09-22 15:13:50.036: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.036: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.036: W/System.err(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.036: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.037: W/System.err(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.037: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:921) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.037: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:868) 09-22 15:13:50.037: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:818) 09-22 15:13:50.037: W/System.err(23021): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:495) 09-22 15:13:50.037: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.037: W/System.err(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.037: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.037: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.037: W/System.err(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.037: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.037: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.037: W/System.err(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.038: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.038: W/System.err(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.038: W/System.err(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.038: W/System.err(23021): at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2547) 09-22 15:13:50.038: W/System.err(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.038: W/System.err(23021): at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2788) 09-22 15:13:50.038: W/System.err(23021): at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1444) 09-22 15:13:50.038: W/System.err(23021): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1885) 09-22 15:13:50.038: W/System.err(23021): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1321) 09-22 15:13:50.038: W/System.err(23021): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6935) 09-22 15:13:50.038: W/System.err(23021): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:788) 09-22 15:13:50.038: W/System.err(23021): at android.view.Choreographer.doCallbacks(Choreographer.java:591) 09-22 15:13:50.038: W/System.err(23021): at android.view.Choreographer.doFrame(Choreographer.java:560) 09-22 15:13:50.038: W/System.err(23021): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774) 09-22 15:13:50.038: W/System.err(23021): at android.os.Handler.handleCallback(Handler.java:808) 09-22 15:13:50.038: W/System.err(23021): at android.os.Handler.dispatchMessage(Handler.java:103) 09-22 15:13:50.038: W/System.err(23021): at android.os.Looper.loop(Looper.java:193) 09-22 15:13:50.038: W/System.err(23021): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 15:13:50.038: W/System.err(23021): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 15:13:50.038: W/System.err(23021): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 15:13:50.038: W/System.err(23021): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 15:13:50.038: W/System.err(23021): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 15:13:50.038: W/System.err(23021): at dalvik.system.NativeStart.main(Native Method) 09-22 15:13:50.038: W/dalvikvm(23021): threadid=1: calling UncaughtExceptionHandler 09-22 15:13:50.038: I/dalvikvm(23021): +++ calling Ljava/lang/ThreadGroup;.uncaughtException 09-22 15:13:50.044: E/AndroidRuntime(23021): FATAL EXCEPTION: main 09-22 15:13:50.044: E/AndroidRuntime(23021): Process: com.clockrock.freeshare, PID: 23021 09-22 15:13:50.044: E/AndroidRuntime(23021): java.lang.NumberFormatException: Invalid long: "2015-09-21000" 09-22 15:13:50.044: E/AndroidRuntime(23021): at java.lang.Long.invalidLong(Long.java:124) 09-22 15:13:50.044: E/AndroidRuntime(23021): at java.lang.Long.parse(Long.java:361) 09-22 15:13:50.044: E/AndroidRuntime(23021): at java.lang.Long.parseLong(Long.java:352) 09-22 15:13:50.044: E/AndroidRuntime(23021): at java.lang.Long.parseLong(Long.java:318) 09-22 15:13:50.044: E/AndroidRuntime(23021): at com.clockrock.tools.TimeHandler.handle(TimeHandler.java:18) 09-22 15:13:50.044: E/AndroidRuntime(23021): at com.clockrock.tieba.adapter.TiebaListAdapter.getView(TiebaListAdapter.java:91) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.AbsListView.obtainView(AbsListView.java:3180) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.ListView.measureHeightOfChildren(ListView.java:1569) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.ListView.onMeasure(ListView.java:1478) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1189) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:603) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1456) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:921) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:868) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:818) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:495) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:13:50.044: E/AndroidRuntime(23021): at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2547) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.View.measure(View.java:17437) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2788) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1444) 09-22 15:13:50.044: E/AndroidRuntime(23021): at android.view.ViewR 错误原因:后台传回的时间撮是错误的, 09-22 15:19:01.818: E/AndroidRuntime(23079): FATAL EXCEPTION: main 09-22 15:19:01.818: E/AndroidRuntime(23079): Process: com.clockrock.freeshare, PID: 23079 09-22 15:19:01.818: E/AndroidRuntime(23079): java.lang.IllegalStateException: ImageLoader must be init with configuration before using 09-22 15:19:01.818: E/AndroidRuntime(23079): at com.nostra13.universalimageloader.core.ImageLoader.checkConfiguration(ImageLoader.java:568) 09-22 15:19:01.818: E/AndroidRuntime(23079): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:208) 09-22 15:19:01.818: E/AndroidRuntime(23079): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:303) 09-22 15:19:01.818: E/AndroidRuntime(23079): at com.clockrock.tieba.adapter.TiebaListAdapter.getView(TiebaListAdapter.java:139) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.AbsListView.obtainView(AbsListView.java:3180) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.ListView.measureHeightOfChildren(ListView.java:1569) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.ListView.onMeasure(ListView.java:1478) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1189) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.onMeasure(LinearLayout.java:603) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1456) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureVertical(LinearLayout.java:921) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:868) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:818) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:495) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:19:01.818: E/AndroidRuntime(23079): at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2547) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.View.measure(View.java:17437) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2788) 09-22 15:19:01.818: E/AndroidRuntime(23079): at android.view.ViewRootIm 错误原因:使用的第三方图片异步加载的插件没有在application中初始化 09-22 15:26:31.181: W/dalvikvm(23197): threadid=1: calling UncaughtExceptionHandler 09-22 15:26:31.181: I/dalvikvm(23197): +++ calling Ljava/lang/ThreadGroup;.uncaughtException 09-22 15:26:31.185: E/AndroidRuntime(23197): FATAL EXCEPTION: main 09-22 15:26:31.185: E/AndroidRuntime(23197): Process: com.clockrock.freeshare, PID: 23197 09-22 15:26:31.185: E/AndroidRuntime(23197): java.lang.IllegalStateException: ImageLoader must be init with configuration before using 09-22 15:26:31.185: E/AndroidRuntime(23197): at com.nostra13.universalimageloader.core.ImageLoader.checkConfiguration(ImageLoader.java:568) 09-22 15:26:31.185: E/AndroidRuntime(23197): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:208) 09-22 15:26:31.185: E/AndroidRuntime(23197): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:303) 09-22 15:26:31.185: E/AndroidRuntime(23197): at com.clockrock.tieba.adapter.TiebaListAdapter.getView(TiebaListAdapter.java:139) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.AbsListView.obtainView(AbsListView.java:3180) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.ListView.measureHeightOfChildren(ListView.java:1569) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.ListView.onMeasure(ListView.java:1478) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1189) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.onMeasure(LinearLayout.java:603) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1456) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureVertical(LinearLayout.java:921) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:868) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:818) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.RelativeLayout.onMeasure(RelativeLayout.java:495) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 15:26:31.185: E/AndroidRuntime(23197): at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2547) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.View.measure(View.java:17437) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2788) 09-22 15:26:31.185: E/AndroidRuntime(23197): at android.view.ViewRootIm 错误原因:使用的第三方图片异步加载的插件没有在application中初始化 09-22 16:35:06.955: V/InputMethodManager(24405): onWindowFocus: android.support.v7.internal.widget.TintEditText{429bf688 VFED..CL .F....I. 282,0-780,135 #7f09007a app:id/comment_content} softInputMode=288 first=true flags=#1810100 09-22 16:35:06.956: V/InputMethodManager(24405): START INPUT: android.support.v7.internal.widget.TintEditText{429bf688 VFED..CL .F....I. 282,0-780,135 #7f09007a app:id/comment_content} ic=com.android.internal.widget.EditableInputConnection@425e3d98 tba=android.view.inputmethod.EditorInfo@425e3c88 controlFlags=#107 09-22 16:35:07.222: V/ActivityThread(24405): Finishing stop of ActivityRecord{42563a80 token=android.os.BinderProxy@42563098 {com.clockrock.freeshare/com.clockrock.freeshare.StartActivity}}: show=false win=com.android.internal.policy.impl.PhoneWindow@42633348 09-22 16:35:07.223: V/PhoneWindow(24405): DecorView setVisiblity: visibility = 4 ,Parent =ViewRoot{428af538 com.clockrock.freeshare/com.clockrock.freeshare.StartActivity,ident = 0}, this =com.android.internal.policy.impl.PhoneWindow$DecorView{42638a98 I.E..... R....... 0,0-1080,1920} 错误原因:到目前为止还不知道  我觉得问题的真正原因在于  填充视图的数据没有成功解析,导致一直空的,视图加载不出来 09-22 17:20:33.656: E/AndroidRuntime(24710): FATAL EXCEPTION: main 09-22 17:20:33.656: E/AndroidRuntime(24710): Process: com.example.nongmin, PID: 24710 09-22 17:20:33.656: E/AndroidRuntime(24710): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.nongmin/com.jarvis.movies.VideoStartActivity}; have you declared this activity in your AndroidManifest.xml? 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.app.Instrumentation$Injector.handleActivityNotFoundInGuestMode(Instrumentation.java:1930) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1694) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1471) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.app.Activity.startActivityForResult(Activity.java:3553) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.app.Activity.startActivityForResult(Activity.java:3505) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.support.v4.app.FragmentActivity.startActivityFromFragment(FragmentActivity.java:829) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.support.v4.app.Fragment.startActivity(Fragment.java:897) 09-22 17:20:33.656: E/AndroidRuntime(24710): at com.jarvis.mytaobao.home.Home_F$3.onItemClick(Home_F.java:123) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.widget.AdapterView.performItemClick(AdapterView.java:299) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.widget.AbsListView.performItemClick(AbsListView.java:1805) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.widget.AbsListView$PerformClick.run(AbsListView.java:3972) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.widget.AbsListView.touchModeResetForMeiZu(AbsListView.java:10624) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.widget.AbsListView.access$1400(AbsListView.java:122) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.widget.AbsListView$3.run(AbsListView.java:4978) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.os.Handler.handleCallback(Handler.java:808) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.os.Handler.dispatchMessage(Handler.java:103) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.os.Looper.loop(Looper.java:193) 09-22 17:20:33.656: E/AndroidRuntime(24710): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 17:20:33.656: E/AndroidRuntime(24710): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:20:33.656: E/AndroidRuntime(24710): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 17:20:33.656: E/AndroidRuntime(24710): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 17:20:33.656: E/AndroidRuntime(24710): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 17:20:33.656: E/AndroidRuntime(24710): at dalvik.system.NativeStart.main(Native Method) 错误原因:清单文件没有申明 09-22 17:22:07.218: E/AndroidRuntime(24813): FATAL EXCEPTION: main 09-22 17:22:07.218: E/AndroidRuntime(24813): Process: com.example.nongmin, PID: 24813 09-22 17:22:07.218: E/AndroidRuntime(24813): java.lang.IllegalStateException: ImageLoader must be init with configuration before using 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.nostra13.universalimageloader.core.ImageLoader.checkConfiguration(ImageLoader.java:568) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:208) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:303) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.movies.VideoGridViewAdapter.getView(VideoGridViewAdapter.java:69) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.gridview.ExtendableListView.obtainView(ExtendableListView.java:1572) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.gridview.ExtendableListView.makeAndAddView(ExtendableListView.java:1396) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.gridview.ExtendableListView.fillDown(ExtendableListView.java:1282) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.gridview.ExtendableListView.fillFromTop(ExtendableListView.java:1330) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.gridview.ExtendableListView.layoutChildren(ExtendableListView.java:581) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.gridview.StaggeredGridView.layoutChildren(StaggeredGridView.java:305) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.jarvis.gridview.ExtendableListView.onLayout(ExtendableListView.java:507) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.View.layout(View.java:15725) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1883) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1737) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.onLayout(LinearLayout.java:1646) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.View.layout(View.java:15725) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1883) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1737) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.onLayout(LinearLayout.java:1646) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.View.layout(View.java:15725) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:500) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.FrameLayout.onLayout(FrameLayout.java:435) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.View.layout(View.java:15725) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1883) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1737) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.LinearLayout.onLayout(LinearLayout.java:1646) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.View.layout(View.java:15725) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:500) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.widget.FrameLayout.onLayout(FrameLayout.java:435) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.View.layout(View.java:15725) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2859) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2518) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1321) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6935) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:788) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.Choreographer.doCallbacks(Choreographer.java:591) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.Choreographer.doFrame(Choreographer.java:560) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.os.Handler.handleCallback(Handler.java:808) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.os.Handler.dispatchMessage(Handler.java:103) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.os.Looper.loop(Looper.java:193) 09-22 17:22:07.218: E/AndroidRuntime(24813): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 17:22:07.218: E/AndroidRuntime(24813): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:22:07.218: E/AndroidRuntime(24813): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 17:22:07.218: E/AndroidRuntime(24813): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 17:22:07.218: E/AndroidRuntime(24813): at dalvik.system.NativeStart.main(Native Method) 错误原因:使用的第三方图片异步加载的插件没有在application中初始化 09-22 17:29:44.379: E/AndroidRuntime(24966): FATAL EXCEPTION: main 09-22 17:29:44.379: E/AndroidRuntime(24966): Process: com.example.nongmin, PID: 24966 09-22 17:29:44.379: E/AndroidRuntime(24966): java.lang.IllegalStateException: ImageLoader must be init with configuration before using 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.nostra13.universalimageloader.core.ImageLoader.checkConfiguration(ImageLoader.java:568) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:208) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:303) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.movies.VideoGridViewAdapter.getView(VideoGridViewAdapter.java:69) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.gridview.ExtendableListView.obtainView(ExtendableListView.java:1572) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.gridview.ExtendableListView.makeAndAddView(ExtendableListView.java:1396) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.gridview.ExtendableListView.fillDown(ExtendableListView.java:1282) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.gridview.ExtendableListView.fillFromTop(ExtendableListView.java:1330) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.gridview.ExtendableListView.layoutChildren(ExtendableListView.java:581) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.gridview.StaggeredGridView.layoutChildren(StaggeredGridView.java:305) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.jarvis.gridview.ExtendableListView.onLayout(ExtendableListView.java:507) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.View.layout(View.java:15725) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1883) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1737) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.onLayout(LinearLayout.java:1646) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.View.layout(View.java:15725) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1883) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1737) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.onLayout(LinearLayout.java:1646) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.View.layout(View.java:15725) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:500) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.FrameLayout.onLayout(FrameLayout.java:435) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.View.layout(View.java:15725) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1883) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1737) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.LinearLayout.onLayout(LinearLayout.java:1646) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.View.layout(View.java:15725) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.FrameLayout.layoutChildren(FrameLayout.java:500) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.widget.FrameLayout.onLayout(FrameLayout.java:435) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.View.layout(View.java:15725) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewGroup.layout(ViewGroup.java:4925) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2859) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2518) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1321) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6935) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:788) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.Choreographer.doCallbacks(Choreographer.java:591) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.Choreographer.doFrame(Choreographer.java:560) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.os.Handler.handleCallback(Handler.java:808) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.os.Handler.dispatchMessage(Handler.java:103) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.os.Looper.loop(Looper.java:193) 09-22 17:29:44.379: E/AndroidRuntime(24966): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 17:29:44.379: E/AndroidRuntime(24966): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:29:44.379: E/AndroidRuntime(24966): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 17:29:44.379: E/AndroidRuntime(24966): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 17:29:44.379: E/AndroidRuntime(24966): at dalvik.system.NativeStart.main(Native Method) 错误原因:使用的第三方图片异步加载的插件没有在application中初始化 09-22 17:42:43.656: E/libEGL(25391): call to OpenGL ES API with no current context (logged once per thread) 09-22 17:42:44.865: E/AndroidRuntime(25391): FATAL EXCEPTION: main 09-22 17:42:44.865: E/AndroidRuntime(25391): Process: com.example.nongmin, PID: 25391 09-22 17:42:44.865: E/AndroidRuntime(25391): android.util.AndroidRuntimeException: Calling startActivity() from outside of an Activity  context requires the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want? 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.app.ContextImpl.startActivity(ContextImpl.java:1218) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.app.ContextImpl.startActivity(ContextImpl.java:1205) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.content.ContextWrapper.startActivity(ContextWrapper.java:311) 09-22 17:42:44.865: E/AndroidRuntime(25391): at com.jarvis.movies.VideoGridViewAdapter$1.onClick(VideoGridViewAdapter.java:85) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.view.View.performClick(View.java:4632) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.view.View$PerformClick.run(View.java:19385) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.os.Handler.handleCallback(Handler.java:808) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.os.Handler.dispatchMessage(Handler.java:103) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.os.Looper.loop(Looper.java:193) 09-22 17:42:44.865: E/AndroidRuntime(25391): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 17:42:44.865: E/AndroidRuntime(25391): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:42:44.865: E/AndroidRuntime(25391): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 17:42:44.865: E/AndroidRuntime(25391): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 17:42:44.865: E/AndroidRuntime(25391): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 17:42:44.865: E/AndroidRuntime(25391): at dalvik.system.NativeStart.main(Native Method) 错误原因:上下文的问题 09-22 17:48:54.629: E/libEGL(25604): call to OpenGL ES API with no current context (logged once per thread) 09-22 17:48:55.777: E/AndroidRuntime(25604): FATAL EXCEPTION: main 09-22 17:48:55.777: E/AndroidRuntime(25604): Process: com.example.nongmin, PID: 25604 09-22 17:48:55.777: E/AndroidRuntime(25604): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nongmin/com.jarvis.movies.VideoNewsDetailActivity}: java.lang.NullPointerException 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2392) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2443) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.ActivityThread.access$800(ActivityThread.java:157) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.os.Handler.dispatchMessage(Handler.java:110) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.os.Looper.loop(Looper.java:193) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 17:48:55.777: E/AndroidRuntime(25604): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:48:55.777: E/AndroidRuntime(25604): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 17:48:55.777: E/AndroidRuntime(25604): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 17:48:55.777: E/AndroidRuntime(25604): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 17:48:55.777: E/AndroidRuntime(25604): at dalvik.system.NativeStart.main(Native Method) 09-22 17:48:55.777: E/AndroidRuntime(25604): Caused by: java.lang.NullPointerException 09-22 17:48:55.777: E/AndroidRuntime(25604): at com.jarvis.movies.VideoNewsDetailActivity.onCreate(VideoNewsDetailActivity.java:52) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.Activity.performCreate(Activity.java:5451) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097) 09-22 17:48:55.777: E/AndroidRuntime(25604): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2346) 09-22 17:48:55.777: E/AndroidRuntime(25604): ... 11 more 错误原因:加入actionBar的时候用了自己定义的theme  09-22 17:52:11.744: E/libEGL(25781): call to OpenGL ES API with no current context (logged once per thread) 09-22 17:52:12.724: E/AndroidRuntime(25781): FATAL EXCEPTION: main 09-22 17:52:12.724: E/AndroidRuntime(25781): Process: com.example.nongmin, PID: 25781 09-22 17:52:12.724: E/AndroidRuntime(25781): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nongmin/com.jarvis.movies.VideoNewsDetailActivity}: java.lang.NullPointerException 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2392) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2443) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.ActivityThread.access$800(ActivityThread.java:157) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.os.Handler.dispatchMessage(Handler.java:110) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.os.Looper.loop(Looper.java:193) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 17:52:12.724: E/AndroidRuntime(25781): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:52:12.724: E/AndroidRuntime(25781): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 17:52:12.724: E/AndroidRuntime(25781): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 17:52:12.724: E/AndroidRuntime(25781): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 17:52:12.724: E/AndroidRuntime(25781): at dalvik.system.NativeStart.main(Native Method) 09-22 17:52:12.724: E/AndroidRuntime(25781): Caused by: java.lang.NullPointerException 09-22 17:52:12.724: E/AndroidRuntime(25781): at com.jarvis.movies.VideoNewsDetailActivity.onCreate(VideoNewsDetailActivity.java:52) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.Activity.performCreate(Activity.java:5451) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097) 09-22 17:52:12.724: E/AndroidRuntime(25781): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2346) 09-22 17:52:12.724: E/AndroidRuntime(25781): ... 11 more 错误原因:加入actionBar的时候用了自己定义的theme  09-22 17:54:59.343: E/libEGL(26085): call to OpenGL ES API with no current context (logged once per thread) 09-22 17:55:00.362: E/AndroidRuntime(26085): FATAL EXCEPTION: main 09-22 17:55:00.362: E/AndroidRuntime(26085): Process: com.example.nongmin, PID: 26085 09-22 17:55:00.362: E/AndroidRuntime(26085): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nongmin/com.jarvis.movies.VideoNewsDetailActivity}: java.lang.NullPointerException 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2392) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2443) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.ActivityThread.access$800(ActivityThread.java:157) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.os.Handler.dispatchMessage(Handler.java:110) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.os.Looper.loop(Looper.java:193) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 17:55:00.362: E/AndroidRuntime(26085): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 17:55:00.362: E/AndroidRuntime(26085): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 17:55:00.362: E/AndroidRuntime(26085): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 17:55:00.362: E/AndroidRuntime(26085): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 17:55:00.362: E/AndroidRuntime(26085): at dalvik.system.NativeStart.main(Native Method) 09-22 17:55:00.362: E/AndroidRuntime(26085): Caused by: java.lang.NullPointerException 09-22 17:55:00.362: E/AndroidRuntime(26085): at com.jarvis.movies.VideoNewsDetailActivity.onCreate(VideoNewsDetailActivity.java:51) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.Activity.performCreate(Activity.java:5451) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097) 09-22 17:55:00.362: E/AndroidRuntime(26085): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2346) 09-22 17:55:00.362: E/AndroidRuntime(26085): ... 11 more 错误原因:加入actionBar的时候用了自己定义的theme  09-22 18:04:51.870: E/libEGL(26436): call to OpenGL ES API with no current context (logged once per thread) 09-22 18:04:52.790: E/AndroidRuntime(26436): FATAL EXCEPTION: main 09-22 18:04:52.790: E/AndroidRuntime(26436): Process: com.example.nongmin, PID: 26436 09-22 18:04:52.790: E/AndroidRuntime(26436): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.nongmin/com.jarvis.movies.VideoNewsDetailActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2392) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2443) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.ActivityThread.access$800(ActivityThread.java:157) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.os.Handler.dispatchMessage(Handler.java:110) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.os.Looper.loop(Looper.java:193) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 18:04:52.790: E/AndroidRuntime(26436): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 18:04:52.790: E/AndroidRuntime(26436): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 18:04:52.790: E/AndroidRuntime(26436): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 18:04:52.790: E/AndroidRuntime(26436): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 18:04:52.790: E/AndroidRuntime(26436): at dalvik.system.NativeStart.main(Native Method) 09-22 18:04:52.790: E/AndroidRuntime(26436): Caused by: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity. 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.support.v7.app.ActionBarActivityDelegate.onCreate(ActionBarActivityDelegate.java:152) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.support.v7.app.ActionBarActivityDelegateBase.onCreate(ActionBarActivityDelegateBase.java:149) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.support.v7.app.ActionBarActivity.onCreate(ActionBarActivity.java:123) 09-22 18:04:52.790: E/AndroidRuntime(26436): at com.jarvis.movies.VideoNewsDetailActivity.onCreate(VideoNewsDetailActivity.java:47) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.Activity.performCreate(Activity.java:5451) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1097) 09-22 18:04:52.790: E/AndroidRuntime(26436): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2346) 09-22 18:04:52.790: E/AndroidRuntime(26436): ... 11 more 错误原因:加入actionBar的时候用了自己定义的theme  09-22 20:44:13.077: E/AndroidRuntime(30048): FATAL EXCEPTION: main 09-22 20:44:13.077: E/AndroidRuntime(30048): Process: com.clockrock.freeshare, PID: 30048 09-22 20:44:13.077: E/AndroidRuntime(30048): java.lang.NumberFormatException: Invalid long: "2015-09-10000" 09-22 20:44:13.077: E/AndroidRuntime(30048): at java.lang.Long.invalidLong(Long.java:124) 09-22 20:44:13.077: E/AndroidRuntime(30048): at java.lang.Long.parse(Long.java:361) 09-22 20:44:13.077: E/AndroidRuntime(30048): at java.lang.Long.parseLong(Long.java:352) 09-22 20:44:13.077: E/AndroidRuntime(30048): at java.lang.Long.parseLong(Long.java:318) 09-22 20:44:13.077: E/AndroidRuntime(30048): at com.clockrock.tools.TimeHandler.handle(TimeHandler.java:18) 09-22 20:44:13.077: E/AndroidRuntime(30048): at com.clockrock.tieba.TieziDetailActivity.initTop(TieziDetailActivity.java:512) 09-22 20:44:13.077: E/AndroidRuntime(30048): at com.clockrock.tieba.TieziDetailActivity.access$4(TieziDetailActivity.java:509) 09-22 20:44:13.077: E/AndroidRuntime(30048): at com.clockrock.tieba.TieziDetailActivity$1.handleMessage(TieziDetailActivity.java:176) 09-22 20:44:13.077: E/AndroidRuntime(30048): at android.os.Handler.dispatchMessage(Handler.java:110) 09-22 20:44:13.077: E/AndroidRuntime(30048): at android.os.Looper.loop(Looper.java:193) 09-22 20:44:13.077: E/AndroidRuntime(30048): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 20:44:13.077: E/AndroidRuntime(30048): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 20:44:13.077: E/AndroidRuntime(30048): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 20:44:13.077: E/AndroidRuntime(30048): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 20:44:13.077: E/AndroidRuntime(30048): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 20:44:13.077: E/AndroidRuntime(30048): at dalvik.system.NativeStart.main(Native Method) 错误原因:后台传回的时间撮是错误的, 09-22 20:48:29.273: E/AndroidRuntime(30140): FATAL EXCEPTION: main 09-22 20:48:29.273: E/AndroidRuntime(30140): Process: com.clockrock.freeshare, PID: 30140 09-22 20:48:29.273: E/AndroidRuntime(30140): java.lang.NumberFormatException: Invalid long: "2015-09-22000" 09-22 20:48:29.273: E/AndroidRuntime(30140): at java.lang.Long.invalidLong(Long.java:124) 09-22 20:48:29.273: E/AndroidRuntime(30140): at java.lang.Long.parse(Long.java:361) 09-22 20:48:29.273: E/AndroidRuntime(30140): at java.lang.Long.parseLong(Long.java:352) 09-22 20:48:29.273: E/AndroidRuntime(30140): at java.lang.Long.parseLong(Long.java:318) 09-22 20:48:29.273: E/AndroidRuntime(30140): at com.clockrock.tools.TimeHandler.handle(TimeHandler.java:18) 09-22 20:48:29.273: E/AndroidRuntime(30140): at com.clockrock.tieba.TieziDetailActivity$CommentListAdapter.getView(TieziDetailActivity.java:845) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.AbsListView.obtainView(AbsListView.java:3180) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.ListView.measureHeightOfChildren(ListView.java:1569) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.ListView.onMeasure(ListView.java:1478) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.View.measure(View.java:17437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.View.measure(View.java:17437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.View.measure(View.java:17437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.support.v7.internal.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:453) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.View.measure(View.java:17437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.View.measure(View.java:17437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1616) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.LinearLayout.measureVertical(LinearLayout.java:729) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.LinearLayout.onMeasure(LinearLayout.java:601) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.View.measure(View.java:17437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.widget.FrameLayout.onMeasure(FrameLayout.java:332) 09-22 20:48:29.273: E/AndroidRuntime(30140): at com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2547) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.View.measure(View.java:17437) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2788) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1444) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1885) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1321) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6935) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:788) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.Choreographer.doCallbacks(Choreographer.java:591) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.Choreographer.doFrame(Choreographer.java:560) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.os.Handler.handleCallback(Handler.java:808) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.os.Handler.dispatchMessage(Handler.java:103) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.os.Looper.loop(Looper.java:193) 09-22 20:48:29.273: E/AndroidRuntime(30140): at android.app.ActivityThread.main(ActivityThread.java:5348) 09-22 20:48:29.273: E/AndroidRuntime(30140): at java.lang.reflect.Method.invokeNative(Native Method) 09-22 20:48:29.273: E/AndroidRuntime(30140): at java.lang.reflect.Method.invoke(Method.java:515) 09-22 20:48:29.273: E/AndroidRuntime(30140): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829) 09-22 20:48:29.273: E/AndroidRuntime(30140): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645) 09-22 20:48:29.273: E/AndroidRuntime(30140): at dalvik.system.NativeStart.main(Native Method) 错误原因:后台传回的时间撮是错误的,

本文参与腾讯云自媒体分享计划,欢迎正在阅读的你也加入,一起分享。

我来说两句

0 条评论
登录 后参与评论

相关文章

  • Android调试中遇到的bug

    09-11 14:39:52.120: ERROR/AndroidRuntime(12051): FATAL...

    wust小吴
  • 神经网络速记概念解释

    1、将输入图像传递到第一个卷积层中,卷积后以激活图形式输出。 图片在卷积层中过滤后的特征会被输出,并传递下去 2、每个过滤器都会给出不同的...

    wust小吴
  • android学习各种bug(5)

    09-26 01:20:33.336: E/AndroidRuntime(1854): FATAL EXCE...

    wust小吴
  • java-JDBC操作Mysql

    一、下载mysql驱动 http://central.maven.org/maven2/mysql/mysql-connector-java/

    TrueDei
  • spring boot使用Jedis整合Redis实现缓存(AOP)

    使用redis做缓存的话,需要有redis服务,可以将服务部署在远程服务器上,也可以部署到本机上。

    洋仔聊编程
  • 项目-无侵入代码方式使用Redis实现缓存功能

    版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。 ...

    洋仔聊编程
  • 假如你的AR会说话

    相信很多人都看过这部电影《我,机器人》这部电影虽然讲的是机器人,但是其中也不乏近两年来流行的AI、AR等技术,影片其中有一段是男主找到了控制机器人的主脑,而这个...

    企鹅号小编
  • CVPR大规模行为识别竞赛连续两年夺冠,上交大详细技术分享

    【新智元导读】近日,视频行为理解领域的ImageNet竞赛——ActivityNet Challenge 2018在CVPR 会议上落下了帷幕。来自上海交通大学...

    新智元
  • vn.py源码解读(二、实盘交易代码分析)

            离上一篇和vnpy有关的文章整整一年了。这一年似乎过得异常的快,快到让人觉得没有成长。可能是工作原因吧,时间一下子就会过去;亦或是自己懈怠了。

    钱塘小甲子
  • KubeCon + CloudNativeCon China 2018 在上海隆重开幕

    2018年11月13日,由云原生计算基金会 (CNCF) 主办的全球顶级的Kubernetes官方技术论坛“KubeCon+CloudNativeCon 201...

    Python中文社区

扫码关注云+社区

领取腾讯云代金券