Skip to content

Error when updating User from API #25

@kadraman

Description

@kadraman

From the log:

2024-10-15 09:18:23.818 DEBUG 19870 --- [nio-8888-exec-1] c.m.e.a.c.ApiUserController              : API::Updating user with UUID: 3f91dc76-97fc-45d5-8db0-3bee04326a86
2024-10-15 09:18:23.822 DEBUG 19870 --- [nio-8888-exec-1] c.m.e.r.UserRepositoryImpl               : Found matching user in database for: user4
2024-10-15 09:18:23.822 DEBUG 19870 --- [nio-8888-exec-1] c.m.e.r.UserRepositoryImpl               : Adding authority ROLE_USER for user
2024-10-15 09:18:23.824  WARN 19870 --- [nio-8888-exec-1] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [java.lang.NullPointerException: Cannot invoke "String.isEmpty()" because the return value of "com.microfocus.example.entity.User.getPassword()" is null]

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions