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崩溃 #215

Open
CZ796 opened this issue Apr 10, 2024 · 0 comments
Open

java.lang.NullPointerException崩溃 #215

CZ796 opened this issue Apr 10, 2024 · 0 comments

Comments

@CZ796
Copy link

CZ796 commented Apr 10, 2024

问题描述:java.lang.NullPointerException崩溃

SDK版本:pldroid-shortvideo-3.4.0.jar

崩溃LOG:
04-05 16:36:42.645 14284 27922 E PLDroidShortVideo: Pili-Encode:HWVideoEncoder:dequeueOutputBuffer failed: Error 0xffffffe0
04-05 16:36:42.646 14284 27922 E PLDroidShortVideo: Pili-Encode:HWVideoEncoder:encoder stop, release failed: null
--------- beginning of crash
04-05 16:36:42.654 14284 27922 E AndroidRuntime: FATAL EXCEPTION: HWVideoEncoder
04-05 16:36:42.654 14284 27922 E AndroidRuntime: Process: com.aladdin.dangdang, PID: 14284
04-05 16:36:42.654 14284 27922 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.media.MediaExtractor.release()' on a null object reference
04-05 16:36:42.654 14284 27922 E AndroidRuntime: at com.qiniu.pili.droid.shortvideo.core.p$g.a(ShortVideoTranscoderCore.java:6)
04-05 16:36:42.654 14284 27922 E AndroidRuntime: at com.qiniu.pili.droid.shortvideo.encode.e.a(HWVideoEncoder.java:10)
04-05 16:36:42.654 14284 27922 E AndroidRuntime: at com.qiniu.pili.droid.shortvideo.encode.d.o(HWEncoderBase.java:9)
04-05 16:36:42.654 14284 27922 E AndroidRuntime: at com.qiniu.pili.droid.shortvideo.encode.d.run(HWEncoderBase.java:4)
04-05 16:36:42.654 14284 27922 E AndroidRuntime: at java.lang.Thread.run(Thread.java:933)

定位源码:
image

希望能尽快修复

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

1 participant