Skip to content

[Bug] Crash due to NullPointerException when uploaderName is null #1876

@Mountain5604

Description

@Mountain5604

Checklist

  • I make sure that the issue is NOT a duplicate of pinned issues
  • I make sure I am using the LATEST version - check here
  • I understand that issues with limited impact, such as those occurring on specific devices or under specific network conditions, will not be fixed
  • I have attached the error report in the issue

Version

4.7

Describe the bug

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: GB
  • Content Language: en-GB
  • App Language: en_GB
  • Service: none
  • Version: 4.7.7
  • OS: Linux samsung/a54xnsxx/a54x:16/BP2A.250605.031.A3/A546EXXUFEYI4:user/release-keys 16 - 36
Crash log

java.lang.NullPointerException: item.uploaderName must not be null
	at org.schabi.newpipe.database.stream.model.StreamEntity.<init>(StreamEntity.kt:69)
	at org.schabi.newpipe.info_list.dialog.StreamDialogDefaultEntry.lambda$static$13(StreamDialogDefaultEntry.java:103)
	at org.schabi.newpipe.info_list.dialog.StreamDialogDefaultEntry.$r8$lambda$Au2sCL68CrRmGDLP6_a1Ce11U8c(Unknown Source:0)
	at org.schabi.newpipe.info_list.dialog.StreamDialogDefaultEntry$$ExternalSyntheticLambda13.onClick(Unknown Source:0)
	at org.schabi.newpipe.info_list.dialog.InfoItemDialog.lambda$new$2(InfoItemDialog.java:75)
	at org.schabi.newpipe.info_list.dialog.InfoItemDialog.$r8$lambda$rolB38hFbFwRPfIy0nmFKZx8iWo(Unknown Source:0)
	at org.schabi.newpipe.info_list.dialog.InfoItemDialog$$ExternalSyntheticLambda2.onClick(Unknown Source:6)
	at androidx.appcompat.app.AlertController$AlertParams$3.onItemClick(AlertController.java:1068)
	at android.widget.AdapterView.performItemClick(AdapterView.java:380)
	at android.widget.AbsListView.performItemClick(AbsListView.java:1375)
	at android.widget.AbsListView$PerformClick.run(AbsListView.java:3687)
	at android.widget.AbsListView$3.run(AbsListView.java:4886)
	at android.os.Handler.handleCallback(Handler.java:995)
	at android.os.Handler.dispatchMessage(Handler.java:103)
	at android.os.Looper.loopOnce(Looper.java:273)
	at android.os.Looper.loop(Looper.java:363)
	at android.app.ActivityThread.main(ActivityThread.java:10060)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)


Frequency

Always (100% of the time)

Device

No response

Steps to reproduce the bug

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions