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 PT1H before alarm should have rung. #385

Open
3 tasks done
RokeJulianLockhart opened this issue Jan 19, 2025 · 0 comments
Open
3 tasks done

Crash PT1H before alarm should have rung. #385

RokeJulianLockhart opened this issue Jan 19, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@RokeJulianLockhart
Copy link

Steps to reproduce

  1. Install f-droid.org/repo/com.bnyro.clock_17.apk (V8.1).
  2. Set an alarm for T11:45+00:00.
  3. Wait ≈ PTH7.5H (until T10:145+00:00).

Expected behavior

It shouldn't crash.

Actual behavior

The clock crashed at exactly T10:45+00:00:

FATAL EXCEPTION: main
Process: com.bnyro.clock, PID: 30142
java.lang.RuntimeException: Unable to start receiver com.bnyro.clock.util.receivers.AlarmReceiver: java.lang.NullPointerException: Attempt to read from field 'java.util.List a2.a.e' on a null object reference in method 'void com.bnyro.clock.util.receivers.AlarmReceiver.onReceive(android.content.Context, android.content.Intent)'
	at android.app.ActivityThread.handleReceiver(ActivityThread.java:4459)
	at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2257)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loopOnce(Looper.java:205)
	at android.os.Looper.loop(Looper.java:294)
	at android.app.ActivityThread.main(ActivityThread.java:8223)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:977)
Caused by: java.lang.NullPointerException: Attempt to read from field 'java.util.List a2.a.e' on a null object reference in method 'void com.bnyro.clock.util.receivers.AlarmReceiver.onReceive(android.content.Context, android.content.Intent)'
	at com.bnyro.clock.util.receivers.AlarmReceiver.onReceive(SourceFile:84)
	at android.app.ActivityThread.handleReceiver(ActivityThread.java:4450)
	... 9 more

That seems like quite a coincidence, if it is one.

Clock You version

f-droid.org/repo/com.bnyro.clock_17.apk (V8.1)

Android version

FP5.UT2H.B.088.20241122 of FP5/A14/FP5-UT2H-factory

Other details

No response

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
  • I have written a short but informative title.
  • I will fill out all of the requested information in this form.
@RokeJulianLockhart RokeJulianLockhart added the bug Something isn't working label Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant