lingochamp / lingochamp/FileDownloader

bugly监控到发生的异常:java.lang.IllegalArgumentException,接入版本是1.7.7

Open
#1,322 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
11.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

下面是截取到的日志:

# FileDownloader-BlockCompleted1(15718)
java.lang.IllegalArgumentException
can't handover the message, no master to receive this message(status[4]) size[0]

com.liulishuo.filedownloader.FileDownloadMessenger.b(FileDownloadMessenger.java:254)
com.liulishuo.filedownloader.FileDownloadMessageStation$1.run(FileDownloadMessageStation.java:109)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
java.lang.Thread.run(Thread.java:764)

该段代码指向handoverMessage()函数中当task为null时抛出的异常,但是在使用中已对task限制不为空,希望可以得到官方的解答和解决方案!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the stack trace locations in FileDownloadMessenger.java:254 and FileDownloadMessageStation.java:109, then inspect handoverMessage() and the task-null path. Trace how status 4 reaches this code and determine the conditions that produce the exception; done means explaining the cause and documenting a verified resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.