You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When logged in using the admin user, the below exception is thrown:
2023-09-02 11:09:15 ERROR c.n.a.component.ExceptionHandler - java.lang.NullPointerException: Cannot invoke "com.nonononoki.alovoa.entity.user.UserDates.getNotificationDate()" because the return value of "com.nonononoki.alovoa.entity.User.getDates()" is null
at com.nonononoki.alovoa.service.UserService.hasNewAlert(UserService.java:805)
at com.nonononoki.alovoa.service.UserService.hasNewAlert(UserService.java:796)
at com.nonononoki.alovoa.rest.UserController.newAlert(UserController.java:240)
at jdk.internal.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
To Reproduce
Steps to reproduce the behavior:
Log in with admin user/key
Observer log
Expected behavior
No exception thrown
Desktop (please complete the following information):
Any device
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
When logged in using the admin user, the below exception is thrown:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No exception thrown
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: