-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
exception= lateinit property imagePreviewAdapter has not been initialized #180
Comments
请问是如何发生的呢? |
是奔溃日志抓到的,测试本身没有测出,聪日志上看,有点像是打开大图查看的时候,可能网络很卡怎么的,就很快速的就杀死进程,后台出了个崩溃的 |
出现的次数多吗? |
不多,就一两次,很极端的 |
OK,我这边看看。 |
我用户量的话大概1-2K左右 |
好的,谢谢 |
大佬,这两个奔溃,我感觉要么?.finish , 要么try cache就好了。因为这两天发版想带上,嘻嘻。这两个奔溃之前的三四个版本都会有的。不过都很少,就一两个比较极端的。 |
嗯,差不多的解决方案,adapter在某些情况下不会进行初始化,我这边改成可空了的。稍后推一个更新版本。 |
7.0.6发布了,针对以上问题修复,你可以看变更记录。 |
好的,谢谢大佬 |
Java crash handler caught exception: Index: 4, Size: 0 java.util.ArrayList.get(ArrayList.java:437) cc.shinichi.library.view.ImagePreviewActivity$a.onPageSelected(:6) g.d0.a.b.dispatchOnPageSelected(Unknown Source:28) g.d0.a.b.scrollToItem(Unknown Source:37) g.d0.a.b.setCurrentItemInternal(Unknown Source:106) g.d0.a.b.onTouchEvent(Unknown Source:295) android.view.View.dispatchTouchEvent(View.java:13699) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3243) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2924) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3249) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2938) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3249) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2938) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3249) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2938) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3249) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2938) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3249) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2938) android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3249) android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2938) com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:741) com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:2013) android.app.Activity.dispatchTouchEvent(Activity.java:4180) g.b.f.h.dispatchTouchEvent(Unknown Source:2) com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:687) android.view.View.dispatchPointerEvent(View.java:13962) android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:6420) android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:6215) android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5604) android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5657) |
The text was updated successfully, but these errors were encountered: