안녕하세요.
계정 3개로 테스트 해보는데요.
다른 계정은 잘 되는데 한 계정만 아래와 같은 오류가 발생하고있습니다.
도저희 이유를 모르겠습니다.
해당 계정만 이런 오류가 나네요 다른계정들은 다 잘되구요.
DEBUG 07.24 20:19:48.673 [ https-jsse-nio-443-exec-2] [org.web3j.protocol.http.HttpService ]: 208 -
DEBUG 07.24 20:19:48.673 [ https-jsse-nio-443-exec-2] [org.web3j.protocol.http.HttpService ]: 210 - {"jsonrpc":"2.0","method":"klay_getAccountKey","params":["0x2c0505ffcc540f74fb94f2792313f192e68c999e","latest"],"id":3}
DEBUG 07.24 20:19:48.673 [ https-jsse-nio-443-exec-2] [org.web3j.protocol.http.HttpService ]: 211 - --> END POST (119-byte body)
DEBUG 07.24 20:19:48.720 [ https-jsse-nio-443-exec-2] [org.web3j.protocol.http.HttpService ]: 233 - <-- 200 OK https://public-node-api.klaytnapi.com/v1/baobab (47ms)
DEBUG 07.24 20:19:48.721 [ https-jsse-nio-443-exec-2] [org.web3j.protocol.http.HttpService ]: 294 - content-type: application/json; charset=utf-8
DEBUG 07.24 20:19:48.721 [ https-jsse-nio-443-exec-2] [org.web3j.protocol.http.HttpService ]: 294 - date: Mon, 25 Jul 2022 00:19:48 GMT
DEBUG 07.24 20:19:48.721 [ https-jsse-nio-443-exec-2] [org.web3j.protocol.http.HttpService ]: 294 - content-length: 38
DEBUG 07.24 20:19:48.721 [ https-jsse-nio-443-exec-2] [org.web3j.protocol.http.HttpService ]: 294 - x-envoy-upstream-service-time: 5
DEBUG 07.24 20:19:48.721 [ https-jsse-nio-443-exec-2] [org.web3j.protocol.http.HttpService ]: 294 - server: istio-envoy
DEBUG 07.24 20:19:48.722 [ https-jsse-nio-443-exec-2] [org.web3j.protocol.http.HttpService ]: 276 -
DEBUG 07.24 20:19:48.722 [ https-jsse-nio-443-exec-2] [org.web3j.protocol.http.HttpService ]: 277 - {"id":3,"jsonrpc":"2.0","result":null}
DEBUG 07.24 20:19:48.722 [ https-jsse-nio-443-exec-2] [org.web3j.protocol.http.HttpService ]: 284 - <-- END HTTP (38-byte body)
ERROR 07.24 20:19:48.736 [ https-jsse-nio-443-exec-2] [c.z5corp.mtc.controller.LoginController ]: 40 - ERRO : {}
java.lang.NullPointerException: null
at com.klaytn.caver.validator.Validator.validateSignedMessage(Validator.java:151)
at com.klaytn.caver.validator.Validator.validateSignedMessage(Validator.java:90)
at com.z5corp.mtc.service.BaseService.klaytnVerify(BaseService.java:96)
at com.z5corp.mtc.controller.LoginController.klaytnVerify(LoginController.java:93)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:197)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:141)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1064)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:963)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:681)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:764)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:228)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:163)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)