Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when sharing playlist which hasn't yet loaded #6736

Closed
4 tasks done
TheSunCat opened this issue Jul 22, 2021 · 0 comments · Fixed by #7662
Closed
4 tasks done

Crash when sharing playlist which hasn't yet loaded #6736

TheSunCat opened this issue Jul 22, 2021 · 0 comments · Fixed by #7662
Labels
bug Issue is related to a bug GUI Issue is related to the graphical user interface

Comments

@TheSunCat
Copy link

TheSunCat commented Jul 22, 2021

Checklist

  • I am using the latest version - 0.21.7
  • I checked, but didn't find any duplicates (open OR closed) of this issue in the repo.
  • I have read the contribution guidelines .
  • This issue contains only one bug. I will open one issue for every bug report I want to file.

Steps to reproduce the bug

  1. Search for a playlist
  2. Press on the playlist
  3. Tap the share button at the top before the videos load

I am able to reproduce this easily with longer playlists such as this one. I am also on slower phone data, which helps.

Actual behavior

NewPipe crashed and immediately relaunched with a "Guru Meditation" crash report (what does this mean?)

Expected behavior

I expect the share dialog to appear without crashing the app.

Screenshots/Screen recordings

N/A

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: US
  • Content Language: en-US
  • App Language: en_US
  • Service: none
  • Version: 0.21.7
  • OS: Linux Android 11 - 30
Crash log

java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String org.schabi.newpipe.extractor.playlist.PlaylistInfo.getThumbnailUrl()' on a null object reference
	at org.schabi.newpipe.fragments.list.playlist.PlaylistFragment.onOptionsItemSelected(PlaylistFragment.java:255)
	at androidx.fragment.app.Fragment.performOptionsItemSelected(Fragment.java:3122)
	at androidx.fragment.app.FragmentManager.dispatchOptionsItemSelected(FragmentManager.java:3226)
	at androidx.fragment.app.FragmentController.dispatchOptionsItemSelected(FragmentController.java:416)
	at androidx.fragment.app.FragmentActivity.onMenuItemSelected(FragmentActivity.java:358)
	at androidx.appcompat.app.AppCompatActivity.onMenuItemSelected(AppCompatActivity.java:228)
	at androidx.appcompat.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:109)
	at androidx.appcompat.view.WindowCallbackWrapper.onMenuItemSelected(WindowCallbackWrapper.java:109)
	at androidx.appcompat.app.ToolbarActionBar$2.onMenuItemClick(ToolbarActionBar.java:65)
	at androidx.appcompat.widget.Toolbar$1.onMenuItemClick(Toolbar.java:207)
	at androidx.appcompat.widget.ActionMenuView$MenuBuilderCallback.onMenuItemSelected(ActionMenuView.java:779)
	at androidx.appcompat.view.menu.MenuBuilder.dispatchMenuItemSelected(MenuBuilder.java:834)
	at androidx.appcompat.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:158)
	at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:985)
	at androidx.appcompat.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:975)
	at androidx.appcompat.widget.ActionMenuView.invokeItem(ActionMenuView.java:623)
	at androidx.appcompat.view.menu.ActionMenuItemView.onClick(ActionMenuItemView.java:151)
	at android.view.View.performClick(View.java:7448)
	at android.view.View.performClickInternal(View.java:7425)
	at android.view.View.access$3600(View.java:810)
	at android.view.View$PerformClick.run(View.java:28305)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7664)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)


@TheSunCat TheSunCat added the bug Issue is related to a bug label Jul 22, 2021
@AudricV AudricV added the GUI Issue is related to the graphical user interface label Jan 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug GUI Issue is related to the graphical user interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants