Skip to content

java.lang.NullPointerException in playlist #12310

@buluu97

Description

@buluu97

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.27.6(Latest version on F-Droid)

Steps to reproduce the bug

I tried but couldn't reproduce the bug. However, according to the log, it should occur when playing a video in landscape mode in FramaTube, and clicking on the playlist and attempting to adjust it triggers the java.lang.NullPointerException.

Expected behavior

No response

Actual behavior

No response

Screenshots/Screen recordings

Image Image Image

Logs

03-26 03:12:13.151  8383  8383 E AndroidRuntime: Process: org.schabi.newpipe.debug, PID: 8383
03-26 03:12:13.151  8383  8383 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object java.util.List.get(int)' on a null object reference
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at org.schabi.newpipe.local.dialog.PlaylistAppendDialog.onViewCreated(PlaylistAppendDialog.java:85)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at androidx.fragment.app.Fragment.performViewCreated(Fragment.java:3147)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at androidx.fragment.app.FragmentStateManager.createView(FragmentStateManager.java:588)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:272)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at androidx.fragment.app.FragmentStore.moveToExpectedState(FragmentStore.java:114)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1455)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3034)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at androidx.fragment.app.FragmentManager.dispatchActivityCreated(FragmentManager.java:2952)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:263)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:350)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:251)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1435)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at android.app.Activity.performStart(Activity.java:8018)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3475)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at android.os.Handler.dispatchMessage(Handler.java:106)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at android.os.Looper.loop(Looper.java:223)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at android.app.ActivityThread.main(ActivityThread.java:7656)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at java.lang.reflect.Method.invoke(Native Method)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
03-26 03:12:13.151  8383  8383 E AndroidRuntime:         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)```

### Affected Android/Custom ROM version

Android11

### Affected device model

_No response_

### Additional information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    template ignoredThe user didn't follow the template/instructions (or removed them)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions