CappielloAntonio/tempo

[CRASH] - When trying to download while offline

quantenzitrone opened this issue · 0 comments

Description

Steps to Reproduce

  1. setup your Subsonic Server with Tempo
  2. go offline
  3. try to download any Playlist (probably also Album or anything else)
  4. observe the crash

Bonus:

  1. while still not connected to internet, open Tempo again
    • observe instant crashing
  2. Connect to internet
  3. Open tempo
    • no crash anymore
  4. While still downloading, disconnect from internet
    • instant crash

Environment

  • Android device: SHIFT6m
  • Android OS version: 8.1
  • App version: v3.7.0 (pre-release from GitHub)
  • Other relevant details: VPN set up to block any connections without

Crash Logs/Stack trace

FATAL EXCEPTION: main
Process: com.cappielloantonio.tempo, PID: 18449
java.lang.IllegalArgumentException: No such service ComponentInfo{com.cappielloantonio.tempo/u1.a}
	at android.os.Parcel.readException(Parcel.java:2018)
	at android.os.Parcel.readException(Parcel.java:1960)
	at android.app.job.IJobScheduler$Stub$Proxy.schedule(IJobScheduler.java:180)
	at android.app.JobSchedulerImpl.schedule(JobSchedulerImpl.java:44)
	at t1.q.i(SourceFile:214)
	at com.cappielloantonio.tempo.service.DownloaderService.e(SourceFile:21)
	at t1.q.b(SourceFile:7)
	at h1.l.handleMessage(SourceFile:170)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:164)
	at android.app.ActivityThread.main(ActivityThread.java:6548)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:857)

Reproducibility

always