#2288(java.lang.IndexOutOfBoundsException at xxx PictureSelectorPreviewFragment.initViewPagerData)的问题依然存在

xzlaal3s  于 2022-10-24  发布在  Java
关注(0)|答案(1)|浏览(321)

Current use version?

当前使用的版本是多少?
v3.10.2

Will this problem occur in demo?

Demo能否复现这问题?
否,线上问题,不必现

Describe the problem or provide an error log?

描述问题或提供错误log?
java.lang.ArrayIndexOutOfBoundsException

length=3; index=-1

java.util.ArrayList.get(ArrayList.java:439)
com.luck.picture.lib.PictureSelectorPreviewFragment.initViewPagerData(PictureSelectorPreviewFragment.java:1079)
com.luck.picture.lib.PictureSelectorPreviewFragment.onViewCreated(PictureSelectorPreviewFragment.java:265)
androidx.fragment.app.Fragment.performViewCreated(Fragment.java:3128)
androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:552)
androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:261)
androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1890)
androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:1808)
androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:1751)
androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:2976)
androidx.fragment.app.FragmentManager.dispatchActivityCreated(FragmentManager.java:2886)
...

相关问题