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

Crashes when Wifi connection lost during downloads #4008

Open
Flo082002 opened this issue Jul 29, 2020 · 2 comments
Open

Crashes when Wifi connection lost during downloads #4008

Flo082002 opened this issue Jul 29, 2020 · 2 comments
Labels
bug Issue is related to a bug downloader Issue is related to the downloader

Comments

@Flo082002
Copy link

Exception

  • User Action: ui error
  • Request: App crash, UI failure
  • Content Country: GB
  • Content Language: en
  • App Language: de_DE
  • Service: none
  • Version: 0.19.8
  • OS: Linux Android 8.0.0 - 26
Crash log

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Thread.isAlive()' on a null object reference
	at us.shandian.giga.get.DownloadMission.joinForThreads(DownloadMission.java:816)
	at us.shandian.giga.get.DownloadMission.pauseThreads(DownloadMission.java:520)
	at us.shandian.giga.get.DownloadMission.notifyError(DownloadMission.java:362)
	at us.shandian.giga.get.DownloadMission.notifyError(DownloadMission.java:308)
	at us.shandian.giga.get.DownloadRunnable.run(DownloadRunnable.java:145)


When I download videos and the Wifi connection gets lost, newpipe crashes.

@Flo082002 Flo082002 added the bug Issue is related to a bug label Jul 29, 2020
@Stypox Stypox added the downloader Issue is related to the downloader label Jul 30, 2020
@FireMasterK
Copy link
Member

Could reproduce this on Android 10, here's the reproduction steps:

  1. Start downloading something
  2. While it's downloading, turn off your wifi and mobile data
  3. Open the app and close it (not sure if necessary)
  4. Turn on WiFi back on

Not too sure, but this may be blocked/fixed by #962

@NicolasToussaint
Copy link

If it helps, just reproduced this.
I switched WiFi connection less than a minute before the crash.

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: GB
  • Content Language: en-GB
  • App Language: en_GB
  • Service: none
  • Version: 0.25.2
  • OS: Linux Android 13 - 33
Crash log

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Thread.isAlive()' on a null object reference
	at us.shandian.giga.get.DownloadMission.joinForThreads(DownloadMission.java:814)
	at us.shandian.giga.get.DownloadMission.pauseThreads(DownloadMission.java:518)
	at us.shandian.giga.get.DownloadMission.notifyError(DownloadMission.java:360)
	at us.shandian.giga.get.DownloadMission.notifyError(DownloadMission.java:308)
	at us.shandian.giga.get.DownloadRunnable.run(DownloadRunnable.java:145)


@opusforlife2 opusforlife2 changed the title Newpipe crashes when Wifi connection gets lost Crashes when Wifi connection lost during downloads Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug downloader Issue is related to the downloader
Projects
None yet
Development

No branches or pull requests

4 participants