CappielloAntonio / tempo

An open source and lightweight music client for Subsonic, designed and built natively for Android.
GNU General Public License v3.0
865 stars 39 forks source link

[CRASH] - When trying to download while offline #164

Open quantenzitrone opened 4 months ago

quantenzitrone commented 4 months ago

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

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