wenmingvs / weibo Goto Github PK
View Code? Open in Web Editor NEW第三方新浪微博客户端
第三方新浪微博客户端
Application Information
App Name : WeiSwift
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: unknown
BRAND: OPPO
DEVICE: N3
HARDWARE: qcom
Thread ID: 25355 Thread Name: pool-4-thread-1 Time: 2016-07-27 23:10:06:37 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.NullPointerException
at com.wenming.weiswift.ui.login.fragment.home.weiboitemdetail.activity.BaseDetailActivity$6.onScrollStateChanged(BaseDetailActivity.java:334)
at android.support.v7.widget.RecyclerView.dispatchOnScrollStateChanged(RecyclerView.java:3972)
at android.support.v7.widget.RecyclerView.setScrollState(RecyclerView.java:1194)
at android.support.v7.widget.RecyclerView.onTouchEvent(RecyclerView.java:2453)
at android.view.View.dispatchTouchEvent(View.java:7706)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2217)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1945)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2118)
at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1521)
at android.app.Activity.dispatchTouchEvent(Activity.java:2513)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2044)
at android.view.View.dispatchPointerEvent(View.java:7886)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4022)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3864)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3408)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3458)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3427)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3534)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3435)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3591)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3408)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3458)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3427)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3435)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3408)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5607)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5587)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5558)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:5687)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:198)
at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:189)
at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:5660)
at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:5706)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
at android.view.Choreographer.doCallbacks(Choreographer.java:574)
at android.view.Choreographer.doFrame(Choreographer.java:542)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
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:5049)
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:818)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
at dalvik.system.NativeStart.main(Native Method)
APPLICATION INFORMATION
Application : AndroidCrash
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
Board: MSM8974
BOOTLOADER: N9009KEU2GOH5
BRAND: samsung
CPU_ABI: armeabi-v7a
CPU_ABI2: armeabi
DEVICE: hlte
DISPLAY: LRX21V.N9009KEU2GOH5
FINGERPRINT: samsung/h3gduosctc/hlte:5.0/LRX21V/N9009KEU2GOH5:user/release-keys
HARDWARE: qcom
HOST: SWDE2211
ID: LRX21V
MANUFACTURER: samsung
PRODUCT: h3gduosctc
TAGS: release-keys
TYPE: user
USER: dpi
APPLICATION INFORMATION
Application : AndroidCrash
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
Board: msm8996
BOOTLOADER: G9350ZHU2APE3
BRAND: samsung
CPU_ABI: arm64-v8a
CPU_ABI2:
DEVICE: hero2qltechn
DISPLAY: MMB29M.G9350ZHU2APE3
FINGERPRINT: samsung/hero2qltezh/hero2qltechn:6.0.1/MMB29M/G9350ZHU2APE3:user/release-keys
HARDWARE: qcom
HOST: SWDD6217
ID: MMB29M
MANUFACTURER: samsung
PRODUCT: hero2qltezh
TAGS: release-keys
TYPE: user
USER: dpi
Application Information
App Name : CrashCacheDemo
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: N9009KEU2GOH5
BRAND: samsung
DEVICE: hlte
HARDWARE: qcom
Trd: 1 main 2016-07-16 19:12:18:17 Class: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at com.wenming.crashcachedemo.MainActivity$1.onClick(MainActivity.java:42)
at android.view.View.performClick(View.java:5197)
at android.view.View$PerformClick.run(View.java:20909)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5942)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
你好,最近我遇到一个问题,就是listview里面嵌套gridview的问题,如果要让gridview显示完全,就需要重写gridview的onMeasure方法,但是这样会导致gridview里面的viewholder不能够被复用,假如一个item的gridview的view item 有很多(可以复用gridview的adapter然后加上分页,这是我能够想到),但是我感觉这个貌似也不算是最佳方案,不知道你是怎么解决这种问题的呢,有没有好一点的解决思路?
娴嬭瘯
Application Information
App Name : WeiSwift
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: unknown
BRAND: Meizu
DEVICE: m2note
HARDWARE: mt6735
Thread ID: 911 Thread Name: pool-2-thread-1 Time: 2016-07-27 17:15:20:07 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.ClassCastException: android.widget.ImageView cannot be cast to uk.co.senab.photoview.PhotoView
at com.wenming.weiswift.ui.login.fragment.home.userdetail.adapter.UserPhotoAdapter$ViewHolder.(UserPhotoAdapter.java:79)
at com.wenming.weiswift.ui.login.fragment.home.userdetail.adapter.UserPhotoAdapter.onCreateViewHolder(UserPhotoAdapter.java:46)
at com.wenming.weiswift.ui.login.fragment.home.userdetail.adapter.UserPhotoAdapter.onCreateViewHolder(UserPhotoAdapter.java:23)
at com.wenming.weiswift.widget.endlessrecyclerview.HeaderAndFooterRecyclerViewAdapter.onCreateViewHolder(HeaderAndFooterRecyclerViewAdapter.java:165)
at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5464)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4689)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4599)
at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1988)
at android.support.v7.widget.GridLayoutManager.layoutChunk(GridLayoutManager.java:528)
at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1347)
at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574)
at android.support.v7.widget.GridLayoutManager.onLayoutChildren(GridLayoutManager.java:170)
at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3003)
at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2881)
at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3265)
at android.view.View.layout(View.java:16100)
at android.view.ViewGroup.layout(ViewGroup.java:5185)
at android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:596)
at android.view.View.layout(View.java:16100)
at android.view.ViewGroup.layout(ViewGroup.java:5185)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1959)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1813)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1722)
at android.view.View.layout(View.java:16100)
at android.view.ViewGroup.layout(ViewGroup.java:5185)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:639)
at android.widget.FrameLayout.onLayout(FrameLayout.java:574)
at android.view.View.layout(View.java:16100)
at android.view.ViewGroup.layout(ViewGroup.java:5185)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1959)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1813)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1722)
at android.view.View.layout(View.java:16100)
at android.view.ViewGroup.layout(ViewGroup.java:5185)
at com.wenming.swipebacklayout.SwipeBackLayout.onLayout(SwipeBackLayout.java:402)
at android.view.View.layout(View.java:16100)
at android.view.ViewGroup.layout(ViewGroup.java:5185)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:639)
at android.widget.FrameLayout.onLayout(FrameLayout.java:574)
at android.view.View.layout(View.java:16100)
at android.view.ViewGroup.layout(ViewGroup.java:5185)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2587)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2281)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1329)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6780)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:818)
at android.view.Choreographer.doCallbacks(Choreographer.java:621)
at android.view.Choreographer.doFrame(Choreographer.java:584)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:804)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5691)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
我下载完运行后,注册和登陆按钮点击了啥反应都没有呢?是不是点击事件忘记加了呢?
1.我看您的layout文件拆分的特别碎,比如说一个TitleBar就整了一个xml文件,为什么要拆这么碎啊
2.一般在公司里写代码是按照功能模块划分么(首页,消息。。。),我一般都是按照代码功能划分(Activity,Fragment。。)
3.Mvp会造成类爆炸,但是我见代码中注释到是为了解决Fragment过于复杂才这么设计的,为什么?
Application Information
App Name : WeiSwift
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: G9350ZHU2APE3
BRAND: samsung
DEVICE: hero2qltechn
HARDWARE: qcom
Thread ID: 21067 Thread Name: pool-3-thread-1 Time: 2016-07-29 18:06:42:66 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.NullPointerException: Attempt to invoke virtual method 'long java.io.File.length()' on a null object reference
at com.wenming.weiswift.ui.common.FillContent.isLongImg(FillContent.java:465)
at com.wenming.weiswift.ui.common.FillContent$7.onLoadingComplete(FillContent.java:549)
at com.nostra13.universalimageloader.core.DisplayBitmapTask.run(DisplayBitmapTask.java:72)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
lz,我最近也在做类似的东西,我已经把图片加载的框架都跟你用一样的了,然而还是会出现图片错乱的现象,难道是你的WeiboAdapter里调用了requestLayout??
Application Information
App Name : CrashCacheDemo
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: G9350ZHU2APE3
BRAND: samsung
DEVICE: hero2qltechn
HARDWARE: qcom
Trd: 1 main 2016-07-16 21:22:36:79 Class: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at com.wenming.crashcachedemo.MainActivity$1.onClick(MainActivity.java:43)
at android.view.View.performClick(View.java:5697)
at android.widget.TextView.performClick(TextView.java:10816)
at android.view.View$PerformClick.run(View.java:22526)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
No crash content
Application Information
App Name : CrashCacheDemo
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: N9009KEU2GOH5
BRAND: samsung
DEVICE: hlte
HARDWARE: qcom
Trd: 1 main 2016-07-16 19:09:59:46 Class: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at com.wenming.crashcachedemo.MainActivity$1.onClick(MainActivity.java:42)
at android.view.View.performClick(View.java:5197)
at android.view.View$PerformClick.run(View.java:20909)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5942)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
作者你好,我是从知乎上看你回答过来,想向你学习一下,开发到“我的”页面,但是新用户接口需要审核成功才可调用,想问下作者是怎样提交审核的,盼回复,谢谢~
Application Information
App Name : WeiSwift
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: G9350ZHU2APE3
BRAND: samsung
DEVICE: hero2qltechn
HARDWARE: qcom
Thread ID: 43635 Thread Name: pool-5-thread-1 Time: 2016-07-22 10:13:35:11 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference
at com.wenming.weiswift.ui.login.fragment.message.mention.MentionActivity.showLoadFooterView(MentionActivity.java:209)
at com.wenming.weiswift.ui.login.fragment.message.mention.MentionActivity$5.onLoadNextPage(MentionActivity.java:134)
at com.wenming.weiswift.widget.endlessrecyclerview.EndlessRecyclerOnScrollListener.onScrollStateChanged(EndlessRecyclerOnScrollListener.java:91)
at android.support.v7.widget.RecyclerView.dispatchOnScrollStateChanged(RecyclerView.java:3972)
at android.support.v7.widget.RecyclerView.setScrollState(RecyclerView.java:1194)
at android.support.v7.widget.RecyclerView.access$3900(RecyclerView.java:147)
at android.support.v7.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:4110)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)
at android.view.Choreographer.doCallbacks(Choreographer.java:695)
at android.view.Choreographer.doFrame(Choreographer.java:628)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
No crash content
layout 有两个文件的命名中有大写字母
有一个类的文件名和类名不统一
不是什么大问题,改一下就好了,有点好奇为啥会存在这样的错误
Application Information
App Name : WeiSwift
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: I9507VZNUBNK1
BRAND: samsung
DEVICE: jftdd
HARDWARE: qcom
Thread ID: 1494 Thread Name: pool-2-thread-1 Time: 2016-07-27 15:54:46:380 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.NullPointerException
at com.wenming.weiswift.ui.login.fragment.home.imagedetaillist.ViewPagerAdapter.displayLongPic(ViewPagerAdapter.java:216)
at com.wenming.weiswift.ui.login.fragment.home.imagedetaillist.ViewPagerAdapter.access$100(ViewPagerAdapter.java:37)
at com.wenming.weiswift.ui.login.fragment.home.imagedetaillist.ViewPagerAdapter$1.onLoadingComplete(ViewPagerAdapter.java:114)
at com.nostra13.universalimageloader.core.DisplayBitmapTask.run(DisplayBitmapTask.java:72)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5356)
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:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
at dalvik.system.NativeStart.main(Native Method)
No crash content
APPLICATION INFORMATION
Application : CrashCacheDemo
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
Board: MSM8974
BOOTLOADER: N9009KEU2GOH5
BRAND: samsung
CPU_ABI: armeabi-v7a
CPU_ABI2: armeabi
DEVICE: hlte
DISPLAY: LRX21V.N9009KEU2GOH5
FINGERPRINT: samsung/h3gduosctc/hlte:5.0/LRX21V/N9009KEU2GOH5:user/release-keys
HARDWARE: qcom
HOST: SWDE2211
ID: LRX21V
MANUFACTURER: samsung
PRODUCT: h3gduosctc
TAGS: release-keys
TYPE: user
USER: dpi
APPLICATION INFORMATION
Application : AndroidCrash
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
Board: msm8996
BOOTLOADER: G9350ZHU2APE3
BRAND: samsung
CPU_ABI: arm64-v8a
CPU_ABI2:
DEVICE: hero2qltechn
DISPLAY: MMB29M.G9350ZHU2APE3
FINGERPRINT: samsung/hero2qltezh/hero2qltechn:6.0.1/MMB29M/G9350ZHU2APE3:user/release-keys
HARDWARE: qcom
HOST: SWDD6217
ID: MMB29M
MANUFACTURER: samsung
PRODUCT: hero2qltezh
TAGS: release-keys
TYPE: user
USER: dpi
Application Information
App Name : WeiSwift
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: angler-03.52
BRAND: google
DEVICE: angler
HARDWARE: angler
Thread ID: 1575 Thread Name: pool-2-thread-1 Time: 2016-07-27 19:44:17:94 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.wenming.weiswift.entity.User.screen_name' on a null object reference
at com.wenming.weiswift.ui.login.fragment.profile.ProfileFragment$7.onClick(ProfileFragment.java:178)
at android.view.View.performClick(View.java:5204)
at android.view.View$PerformClick.run(View.java:21155)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5422)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Application Information
App Name : WeiSwift
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: unknown
BRAND: Meizu
DEVICE: M3s
HARDWARE: mt6755
Thread ID: 589 Thread Name: pool-5-thread-1 Time: 2016-07-26 11:40:03:94 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.IllegalStateException: Could not find a method onArrorClick(View) in the activity class com.wenming.weiswift.ui.login.fragment.message.mention.MentionActivity for onClick handler on view class android.widget.ImageView with id 'toolbar_back'
at android.view.View$1.onClick(View.java:4108)
at android.view.View.performClick(View.java:4909)
at android.view.View$PerformClick.run(View.java:20390)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5791)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1109)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:875)
Caused by: java.lang.NoSuchMethodException: onArrorClick [class android.view.View]
at java.lang.Class.getMethod(Class.java:679)
at java.lang.Class.getMethod(Class.java:651)
at android.view.View$1.onClick(View.java:4101)
... 10 more
java.lang.NoSuchMethodException: onArrorClick [class android.view.View]
at java.lang.Class.getMethod(Class.java:679)
at java.lang.Class.getMethod(Class.java:651)
at android.view.View$1.onClick(View.java:4101)
at android.view.View.performClick(View.java:4909)
at android.view.View$PerformClick.run(View.java:20390)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5791)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1109)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:875)
Application Information
App Name : WeiSwift
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: I9507VZNUBNK1
BRAND: samsung
DEVICE: jftdd
HARDWARE: qcom
Thread ID: 2739 Thread Name: pool-2-thread-1 Time: 2016-07-27 17:55:39:500 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.ClassCastException: android.widget.ImageView cannot be cast to uk.co.senab.photoview.PhotoView
at com.wenming.weiswift.ui.login.fragment.home.userdetail.adapter.UserPhotoAdapter$ViewHolder.(UserPhotoAdapter.java:79)
at com.wenming.weiswift.ui.login.fragment.home.userdetail.adapter.UserPhotoAdapter.onCreateViewHolder(UserPhotoAdapter.java:46)
at com.wenming.weiswift.ui.login.fragment.home.userdetail.adapter.UserPhotoAdapter.onCreateViewHolder(UserPhotoAdapter.java:23)
at com.wenming.weiswift.widget.endlessrecyclerview.HeaderAndFooterRecyclerViewAdapter.onCreateViewHolder(HeaderAndFooterRecyclerViewAdapter.java:165)
at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5464)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4689)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4599)
at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1988)
at android.support.v7.widget.GridLayoutManager.layoutChunk(GridLayoutManager.java:528)
at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1347)
at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574)
at android.support.v7.widget.GridLayoutManager.onLayoutChildren(GridLayoutManager.java:170)
at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3003)
at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2881)
at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3265)
at android.view.View.layout(View.java:15656)
at android.view.ViewGroup.layout(ViewGroup.java:4857)
at android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:596)
at android.view.View.layout(View.java:15656)
at android.view.ViewGroup.layout(ViewGroup.java:4857)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1440)
at android.view.View.layout(View.java:15656)
at android.view.ViewGroup.layout(ViewGroup.java:4857)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:15656)
at android.view.ViewGroup.layout(ViewGroup.java:4857)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1440)
at android.view.View.layout(View.java:15656)
at android.view.ViewGroup.layout(ViewGroup.java:4857)
at com.wenming.swipebacklayout.SwipeBackLayout.onLayout(SwipeBackLayout.java:402)
at android.view.View.layout(View.java:15656)
at android.view.ViewGroup.layout(ViewGroup.java:4857)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:15656)
at android.view.ViewGroup.layout(ViewGroup.java:4857)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2288)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2008)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1238)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6473)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:803)
at android.view.Choreographer.doCallbacks(Choreographer.java:603)
at android.view.Choreographer.doFrame(Choreographer.java:573)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:789)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:157)
at android.app.ActivityThread.main(ActivityThread.java:5356)
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:1265)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
at dalvik.system.NativeStart.main(Native Method)
大神,代码写的很赞!
请问这个错误怎么解决呢,签名和包名不正确呢?
浏览微博图片界面,点击右上角按钮,底部弹出popwindow,界面背景颜色变成半透明,想请问这个过程怎么实现渐变呢?微博客户端好像有个透明度动画的
Application Information
App Name : CrashCacheDemo
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: G9350ZHU2APE3
BRAND: samsung
DEVICE: hero2qltechn
HARDWARE: qcom
Trd: 1 main 2016-07-16 20:30:18:88 Class: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at com.wenming.crashcachedemo.MainActivity$1.onClick(MainActivity.java:43)
at android.view.View.performClick(View.java:5697)
at android.widget.TextView.performClick(TextView.java:10816)
at android.view.View$PerformClick.run(View.java:22526)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
Trd: 1 main 2016-07-16 20:30:59:17 Class: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at com.wenming.crashcachedemo.MainActivity$1.onClick(MainActivity.java:43)
at android.view.View.performClick(View.java:5697)
at android.widget.TextView.performClick(TextView.java:10816)
at android.view.View$PerformClick.run(View.java:22526)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
Application Information
App Name : WeiSwift
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: G9350ZHU2APE3
BRAND: samsung
DEVICE: hero2qltechn
HARDWARE: qcom
Thread ID: 4247 Thread Name: pool-3-thread-1 Time: 2016-07-27 22:16:31:10 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference
at pl.droidsonroids.gif.GifDrawable.(GifDrawable.java:136)
at com.wenming.weiswift.ui.common.FillContent.displayGif(FillContent.java:453)
at com.wenming.weiswift.ui.common.FillContent$7.onLoadingComplete(FillContent.java:544)
at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:283)
at com.nostra13.universalimageloader.core.ImageLoader.displayImage(ImageLoader.java:209)
at com.nostra13.universalimageloader.core.ImageLoader.loadImage(ImageLoader.java:528)
at com.nostra13.universalimageloader.core.ImageLoader.loadImage(ImageLoader.java:464)
at com.wenming.weiswift.ui.common.FillContent.fillImageList(FillContent.java:484)
at com.wenming.weiswift.ui.login.fragment.home.timelineimagelist.ImageAdapter.onBindViewHolder(ImageAdapter.java:45)
at com.wenming.weiswift.ui.login.fragment.home.timelineimagelist.ImageAdapter.onBindViewHolder(ImageAdapter.java:23)
at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:5453)
at android.support.v7.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:5486)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4723)
at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4599)
at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1988)
at android.support.v7.widget.GridLayoutManager.layoutChunk(GridLayoutManager.java:528)
at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1347)
at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574)
at android.support.v7.widget.GridLayoutManager.onLayoutChildren(GridLayoutManager.java:170)
at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3003)
at android.support.v7.widget.RecyclerView.onMeasure(RecyclerView.java:2600)
at android.view.View.measure(View.java:20151)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:747)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:629)
at android.view.View.measure(View.java:20151)
at android.support.v7.widget.RecyclerView$LayoutManager.measureChildWithMargins(RecyclerView.java:7454)
at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1410)
at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1347)
at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574)
at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3003)
at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2881)
at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3265)
at android.view.View.layout(View.java:17938)
at android.view.ViewGroup.layout(ViewGroup.java:5812)
at android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:596)
at android.view.View.layout(View.java:17938)
at android.view.ViewGroup.layout(ViewGroup.java:5812)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1742)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
at android.view.View.layout(View.java:17938)
at android.view.ViewGroup.layout(ViewGroup.java:5812)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
at android.widget.FrameLayout.onLayout(FrameLayout.java:281)
at android.view.View.layout(View.java:17938)
at android.view.ViewGroup.layout(ViewGroup.java:5812)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1742)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
at android.view.View.layout(View.java:17938)
at android.view.ViewGroup.layout(ViewGroup.java:5812)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
at android.widget.FrameLayout.onLayout(FrameLayout.java:281)
at android.view.View.layout(View.java:17938)
at android.view.ViewGroup.layout(ViewGroup.java:5812)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1742)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1585)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1494)
at android.view.View.layout(View.java:17938)
at android.view.ViewGroup.layout(ViewGroup.java:5812)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:344)
at android.widget.FrameLayout.onLayout(FrameLayout.java:281)
at com.android.internal.policy.PhoneWindow$DecorView.onLayout(PhoneWindow.java:3193)
at android.view.View.layout(View.java:17938)
at android.view.ViewGroup.layout(ViewGroup.java:5812)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2666)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2367)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1437)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7414)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)
at android.view.Choreographer.doCallbacks(Choreographer.java:695)
at android.view.Choreographer.doFrame(Choreographer.java:631)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
Application Information
App Name : WeiSwift
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: unknown
BRAND: Meizu
DEVICE: m2note
HARDWARE: mt6735
Thread ID: 821 Thread Name: pool-5-thread-1 Time: 2016-07-26 16:04:24:55 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getTop()' on a null object reference
at com.wenming.weiswift.ui.login.fragment.home.weiboitemdetail.activity.BaseDetailActivity$6.onScrollStateChanged(BaseDetailActivity.java:334)
at android.support.v7.widget.RecyclerView.dispatchOnScrollStateChanged(RecyclerView.java:3972)
at android.support.v7.widget.RecyclerView.setScrollState(RecyclerView.java:1194)
at android.support.v7.widget.RecyclerView.onTouchEvent(RecyclerView.java:2453)
at android.view.View.dispatchTouchEvent(View.java:8667)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2517)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2161)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2175)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2175)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2175)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2175)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2175)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2523)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2175)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2511)
at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1807)
at android.app.Activity.dispatchTouchEvent(Activity.java:2839)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2468)
at android.view.View.dispatchPointerEvent(View.java:8873)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4831)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:4689)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4188)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4241)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4207)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:4344)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4215)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:4401)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4188)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:4241)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:4207)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:4215)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:4188)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:6645)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:6619)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:6572)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:6812)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:185)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:148)
at android.os.Looper.loop(Looper.java:151)
at android.app.ActivityThread.main(ActivityThread.java:5691)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
Application Information
App Name : WeiSwift
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: unknown
BRAND: OPPO
DEVICE: N3
HARDWARE: qcom
Thread ID: 25334 Thread Name: pool-4-thread-1 Time: 2016-07-27 23:09:56:809 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.NullPointerException
at com.wenming.weiswift.ui.login.fragment.home.weiboitemdetail.activity.BaseDetailActivity$6.onScrollStateChanged(BaseDetailActivity.java:334)
at android.support.v7.widget.RecyclerView.dispatchOnScrollStateChanged(RecyclerView.java:3972)
at android.support.v7.widget.RecyclerView.setScrollState(RecyclerView.java:1194)
at android.support.v7.widget.RecyclerView.onTouchEvent(RecyclerView.java:2453)
at android.view.View.dispatchTouchEvent(View.java:7706)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2217)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1945)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2223)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:1959)
at com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:2118)
at com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1521)
at android.app.Activity.dispatchTouchEvent(Activity.java:2513)
at com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:2044)
at android.view.View.dispatchPointerEvent(View.java:7886)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:4022)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:3864)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3408)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3458)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3427)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:3534)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3435)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:3591)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3408)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:3458)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:3427)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:3435)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:3408)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:5607)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:5587)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:5558)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:5687)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:198)
at android.view.InputEventReceiver.nativeConsumeBatchedInputEvents(Native Method)
at android.view.InputEventReceiver.consumeBatchedInputEvents(InputEventReceiver.java:189)
at android.view.ViewRootImpl.doConsumeBatchedInput(ViewRootImpl.java:5660)
at android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run(ViewRootImpl.java:5706)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
at android.view.Choreographer.doCallbacks(Choreographer.java:574)
at android.view.Choreographer.doFrame(Choreographer.java:542)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
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:5049)
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:818)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
at dalvik.system.NativeStart.main(Native Method)
错误日志如下:
java.io.FileNotFoundException: /storage/emulated/0/weiSwift/home/全部微博2133922964.txt: open failed: ENOENT (No such file or directory)
06-08 11:19:48.585 11813-11813/com.wenming.weiswift W/System.err: at libcore.io.IoBridge.open(IoBridge.java:496)
06-08 11:19:48.585 11813-11813/com.wenming.weiswift W/System.err: at java.io.FileInputStream.(FileInputStream.java:76)
06-08 11:19:48.585 11813-11813/com.wenming.weiswift W/System.err: at java.io.FileReader.(FileReader.java:42)
06-08 11:19:48.585 11813-11813/com.wenming.weiswift W/System.err: at com.wenming.weiswift.utils.SDCardUtil.get(SDCardUtil.java:114)
06-08 11:19:48.585 11813-11813/com.wenming.weiswift W/System.err: at com.wenming.weiswift.mvp.model.imp.StatusListModelImp.cacheLoad(StatusListModelImp.java:139)
06-08 11:19:48.586 11813-11813/com.wenming.weiswift W/System.err: at com.wenming.weiswift.mvp.presenter.imp.HomeFragmentPresentImp.firstLoadData(HomeFragmentPresentImp.java:79)
06-08 11:19:48.586 11813-11813/com.wenming.weiswift W/System.err: at com.wenming.weiswift.ui.login.fragment.home.HomeFragment$1.run(HomeFragment.java:95)
06-08 11:19:48.586 11813-11813/com.wenming.weiswift W/System.err: at android.os.Handler.handleCallback(Handler.java:815)
06-08 11:19:48.586 11813-11813/com.wenming.weiswift W/System.err: at android.os.Handler.dispatchMessage(Handler.java:104)
06-08 11:19:48.586 11813-11813/com.wenming.weiswift W/System.err: at android.os.Looper.loop(Looper.java:192)
06-08 11:19:48.586 11813-11813/com.wenming.weiswift W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5784)
06-08 11:19:48.586 11813-11813/com.wenming.weiswift W/System.err: at java.lang.reflect.Method.invoke(Native Method)
06-08 11:19:48.586 11813-11813/com.wenming.weiswift W/System.err: at java.lang.reflect.Method.invoke(Method.java:372)
06-08 11:19:48.586 11813-11813/com.wenming.weiswift W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1084)
06-08 11:19:48.586 11813-11813/com.wenming.weiswift W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:850)
06-08 11:19:48.586 11813-11813/com.wenming.weiswift W/System.err: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
06-08 11:19:48.586 11813-11813/com.wenming.weiswift W/System.err: at libcore.io.Posix.open(Native Method)
06-08 11:19:48.586 11813-11813/com.wenming.weiswift W/System.err: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
06-08 11:19:48.586 11813-11813/com.wenming.weiswift W/System.err: at libcore.io.IoBridge.open(IoBridge.java:482)
06-08 11:19:48.586 11813-11813/com.wenming.weiswift W/System.err: ... 14 more
06-08 11:19:48.587 11813-11813/com.wenming.weiswift D/AndroidRuntime: Shutting down VM
06-08 11:19:48.587 11813-11813/com.wenming.weiswift W/System.err: java.lang.NullPointerException: Attempt to invoke interface method 'void com.wenming.weiswift.mvp.model.StatusListModel$OnDataFinishedListener.noDataInFirstLoad(java.lang.String)' on a null object reference
06-08 11:19:48.587 11813-11813/com.wenming.weiswift W/System.err: at com.wenming.weiswift.mvp.model.imp.StatusListModelImp.cacheLoad(StatusListModelImp.java:149)
06-08 11:19:48.587 11813-11813/com.wenming.weiswift W/System.err: at com.wenming.weiswift.mvp.presenter.imp.HomeFragmentPresentImp.firstLoadData(HomeFragmentPresentImp.java:79)
06-08 11:19:48.587 11813-11813/com.wenming.weiswift W/System.err: at com.wenming.weiswift.ui.login.fragment.home.HomeFragment$1.run(HomeFragment.java:95)
06-08 11:19:48.587 11813-11813/com.wenming.weiswift W/System.err: at android.os.Handler.handleCallback(Handler.java:815)
06-08 11:19:48.587 11813-11813/com.wenming.weiswift W/System.err: at android.os.Handler.dispatchMessage(Handler.java:104)
06-08 11:19:48.587 11813-11813/com.wenming.weiswift W/System.err: at android.os.Looper.loop(Looper.java:192)
06-08 11:19:48.587 11813-11813/com.wenming.weiswift W/System.err: at android.app.ActivityThread.main(ActivityThread.java:5784)
06-08 11:19:48.587 11813-11813/com.wenming.weiswift W/System.err: at java.lang.reflect.Method.invoke(Native Method)
06-08 11:19:48.587 11813-11813/com.wenming.weiswift W/System.err: at java.lang.reflect.Method.invoke(Method.java:372)
06-08 11:19:48.587 11813-11813/com.wenming.weiswift W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1084)
06-08 11:19:48.587 11813-11813/com.wenming.weiswift W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:850)
06-08 11:19:48.588 11813-11813/com.wenming.weiswift E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.wenming.weiswift, PID: 11813
java.lang.NullPointerException: Attempt to invoke interface method 'void com.wenming.weiswift.mvp.model.StatusListModel$OnDataFinishedListener.noDataInFirstLoad(java.lang.String)' on a null object reference
at com.wenming.weiswift.mvp.model.imp.StatusListModelImp.cacheLoad(StatusListModelImp.java:149)
at com.wenming.weiswift.mvp.presenter.imp.HomeFragmentPresentImp.firstLoadData(HomeFragmentPresentImp.java:79)
at com.wenming.weiswift.ui.login.fragment.home.HomeFragment$1.run(HomeFragment.java:95)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:192)
at android.app.ActivityThread.main(ActivityThread.java:5784)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1084)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:850)
已经成功授权,但重启App后Toast提示错误信息,先是10006,然后是21332
Application Information
App Name : CrashCacheDemo
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: N9009KEU2GOH5
BRAND: samsung
DEVICE: hlte
HARDWARE: qcom
Trd: 1 main 2016-07-16 19:16:54:91 Class: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at com.wenming.crashcachedemo.MainActivity$1.onClick(MainActivity.java:42)
at android.view.View.performClick(View.java:5197)
at android.view.View$PerformClick.run(View.java:20909)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5942)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
Application Information
App Name : WeiSwift
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: unknown
BRAND: Meizu
DEVICE: m2note
HARDWARE: mt6735
Thread ID: 1979 Thread Name: pool-2-thread-1 Time: 2016-07-30 16:59:02:83 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState
at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1493)
at android.support.v4.app.FragmentManagerImpl.enqueueAction(FragmentManager.java:1511)
at android.support.v4.app.BackStackRecord.commitInternal(BackStackRecord.java:638)
at android.support.v4.app.BackStackRecord.commit(BackStackRecord.java:617)
at com.wenming.weiswift.ui.login.activity.MainActivity.retoreFragment(MainActivity.java:178)
at com.wenming.weiswift.ui.login.activity.MainActivity.setTabFragment(MainActivity.java:189)
at com.wenming.weiswift.ui.login.activity.MainActivity.access$000(MainActivity.java:30)
at com.wenming.weiswift.ui.login.activity.MainActivity$5.onClick(MainActivity.java:114)
at android.view.View.performClick(View.java:4908)
at android.view.View$PerformClick.run(View.java:20378)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5691)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
CrashLog Test
Application Information
App Name : WeiSwift
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: G9350ZHU2APE3
BRAND: samsung
DEVICE: hero2qltechn
HARDWARE: qcom
Thread ID: 16149 Thread Name: pool-3-thread-1 Time: 2016-07-27 14:49:09:03 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
android.view.InflateException: Binary XML file line #29: Binary XML file line #29: Error inflating class com.example.wenmingvs.imagelistdemo.imagedetails.DonutProgress
at android.view.LayoutInflater.inflate(LayoutInflater.java:551)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:749)
at android.view.LayoutInflater.inflate()
at android.view.LayoutInflater.inflate(LayoutInflater.java:429)
at android.view.LayoutInflater.inflate(LayoutInflater.java:380)
at com.wenming.weiswift.ui.login.fragment.home.imagedetaillist.ViewPagerAdapter.instantiateItem(ViewPagerAdapter.java:79)
at android.support.v4.view.ViewPager.addNewItem(ViewPager.java:943)
at android.support.v4.view.ViewPager.populate(ViewPager.java:1091)
at android.support.v4.view.ViewPager.populate(ViewPager.java:1025)
at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1545)
at android.view.View.measure(View.java:20151)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.view.View.measure(View.java:20151)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.view.View.measure(View.java:20151)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:747)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:629)
at android.view.View.measure(View.java:20151)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:3158)
at android.view.View.measure(View.java:20151)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2594)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1549)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1841)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1437)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7414)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)
at android.view.Choreographer.doCallbacks(Choreographer.java:695)
at android.view.Choreographer.doFrame(Choreographer.java:631)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
Caused by: android.view.InflateException: Binary XML file line #29: Error inflating class com.example.wenmingvs.imagelistdemo.imagedetails.DonutProgress
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:788)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:847)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810)
at android.view.LayoutInflater.inflate(LayoutInflater.java:527)
... 43 more
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.wenmingvs.imagelistdemo.imagedetails.DonutProgress" on path: DexPathList[[zip file "/data/app/com.wenming.weiswift-1/base.apk"],nativeLibraryDirectories=[/data/app/com.wenming.weiswift-1/lib/arm64, /data/app/com.wenming.weiswift-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at android.view.LayoutInflater.createView(LayoutInflater.java:595)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:776)
... 47 more
Suppressed: java.lang.ClassNotFoundException: com.example.wenmingvs.imagelistdemo.imagedetails.DonutProgress
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 50 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
android.view.InflateException: Binary XML file line #29: Error inflating class com.example.wenmingvs.imagelistdemo.imagedetails.DonutProgress
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:788)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:847)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810)
at android.view.LayoutInflater.inflate(LayoutInflater.java:527)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:749)
at android.view.LayoutInflater.inflate()
at android.view.LayoutInflater.inflate(LayoutInflater.java:429)
at android.view.LayoutInflater.inflate(LayoutInflater.java:380)
at com.wenming.weiswift.ui.login.fragment.home.imagedetaillist.ViewPagerAdapter.instantiateItem(ViewPagerAdapter.java:79)
at android.support.v4.view.ViewPager.addNewItem(ViewPager.java:943)
at android.support.v4.view.ViewPager.populate(ViewPager.java:1091)
at android.support.v4.view.ViewPager.populate(ViewPager.java:1025)
at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1545)
at android.view.View.measure(View.java:20151)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.view.View.measure(View.java:20151)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.view.View.measure(View.java:20151)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:747)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:629)
at android.view.View.measure(View.java:20151)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:3158)
at android.view.View.measure(View.java:20151)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2594)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1549)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1841)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1437)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7414)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)
at android.view.Choreographer.doCallbacks(Choreographer.java:695)
at android.view.Choreographer.doFrame(Choreographer.java:631)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.wenmingvs.imagelistdemo.imagedetails.DonutProgress" on path: DexPathList[[zip file "/data/app/com.wenming.weiswift-1/base.apk"],nativeLibraryDirectories=[/data/app/com.wenming.weiswift-1/lib/arm64, /data/app/com.wenming.weiswift-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at android.view.LayoutInflater.createView(LayoutInflater.java:595)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:776)
... 47 more
Suppressed: java.lang.ClassNotFoundException: com.example.wenmingvs.imagelistdemo.imagedetails.DonutProgress
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 50 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
java.lang.ClassNotFoundException: Didn't find class "com.example.wenmingvs.imagelistdemo.imagedetails.DonutProgress" on path: DexPathList[[zip file "/data/app/com.wenming.weiswift-1/base.apk"],nativeLibraryDirectories=[/data/app/com.wenming.weiswift-1/lib/arm64, /data/app/com.wenming.weiswift-1/base.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
at android.view.LayoutInflater.createView(LayoutInflater.java:595)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:776)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:716)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:847)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:810)
at android.view.LayoutInflater.inflate(LayoutInflater.java:527)
at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:749)
at android.view.LayoutInflater.inflate()
at android.view.LayoutInflater.inflate(LayoutInflater.java:429)
at android.view.LayoutInflater.inflate(LayoutInflater.java:380)
at com.wenming.weiswift.ui.login.fragment.home.imagedetaillist.ViewPagerAdapter.instantiateItem(ViewPagerAdapter.java:79)
at android.support.v4.view.ViewPager.addNewItem(ViewPager.java:943)
at android.support.v4.view.ViewPager.populate(ViewPager.java:1091)
at android.support.v4.view.ViewPager.populate(ViewPager.java:1025)
at android.support.v4.view.ViewPager.onMeasure(ViewPager.java:1545)
at android.view.View.measure(View.java:20151)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.view.View.measure(View.java:20151)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at android.view.View.measure(View.java:20151)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1464)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:747)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:629)
at android.view.View.measure(View.java:20151)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6328)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
at com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:3158)
at android.view.View.measure(View.java:20151)
at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2594)
at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1549)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1841)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1437)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7414)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:920)
at android.view.Choreographer.doCallbacks(Choreographer.java:695)
at android.view.Choreographer.doFrame(Choreographer.java:631)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:906)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7224)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:134)
Suppressed: java.lang.ClassNotFoundException: com.example.wenmingvs.imagelistdemo.imagedetails.DonutProgress
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 50 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available
APPLICATION INFORMATION
Application : CrashCacheDemo
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
Board: msm8996
BOOTLOADER: G9350ZHU2APE3
BRAND: samsung
CPU_ABI: arm64-v8a
CPU_ABI2:
DEVICE: hero2qltechn
DISPLAY: MMB29M.G9350ZHU2APE3
FINGERPRINT: samsung/hero2qltezh/hero2qltechn:6.0.1/MMB29M/G9350ZHU2APE3:user/release-keys
HARDWARE: qcom
HOST: SWDD6217
ID: MMB29M
MANUFACTURER: samsung
PRODUCT: hero2qltezh
TAGS: release-keys
TYPE: user
USER: dpi
APPLICATION INFORMATION
Application : AndroidCrash
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
Board: MSM8974
BOOTLOADER: N9009KEU2GOH5
BRAND: samsung
CPU_ABI: armeabi-v7a
CPU_ABI2: armeabi
DEVICE: hlte
DISPLAY: LRX21V.N9009KEU2GOH5
FINGERPRINT: samsung/h3gduosctc/hlte:5.0/LRX21V/N9009KEU2GOH5:user/release-keys
HARDWARE: qcom
HOST: SWDE2211
ID: LRX21V
MANUFACTURER: samsung
PRODUCT: h3gduosctc
TAGS: release-keys
TYPE: user
USER: dpi
Application Information
App Name : WeiSwift
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: unknown
BRAND: Android
DEVICE: vbox86p
HARDWARE: vbox86
Thread ID: 447 Thread Name: pool-5-thread-1 Time: 2016-07-25 06:26:57:53 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.IllegalStateException: Could not find method onArrorClick(View) in a parent or ancestor Context for android:onClick attribute defined on view class android.widget.ImageView with id 'toolbar_back'
at android.view.View$DeclaredOnClickListener.resolveMethod(View.java:4479)
at android.view.View$DeclaredOnClickListener.onClick(View.java:4443)
at android.view.View.performClick(View.java:5198)
at android.view.View$PerformClick.run(View.java:21147)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Application Information
App Name : CrashCacheDemo
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: G9350ZCU2APF7
BRAND: samsung
DEVICE: hero2qltechn
HARDWARE: qcom
Trd: 1 main 2016-07-16 19:28:11:16 Class: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
at com.wenming.crashcachedemo.MainActivity$1.onClick(MainActivity.java:43)
at android.view.View.performClick(View.java:5697)
at android.widget.TextView.performClick(TextView.java:10816)
at android.view.View$PerformClick.run(View.java:22526)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:7232)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
比如:微博 我的 - 我的相册的加载更多时脚布局异常
CrashLog Test
Application Information
App Name : WeiSwift
Version Code: 1
Version Name: 1.0
DEVICE INFORMATION
BOOTLOADER: unknown
BRAND: Meizu
DEVICE: m2note
HARDWARE: mt6735
Thread ID: 1539 Thread Name: pool-2-thread-1 Time: 2016-07-29 10:00:27:05 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.IllegalStateException: Could not find a method onArrorClick(View) in the activity class com.wenming.weiswift.ui.login.fragment.message.mention.MentionActivity for onClick handler on view class android.widget.ImageView with id 'toolbar_back'
at android.view.View$1.onClick(View.java:4107)
at android.view.View.performClick(View.java:4908)
at android.view.View$PerformClick.run(View.java:20378)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5691)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
Caused by: java.lang.NoSuchMethodException: onArrorClick [class android.view.View]
at java.lang.Class.getMethod(Class.java:664)
at java.lang.Class.getMethod(Class.java:643)
at android.view.View$1.onClick(View.java:4100)
... 10 more
java.lang.NoSuchMethodException: onArrorClick [class android.view.View]
at java.lang.Class.getMethod(Class.java:664)
at java.lang.Class.getMethod(Class.java:643)
at android.view.View$1.onClick(View.java:4100)
at android.view.View.performClick(View.java:4908)
at android.view.View$PerformClick.run(View.java:20378)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5691)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
Thread ID: 1492 Thread Name: pool-2-thread-1 Time: 2016-07-29 10:00:32:68 FromClass: CrashHandler > ↓↓↓↓exception↓↓↓↓
java.lang.IllegalStateException: Could not find a method onArrorClick(View) in the activity class com.wenming.weiswift.ui.login.fragment.message.mention.MentionActivity for onClick handler on view class android.widget.ImageView with id 'toolbar_back'
at android.view.View$1.onClick(View.java:4107)
at android.view.View.performClick(View.java:4908)
at android.view.View$PerformClick.run(View.java:20378)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5691)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
Caused by: java.lang.NoSuchMethodException: onArrorClick [class android.view.View]
at java.lang.Class.getMethod(Class.java:664)
at java.lang.Class.getMethod(Class.java:643)
at android.view.View$1.onClick(View.java:4100)
... 10 more
java.lang.NoSuchMethodException: onArrorClick [class android.view.View]
at java.lang.Class.getMethod(Class.java:664)
at java.lang.Class.getMethod(Class.java:643)
at android.view.View$1.onClick(View.java:4100)
at android.view.View.performClick(View.java:4908)
at android.view.View$PerformClick.run(View.java:20378)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5691)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
比如符号“-”会漏掉匹配,建议改成 @[\u4e00-\u9fa5\w_-]{4,30} ,还有主页好像有fragment重叠的问题
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.