Skip to content

fix: 인증 과정 중 UserNotFoundException 에러 리스폰스 처리 오류 #16

Description

@zhy2on

Description

2025-12-07T14:46:19.208+09:00 DEBUG 77620 --- [nio-8080-exec-5] c.s.j.d.u.mapper.UserMapper.findByEmail  : ==>  Preparing: SELECT id, role_id, status_id, email, password_hash, nickname, profile_image_url, created_at, updated_at FROM user WHERE email = ?
2025-12-07T14:46:19.226+09:00 DEBUG 77620 --- [nio-8080-exec-5] c.s.j.d.u.mapper.UserMapper.findByEmail  : ==> Parameters: test@example.com(String)
2025-12-07T14:46:19.271+09:00 DEBUG 77620 --- [nio-8080-exec-5] c.s.j.d.u.mapper.UserMapper.findByEmail  : <==      Total: 0
2025-12-07T14:46:19.284+09:00 DEBUG 77620 --- [nio-8080-exec-5] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler com.ssafy.jjtrip.common.exception.GlobalExceptionHandler#handleGenericException(Exception)
2025-12-07T14:46:19.284+09:00 DEBUG 77620 --- [nio-8080-exec-5] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/json', given [*/*] and supported [application/json, application/*+json]
2025-12-07T14:46:19.284+09:00 DEBUG 77620 --- [nio-8080-exec-5] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [ErrorResponse[errorCode=INTERNAL_SERVER_ERROR, invalidParams=null]]
2025-12-07T14:46:19.285+09:00  WARN 77620 --- [nio-8080-exec-5] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.security.authentication.InternalAuthenticationServiceException: 해당하는 사용자를 찾을 수 없습니다.]
2025-12-07T14:46:19.286+09:00 DEBUG 77620 --- [nio-8080-exec-5] o.s.web.servlet.DispatcherServlet        : Completed 500 INTERNAL_SERVER_ERROR

인증 과정에서 UserNotFoundException 에러 리스폰스 처리가 GlobalExceptionHandler에서 잘 안 되고 있음.
500 서버에러가 남. 원인 찾고 해결하기

TODO

  • [ ]

Metadata

Metadata

Assignees

Labels

P3우선순위 낮음🐞 BugFixSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions