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

bug::room 삭제 api 사용 시 internal server error 발생 #40

Closed
SeJonJ opened this issue Jan 3, 2024 · 1 comment
Closed

bug::room 삭제 api 사용 시 internal server error 발생 #40

SeJonJ opened this issue Jan 3, 2024 · 1 comment
Labels
bug Something isn't working fixed 해결 완료!!

Comments

@SeJonJ
Copy link
Owner

SeJonJ commented Jan 3, 2024

room 삭제 api 사용 시 internal server error 발생

  • kurento room 이 아닌 일반 room 삭제 시 cast 에러 발생
2024-01-03 09:51:10.350 ERROR 1 --- [nio-8443-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is webChat.controller.ExceptionController$InternalServerError: class webChat.dto.ChatRoomDto cannot be cast to class webChat.dto.KurentoRoomDto (webChat.dto.ChatRoomDto and webChat.dto.KurentoRoomDto are in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @13a57a3b)] with root cause

webChat.controller.ExceptionController$InternalServerError: class webChat.dto.ChatRoomDto cannot be cast to class webChat.dto.KurentoRoomDto (webChat.dto.ChatRoomDto and webChat.dto.KurentoRoomDto are in unnamed module of loader org.springframework.boot.loader.LaunchedURLClassLoader @13a57a3b)
	at webChat.controller.AdminController.delRoom(AdminController.java:75) ~[classes!/:na]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
	at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150) ~[spring-web-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1070) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:681) ~[tomcat-embed-core-9.0.65.jar!/:na]
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) ~[spring-webmvc-5.3.22.jar!/:5.3.22]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:764) ~[tomcat-embed-core-9.0.65.jar!/:na]
@SeJonJ SeJonJ added the bug Something isn't working label Jan 3, 2024
@SeJonJ SeJonJ self-assigned this Jan 3, 2024
@SeJonJ
Copy link
Owner Author

SeJonJ commented May 21, 2024

#45 와 관련 버그로 확인 및 해당 버그 수정하며 수정된 내용으로 close 합니다.

@SeJonJ SeJonJ closed this as completed May 21, 2024
@SeJonJ SeJonJ added the fixed 해결 완료!! label May 21, 2024
@SeJonJ SeJonJ removed their assignment May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed 해결 완료!!
Projects
None yet
Development

No branches or pull requests

1 participant