Skip to content

[BUG] - Sending intent to load playlist by id, loads playlist but songs don't show causing an app crash #729

@netrics

Description

@netrics

Describe the bug

Using Tasker to send intent to the Tempus application to load a playlist. All other intents of asset data types work correctly (genre, artist, etc.), but playlist fails to load properly. The app starts up, the playlist page appears with all the metadata, except the playlist image. The songs listing shows an animated loading icon, with no songs, and in about a minute or two, the app crashes.

Expected behavior

The playlist to appear, all playlist metadata to be displayed properly, including all of the songs associated, and no crash.

To Reproduce

  1. In Tasker I created a task to send intent with the following action: android.intent.action.VIEW and data: tempo://asset/playlist/xvQf2MccESvILELGYqiD2r
  2. Run the task in Tasker
  3. App loads on playlist page, songs not loading
  4. 1-2 minutes later app crashes

Environment

  • Android device: Android Pixel 6a
  • Android OS version: 16 (GrapheneOS)
  • App version: 4.17.0
  • App variant: degoogled

Logs or Screenshots

Screenshots

Image Image

Crash Log:

java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
	at com.cappielloantonio.tempo.ui.fragment.PlaylistPageFragment.D(SourceFile:328)
	at androidx.fragment.app.w.R(SourceFile:27)
	at androidx.fragment.app.U.f(SourceFile:206)
	at androidx.fragment.app.U.k(SourceFile:178)
	at androidx.fragment.app.N.N(SourceFile:62)
	at androidx.fragment.app.N.t(SourceFile:36)
	at androidx.fragment.app.U.f(SourceFile:307)
	at androidx.fragment.app.U.k(SourceFile:178)
	at androidx.fragment.app.N.N(SourceFile:62)
	at androidx.fragment.app.N.t(SourceFile:36)
	at g.l.s(SourceFile:34)
	at g.l.onStart(SourceFile:1)
	at com.cappielloantonio.tempo.ui.activity.MainActivity.B(SourceFile:1)
	at com.cappielloantonio.tempo.ui.activity.MainActivity.onStart(SourceFile:1)
	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1726)
	at android.app.Activity.performStart(Activity.java:9407)
	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:4543)
	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:214)
	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:194)
	at android.app.servertransaction.TransactionExecutor.executeLifecycleItem(TransactionExecutor.java:166)
	at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:101)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:80)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2973)
	at android.os.Handler.dispatchMessage(Handler.java:132)
	at android.os.Looper.dispatchMessage(Looper.java:333)
	at android.os.Looper.loopOnce(Looper.java:263)
	at android.os.Looper.loop(Looper.java:367)
	at android.app.ActivityThread.main(ActivityThread.java:9332)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:566)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:837)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions