pili-engineering / PLDroidShortVideo

PLDroidShortVideo 是七牛推出的一款适用于 Android 平台的短视频 SDK,提供了包括美颜、滤镜、水印、断点录制、分段回删、视频编辑、混音特效、视频剪辑、本地转码、视频上传在内的多种功能,支持高度定制以及二次开发。
https://github.com/pili-engineering/PLDroidShortVideo
Apache License 2.0
1.69k stars 310 forks source link

[空指针异常] 调用ShortVideoRecorder.concatSections将录制片段合成之后,调用ShortVideoRecorder.destroy()报出空指针异常 #129

Open GooDong opened 5 years ago

GooDong commented 5 years ago

调用ShortVideoRecorder.concatSections将录制片段合成之后, 再调用ShortVideoRecorder.destroy()报出空指针异常。

版本:v1.6.1 关键日志: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.Stack com.qiniu.pili.droid.shortvideo.g.b.b()' on a null object reference at com.qiniu.pili.droid.shortvideo.b.i.a(SectionManager.java:224) at com.qiniu.pili.droid.shortvideo.b.j.b(ShortAudioRecorderCore.java:198) at com.qiniu.pili.droid.shortvideo.b.n.b(ShortVideoRecorderCore.java:145) at com.qiniu.pili.droid.shortvideo.PLShortVideoRecorder.destroy(PLShortVideoRecorder.java:71) at com.qiniu.pili.droid.shortvideo.PLShortVideoRecorder.destroy(PLShortVideoRecorder.java:63)