Skip to content
This repository was archived by the owner on May 9, 2022. It is now read-only.

Errors on Account Page When Changing Password? #866

Open
jsharkey13 opened this issue Jul 17, 2017 · 0 comments
Open

Errors on Account Page When Changing Password? #866

jsharkey13 opened this issue Jul 17, 2017 · 0 comments
Labels

Comments

@jsharkey13
Copy link
Member

I'm not totally sure what causes this, but I've seen it a few times in the logs and we should probably avoid an unhandled NullPointerException if possible . . .

[WARNING] /isaac-api/api/users
org.jboss.resteasy.spi.UnhandledException: java.lang.NullPointerException: The validated object is null
        ...
Caused by: java.lang.NullPointerException: The validated object is null
        at org.apache.commons.lang3.Validate.notNull(Validate.java:222)
        at org.apache.commons.lang3.Validate.notNull(Validate.java:203)
        at uk.ac.cam.cl.dtg.segue.api.managers.UserAuthenticationManager.getSegueUserFromCredentials(UserAuthenticationManager.java:276)
        at uk.ac.cam.cl.dtg.segue.api.managers.UserAccountManager.ensureCorrectPassword(UserAccountManager.java:381)
        at uk.ac.cam.cl.dtg.segue.api.UsersFacade.updateUserObject(UsersFacade.java:654)
        at uk.ac.cam.cl.dtg.segue.api.UsersFacade.createOrUpdateUserSettings(UsersFacade.java:255)
@jsharkey13 jsharkey13 added the bug label Jul 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant