Skip to content
New issue

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

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

Already on GitHub? # to your account

App Crash II #9031

Closed
6 tasks done
WorkHard4470 opened this issue Sep 27, 2022 · 9 comments · Fixed by #10576
Closed
6 tasks done

App Crash II #9031

WorkHard4470 opened this issue Sep 27, 2022 · 9 comments · Fixed by #10576

Comments

@WorkHard4470
Copy link

Checklist

  • I am able to reproduce the bug with the latest version.
  • 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.24.0

Steps to reproduce the bug

Try to rotate the phone can cause crash. It appears to be not responding caused by a commit error.

Expected behavior

Expect no lags for rotating the phone to not having lags.

Actual behavior

This caused to having lags and made unresponsive for rotation. Their commit made memory dumps and will not run on this stock OS memory. @Stypox must be fixed their unresponsive rotating error.

Screenshots/Screen recordings

See crash logs.

Logs

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: PH
  • Content Language: en-PH
  • App Language: en_PH
  • Service: none
  • Version: 0.24.0
  • OS: Linux Android 12 - 31
Crash log

java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.ContentResolver android.content.Context.getContentResolver()' on a null object reference
	at org.schabi.newpipe.util.DeviceUtils.hasAnimationsAnimatorDurationEnabled(DeviceUtils.java:153)
	at org.schabi.newpipe.local.feed.FeedFragment.showNewItemsLoaded$lambda-23(FeedFragment.kt:625)
	at org.schabi.newpipe.local.feed.FeedFragment.$r8$lambda$MVUQe28qoMVGUV7lYJw3HduSzm4(Unknown Source:0)
	at org.schabi.newpipe.local.feed.FeedFragment$$ExternalSyntheticLambda12.run(Unknown Source:2)
	at org.schabi.newpipe.ktx.ExecOnEndListener.onAnimationEnd(View.kt:279)
	at android.view.ViewPropertyAnimator$AnimatorEventListener.onAnimationEnd(ViewPropertyAnimator.java:1116)
	at android.animation.Animator$AnimatorListener.onAnimationEnd(Animator.java:563)
	at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1250)
	at android.animation.ValueAnimator.doAnimationFrame(ValueAnimator.java:1505)
	at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)
	at android.animation.AnimationHandler.access$100(AnimationHandler.java:37)
	at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1240)
	at android.view.Choreographer.doCallbacks(Choreographer.java:996)
	at android.view.ChoreographerExtImpl.checkScrollOptSceneEnable(ChoreographerExtImpl.java:374)
	at android.view.Choreographer.doFrame(Choreographer.java:865)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1227)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:233)
	at android.os.Looper.loop(Looper.java:344)
	at android.app.ActivityThread.main(ActivityThread.java:8248)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:589)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1071)


Affected Android/Custom ROM version

Android 12 [Global India ROM, realme UI 3.0]

Affected device model

realme 8 4G

Additional information

No response

@WorkHard4470 WorkHard4470 added bug Issue is related to a bug needs triage Issue is not yet ready for PR authors to take up labels Sep 27, 2022
@WorkHard4470
Copy link
Author

@Stypox we need to fix rotating that can cause lags and crashes. This is semi-stock OS.

@ChaliKaki
Copy link

i have stock rooted android 7 box set to landscape..clip loads auto goes to full screen and stops with play symbol on screen..i hit play and it reverts to mini screen back to full and stops...23.3 worked..thanks always😁

@WorkHard4470
Copy link
Author

WorkHard4470 commented Sep 28, 2022

@ChaliKaki I agree.

Report

Exception

  • User Action: ui error
  • Request: ACRA report
  • Content Country: PH
  • Content Language: en-PH
  • App Language: en_PH
  • Service: none
  • Version: 0.24.0
  • OS: Linux Android 12 - 31
Crash log

java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.ContentResolver android.content.Context.getContentResolver()' on a null object reference
	at org.schabi.newpipe.util.DeviceUtils.hasAnimationsAnimatorDurationEnabled(DeviceUtils.java:153)
	at org.schabi.newpipe.local.feed.FeedFragment.showNewItemsLoaded$lambda-23(FeedFragment.kt:625)
	at org.schabi.newpipe.local.feed.FeedFragment.$r8$lambda$MVUQe28qoMVGUV7lYJw3HduSzm4(Unknown Source:0)
	at org.schabi.newpipe.local.feed.FeedFragment$$ExternalSyntheticLambda12.run(Unknown Source:2)
	at org.schabi.newpipe.ktx.ExecOnEndListener.onAnimationEnd(View.kt:279)
	at android.view.ViewPropertyAnimator$AnimatorEventListener.onAnimationEnd(ViewPropertyAnimator.java:1116)
	at android.animation.Animator$AnimatorListener.onAnimationEnd(Animator.java:563)
	at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1250)
	at android.animation.ValueAnimator.doAnimationFrame(ValueAnimator.java:1505)
	at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)
	at android.animation.AnimationHandler.access$100(AnimationHandler.java:37)
	at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)
	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1240)
	at android.view.Choreographer.doCallbacks(Choreographer.java:996)
	at android.view.ChoreographerExtImpl.checkScrollOptSceneEnable(ChoreographerExtImpl.java:374)
	at android.view.Choreographer.doFrame(Choreographer.java:865)
	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1227)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loopOnce(Looper.java:233)
	at android.os.Looper.loop(Looper.java:344)
	at android.app.ActivityThread.main(ActivityThread.java:8248)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:589)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1071)


Still reproducible. @Stypox must fix their errors.

@tsiflimagas
Copy link
Contributor

Please don't ping people to get their attention, it's annoying for them. Devs will eventually see the issue.

@opusforlife2
Copy link
Collaborator

caused by a commit error

commit made memory dumps and will not run on this stock OS memory

If you have in-depth knowledge of what is going wrong then please point to the exact lines in the code? Or better yet, open a PR?

@opusforlife2 opusforlife2 added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Oct 1, 2022
@WorkHard4470
Copy link
Author

Yes. How do I open a PR?

@github-actions github-actions bot removed the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Oct 1, 2022
@opusforlife2
Copy link
Collaborator

Use the internet to learn.

@opusforlife2 opusforlife2 added the waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. label Oct 1, 2022
@falkpaulfabian2004

This comment was marked as off-topic.

@github-actions
Copy link

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.

@SameenAhnaf SameenAhnaf removed the needs triage Issue is not yet ready for PR authors to take up label Nov 6, 2022
@AudricV AudricV removed bug Issue is related to a bug waiting for author If the author doesn't respond, the issue will be auto-closed. Otherwise the label will be removed. labels Nov 15, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
7 participants