Skip to content

Attempt to invoke virtual method 'java.util.List org.schabi.newpipe.info_list.InfoListAdapter.getItemsList()' on a null object reference #12119

Open
@colleirose

Description

@colleirose

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

v0.27.6

Steps to reproduce the bug

I was watching the video and allowing it to play in the background. I then opened my web browser, went to the home page, opened ProtonMail, opened my web browser again, and then went into the open app list that you get from swiping up and opened NewPipe.

Here is the video I was watching: https://www.youtube.com/watch?v=6IKCuKrrF1g

Expected behavior

No response

Actual behavior

No response

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: none
  • Timestamp: 2025-03-22T23:53:57.32-07:00
  • Package: org.schabi.newpipe
  • Service: none
  • Version: 0.27.6
  • OS: Linux Android 15 - 35
Crash log

java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List org.schabi.newpipe.info_list.InfoListAdapter.getItemsList()' on a null object reference
	at org.schabi.newpipe.fragments.list.comments.CommentsFragment.scrollToComment(CommentsFragment.java:115)
	at org.schabi.newpipe.fragments.detail.VideoDetailFragment.scrollToComment(VideoDetailFragment.java:1024)
	at org.schabi.newpipe.MainActivity$4.onStateChanged(MainActivity.java:913)
	at com.google.android.material.bottomsheet.BottomSheetBehavior.setStateInternal(BottomSheetBehavior.java:1431)
	at com.google.android.material.bottomsheet.BottomSheetBehavior$StateSettlingTracker$1.run(BottomSheetBehavior.java:2136)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1415)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1424)
	at android.view.Choreographer.doCallbacks(Choreographer.java:1024)
	at android.view.Choreographer.doFrame(Choreographer.java:949)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1398)
	at android.os.Handler.handleCallback(Handler.java:991)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8826)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:591)
	at com.android.internal.os.ExecInit.main(ExecInit.java:50)
	at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
	at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:369)


Affected Android/Custom ROM version

Android 15, GrapheneOS 2025032100

Affected device model

Pixel 8

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bugneeds triageIssue is not yet ready for PR authors to take up

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions