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

使用中出现NullPointerException #542

Closed
xuqingquan1995 opened this issue Nov 28, 2019 · 4 comments
Closed

使用中出现NullPointerException #542

xuqingquan1995 opened this issue Nov 28, 2019 · 4 comments

Comments

@xuqingquan1995
Copy link

@xuqingquan1995 xuqingquan1995 commented Nov 28, 2019

以下是有相关的错误日志

错误1

java.lang.NullPointerException
Attempt to invoke interface method 'int java.util.List.size()' on a null object reference

com.arialyy.aria.m3u8.M3U8RecordAdapter.initTaskThreadNum(M3U8RecordAdapter.java)
com.arialyy.aria.core.common.RecordHandler.initRecord(RecordHandler.java)
com.arialyy.aria.core.common.RecordHandler.getRecord(RecordHandler.java)
com.arialyy.aria.core.loader.AbsLoader.startFlow(AbsLoader.java)
com.arialyy.aria.core.loader.AbsLoader.run(AbsLoader.java)
java.lang.Thread.run(Thread.java:818)

错误2

java.io.File.fixSlashes(File.java:185)
java.io.File.(File.java:134)
com.arialyy.aria.m3u8.BaseM3U8Loader.getCacheDir(BaseM3U8Loader.java)
com.arialyy.aria.m3u8.vod.M3U8VodLoader.initData(M3U8VodLoader.java)
com.arialyy.aria.m3u8.vod.M3U8VodLoader.onPostPre(M3U8VodLoader.java)
com.arialyy.aria.core.loader.AbsLoader.startFlow(AbsLoader.java)
com.arialyy.aria.core.loader.AbsLoader.run(AbsLoader.java)
java.lang.Thread.run(Thread.java:818)

@AriaLyy

This comment has been minimized.

Copy link
Owner

@AriaLyy AriaLyy commented Nov 28, 2019

使用 TS 转换器查看下,你那边的ts列表是否获取成功

@AriaLyy

This comment has been minimized.

Copy link
Owner

@AriaLyy AriaLyy commented Nov 28, 2019

我这测试是正常的呢,能否提供下m3u8的url?

@xuqingquan1995

This comment has been minimized.

Copy link
Author

@xuqingquan1995 xuqingquan1995 commented Dec 2, 2019

由于是bugly抓取的错误日志,所以并没有抓取到太多到日志信息,并且这两个错误出现到概率也比较高

AriaLyy added a commit that referenced this issue Dec 2, 2019
fix bug #542
fix bug #547
修复下载失败时,中断重试无效的问题
增加忽略权限检查的api,`ignoreCheckPermissions()`
@AriaLyy

This comment has been minimized.

Copy link
Owner

@AriaLyy AriaLyy commented Dec 2, 2019

使用3.7.10_pre_4版本

@AriaLyy AriaLyy closed this Dec 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.