Skip to content
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

java.lang.NullPointerException #2704

Closed
w296365959 opened this issue Jun 21, 2023 · 2 comments
Closed

java.lang.NullPointerException #2704

w296365959 opened this issue Jun 21, 2023 · 2 comments

Comments

@w296365959
Copy link

Current use version?

当前使用的版本是多少?

v3.11.1

Will this problem occur in demo?

Demo能否复现这问题?

Describe the problem or provide an error log?

描述问题或提供错误log?

java.lang.NullPointerException
Attempt to invoke virtual method 'java.lang.String java.io.File.getPath()' on a null object reference

com.luck.picture.lib.utils.FileDirMap.init(FileDirMap.java:3)
com.luck.picture.lib.basic.PictureCommonFragment.onViewCreated(PictureCommonFragment.java:3)
com.luck.picture.lib.PictureOnlyCameraFragment.onViewCreated(PictureOnlyCameraFragment.java:1)
androidx.fragment.app.Fragment.performViewCreated(Fragment.java:1)
androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:26)
androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:20)
androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:34)
androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:10)
androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:4)
androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:1)
android.os.Handler.handleCallback(Handler.java:815)
android.os.Handler.dispatchMessage(Handler.java:104)
android.os.Looper.loop(Looper.java:207)
android.app.ActivityThread.main(ActivityThread.java:5796)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)
@w296365959
Copy link
Author

报错设备
设备机型:GN5005,系统版本:Android 6.0,level 23,
ROM:amigo/GIONEE+ROM5.0.16,CPU架构:arm64-v8a

@w296365959
Copy link
Author

设备机型:ANA-AN00 ,系统版本:Android 12,level 31
ROM:HuaWei/EMOTION
CPU架构:arm64-v8a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants