NewPipe icon indicating copy to clipboard operation
NewPipe copied to clipboard

App Crashing Adding the Short Video in Now Playing Playlist.

Open AF1011 opened this issue 1 year ago • 8 comments

Checklist

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

Affected version

0.27.0

Steps to reproduce the bug

  1. Adding Non-Shorts video
  2. Adding Short vidro into Now Playing lists

Expected behavior

No response

Actual behavior

The app crashed, after adding short video into playlists.

Screenshots/Screen recordings

No response

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: KR
  • Content Language: ko-
  • App Language: in_ID
  • Service: none
  • Version: 0.27.0
  • OS: Linux samsung/a53xnsxx/a53x:14/UP1A.231005.007/A536EXXU7DWK6:user/release-keys 14 - 34
Crash log

java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference
	at android.widget.Toast.makeText(Toast.java:826)
	at org.schabi.newpipe.util.NavigationHelper.enqueueOnPlayer(NavigationHelper.java:192)
	at org.schabi.newpipe.util.NavigationHelper.enqueueOnPlayer(NavigationHelper.java:206)
	at org.schabi.newpipe.info_list.dialog.StreamDialogDefaultEntry.lambda$static$2(StreamDialogDefaultEntry.java:54)
	at org.schabi.newpipe.info_list.dialog.StreamDialogDefaultEntry.$r8$lambda$HrNW3ftQD3NQNetYZjrz1JDwzD4(StreamDialogDefaultEntry.java:0)
	at org.schabi.newpipe.info_list.dialog.StreamDialogDefaultEntry$$ExternalSyntheticLambda15.accept(R8$$SyntheticClass:0)
	at org.schabi.newpipe.util.SparseItemUtil.lambda$fetchItemInfoIfSparse$0(SparseItemUtil.java:60)
	at org.schabi.newpipe.util.SparseItemUtil.$r8$lambda$rd2kSpgtBScfiwrztd_5JrCbEyQ(SparseItemUtil.java:0)
	at org.schabi.newpipe.util.SparseItemUtil$$ExternalSyntheticLambda2.accept(R8$$SyntheticClass:0)
	at org.schabi.newpipe.util.SparseItemUtil.lambda$fetchStreamInfoAndSaveToDatabase$4(SparseItemUtil.java:121)
	at org.schabi.newpipe.util.SparseItemUtil.$r8$lambda$cfmnXoy0qdCzt8EeO-smvalxWsM(SparseItemUtil.java:0)
	at org.schabi.newpipe.util.SparseItemUtil$$ExternalSyntheticLambda0.accept(R8$$SyntheticClass:0)
	at io.reactivex.rxjava3.internal.observers.ConsumerSingleObserver.onSuccess(ConsumerSingleObserver.java:62)
	at io.reactivex.rxjava3.internal.operators.single.SingleObserveOn$ObserveOnSingleObserver.run(SingleObserveOn.java:81)
	at io.reactivex.rxjava3.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:123)
	at android.os.Handler.handleCallback(Handler.java:958)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:230)
	at android.os.Looper.loop(Looper.java:319)
	at android.app.ActivityThread.main(ActivityThread.java:8893)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:608)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)


Affected Android/Custom ROM version

Android 14 /One UI 6.0

Affected device model

Samsung Galaxy A53 (SM-A5363/DS)

Additional information

No response

AF1011 avatar May 13 '24 06:05 AF1011

Could you share a video?

opusforlife2 avatar May 15 '24 04:05 opusforlife2

This is actual links https://www.youtube.com/watch?v=hsFs4K-KZU8 (Shorts)

https://www.youtube.com/watch?v=0fbEdyV1dMA (Non-shorts)

AF1011 avatar May 15 '24 06:05 AF1011

Works for me. Mind sharing a screenrecord?

opusforlife2 avatar May 15 '24 11:05 opusforlife2

Screenshot_20240516_170213_NewPipe

Same here...

AF1011 avatar May 16 '24 09:05 AF1011

This is an image. I asked for a video.

opusforlife2 avatar May 16 '24 12:05 opusforlife2

This is an image. I asked for a video.

Footage video or links?

AF1011 avatar May 16 '24 13:05 AF1011

Footage video.

opusforlife2 avatar May 16 '24 13:05 opusforlife2

https://github.com/TeamNewPipe/NewPipe/assets/54230948/8d06ef9f-51f5-46b5-8d94-a170dbd188de

I'll wondering after crashing many times, it's seems normal...

AF1011 avatar May 23 '24 03:05 AF1011

So the bug is not happening anymore?

opusforlife2 avatar May 31 '24 09:05 opusforlife2

So the bug is not happening anymore?

That happen once, if i'll cleared the cache that it's will not crashing again.

AF1011 avatar Jun 05 '24 06:06 AF1011

Sorry, it's not clear what you're saying. Could you rephrase?

opusforlife2 avatar Jun 07 '24 15:06 opusforlife2

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

github-actions[bot] avatar Jun 23 '24 00:06 github-actions[bot]