|
@@ -0,0 +1,912 @@
|
|
|
+14:15:50.320 [http-nio-8088-exec-2] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - [log,181] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: CALLCONTRACTBIZASYNC method must has outTypes] with root cause
|
|
|
+java.lang.RuntimeException: CALLCONTRACTBIZASYNC method must has outTypes
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.chainCallForBiz(RestClient.java:794)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.bizChainCallWithReceipt(RestClient.java:681)
|
|
|
+ at com.alipay.openchain.flow.ContractFlowforkms.callSolidityContract(ContractFlowforkms.java:153)
|
|
|
+ at com.alipay.openchain.controller.Api.IssueAddrKms(Api.java:130)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
|
|
|
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
|
|
|
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
|
|
|
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
|
|
|
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
|
|
|
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
|
|
|
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
|
|
|
+ at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
|
|
|
+ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
+ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
|
|
|
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
|
|
|
+ at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
|
|
|
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
+ at java.lang.Thread.run(Thread.java:748)
|
|
|
+14:42:02.689 [main] ERROR o.s.b.SpringApplication - [reportFailure,771] - Application startup failed
|
|
|
+org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'contractFlow': Unsatisfied dependency expressed through field 'restClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getRestClient': Invocation of init method failed; nested exception is org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://rest.baas.alipay.com/api/contract/shakeHand": Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: connect timed out; nested exception is org.apache.http.conn.ConnectTimeoutException: Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: connect timed out
|
|
|
+ at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588)
|
|
|
+ at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
|
|
|
+ at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
|
|
|
+ at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
|
|
|
+ at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
|
|
|
+ at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
|
|
|
+ at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
|
|
|
+ at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
|
|
|
+ at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
|
|
|
+ at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
|
|
|
+ at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
|
|
|
+ at com.alipay.openchain.OpenchainDemoApplication.main(OpenchainDemoApplication.java:15)
|
|
|
+Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getRestClient': Invocation of init method failed; nested exception is org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://rest.baas.alipay.com/api/contract/shakeHand": Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: connect timed out; nested exception is org.apache.http.conn.ConnectTimeoutException: Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: connect timed out
|
|
|
+ at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:137)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
|
|
|
+ at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
|
|
|
+ at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
|
|
|
+ at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
|
|
|
+ at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
|
|
|
+ at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:585)
|
|
|
+ ... 17 common frames omitted
|
|
|
+Caused by: org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://rest.baas.alipay.com/api/contract/shakeHand": Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: connect timed out; nested exception is org.apache.http.conn.ConnectTimeoutException: Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: connect timed out
|
|
|
+ at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:673)
|
|
|
+ at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:635)
|
|
|
+ at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:597)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.client.RestHttpClient.callBaaSRest(RestHttpClient.java:23)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.shake(RestClient.java:138)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.init(RestClient.java:148)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
|
|
|
+ at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
|
|
|
+ at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
|
|
|
+ ... 29 common frames omitted
|
|
|
+Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: connect timed out
|
|
|
+ at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:143)
|
|
|
+ at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
|
|
|
+ at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
|
|
|
+ at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
|
|
|
+ at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
|
|
|
+ at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
|
|
|
+ at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
|
|
|
+ at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
|
|
|
+ at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
|
|
|
+ at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
|
|
|
+ at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:89)
|
|
|
+ at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
|
|
|
+ at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
|
|
|
+ at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:659)
|
|
|
+ ... 41 common frames omitted
|
|
|
+Caused by: java.net.SocketTimeoutException: connect timed out
|
|
|
+ at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
|
|
|
+ at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
|
|
|
+ at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
|
|
|
+ at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
|
|
|
+ at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
|
|
|
+ at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
|
|
|
+ at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
|
|
|
+ at java.net.Socket.connect(Socket.java:589)
|
|
|
+ at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:337)
|
|
|
+ at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
|
|
|
+ ... 54 common frames omitted
|
|
|
+15:49:01.613 [http-nio-8088-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - [log,181] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: CALLCONTRACTBIZASYNC method must has outTypes] with root cause
|
|
|
+java.lang.RuntimeException: CALLCONTRACTBIZASYNC method must has outTypes
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.chainCallForBiz(RestClient.java:794)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.bizChainCallWithReceipt(RestClient.java:681)
|
|
|
+ at com.alipay.openchain.flow.ContractFlowforkms.callSolidityContract(ContractFlowforkms.java:157)
|
|
|
+ at com.alipay.openchain.controller.Api.IssueAddrKms(Api.java:189)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
|
|
|
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
|
|
|
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
|
|
|
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
|
|
|
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
|
|
|
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
|
|
|
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
|
|
|
+ at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
|
|
|
+ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
+ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
|
|
|
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
|
|
|
+ at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
|
|
|
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
+ at java.lang.Thread.run(Thread.java:748)
|
|
|
+15:50:27.879 [http-nio-8088-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - [log,181] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: CALLCONTRACTBIZASYNC method must has outTypes] with root cause
|
|
|
+java.lang.RuntimeException: CALLCONTRACTBIZASYNC method must has outTypes
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.chainCallForBiz(RestClient.java:794)
|
|
|
+ at com.alipay.openchain.flow.ContractFlowforkms.callSolidityContract(ContractFlowforkms.java:157)
|
|
|
+ at com.alipay.openchain.controller.Api.IssueAddrKms(Api.java:189)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
|
|
|
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
|
|
|
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
|
|
|
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
|
|
|
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
|
|
|
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
|
|
|
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
|
|
|
+ at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
|
|
|
+ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
+ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
|
|
|
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
|
|
|
+ at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
|
|
|
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
+ at java.lang.Thread.run(Thread.java:748)
|
|
|
+15:52:21.564 [http-nio-8088-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - [log,181] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: CALLCONTRACTBIZASYNC method must has outTypes] with root cause
|
|
|
+java.lang.RuntimeException: CALLCONTRACTBIZASYNC method must has outTypes
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.chainCallForBiz(RestClient.java:794)
|
|
|
+ at com.alipay.openchain.flow.ContractFlowforkms.callSolidityContract(ContractFlowforkms.java:158)
|
|
|
+ at com.alipay.openchain.controller.Api.IssueAddrKms(Api.java:189)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
|
|
|
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
|
|
|
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
|
|
|
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
|
|
|
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
|
|
|
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
|
|
|
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
|
|
|
+ at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
|
|
|
+ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
+ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
|
|
|
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
|
|
|
+ at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
|
|
|
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
+ at java.lang.Thread.run(Thread.java:748)
|
|
|
+15:52:45.181 [http-nio-8088-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - [log,181] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: CALLCONTRACTBIZASYNC method must has inputParamListStr] with root cause
|
|
|
+java.lang.RuntimeException: CALLCONTRACTBIZASYNC method must has inputParamListStr
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.chainCallForBiz(RestClient.java:794)
|
|
|
+ at com.alipay.openchain.flow.ContractFlowforkms.callSolidityContract(ContractFlowforkms.java:158)
|
|
|
+ at com.alipay.openchain.controller.Api.IssueAddrKms(Api.java:189)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
|
|
|
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
|
|
|
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
|
|
|
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
|
|
|
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
|
|
|
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
|
|
|
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
|
|
|
+ at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
|
|
|
+ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
+ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
|
|
|
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
|
|
|
+ at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
|
|
|
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
+ at java.lang.Thread.run(Thread.java:748)
|
|
|
+17:04:08.226 [http-nio-8088-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - [log,181] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.alibaba.fastjson.JSONException: can not cast to : com.alipay.mychain.sdk.domain.account.Identity] with root cause
|
|
|
+com.alibaba.fastjson.JSONException: can not cast to : com.alipay.mychain.sdk.domain.account.Identity
|
|
|
+ at com.alibaba.fastjson.util.TypeUtils.cast(TypeUtils.java:1260)
|
|
|
+ at com.alibaba.fastjson.util.TypeUtils.castToJavaBean(TypeUtils.java:1069)
|
|
|
+ at com.alibaba.fastjson.JSONArray.getObject(JSONArray.java:273)
|
|
|
+ at com.antfinancial.mychain.baas.tool.utils.ContractParameterUtils.addParameter4Contract(ContractParameterUtils.java:50)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.request.ConstructCallContractRequest.createCallContractTransaction(ConstructCallContractRequest.java:44)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.createCallContractTransaction(RestClient.java:191)
|
|
|
+ at com.alipay.openchain.flow.ContractFlow.callSolidityContract(ContractFlow.java:107)
|
|
|
+ at com.alipay.openchain.controller.Api.IssueAddr(Api.java:111)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
|
|
|
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
|
|
|
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
|
|
|
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
|
|
|
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
|
|
|
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
|
|
|
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
|
|
|
+ at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
|
|
|
+ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
+ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
|
|
|
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
|
|
|
+ at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
|
|
|
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
+ at java.lang.Thread.run(Thread.java:748)
|
|
|
+17:04:52.664 [main] ERROR o.s.b.SpringApplication - [reportFailure,771] - Application startup failed
|
|
|
+org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'contractFlow': Unsatisfied dependency expressed through field 'restClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getRestClient': Invocation of init method failed; nested exception is org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://rest.baas.alipay.com/api/contract/shakeHand": Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: Read timed out; nested exception is org.apache.http.conn.ConnectTimeoutException: Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: Read timed out
|
|
|
+ at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588)
|
|
|
+ at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
|
|
|
+ at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
|
|
|
+ at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
|
|
|
+ at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
|
|
|
+ at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
|
|
|
+ at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
|
|
|
+ at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
|
|
|
+ at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
|
|
|
+ at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
|
|
|
+ at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
|
|
|
+ at com.alipay.openchain.OpenchainDemoApplication.main(OpenchainDemoApplication.java:15)
|
|
|
+Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getRestClient': Invocation of init method failed; nested exception is org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://rest.baas.alipay.com/api/contract/shakeHand": Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: Read timed out; nested exception is org.apache.http.conn.ConnectTimeoutException: Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: Read timed out
|
|
|
+ at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:137)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
|
|
|
+ at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
|
|
|
+ at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
|
|
|
+ at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
|
|
|
+ at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
|
|
|
+ at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:585)
|
|
|
+ ... 17 common frames omitted
|
|
|
+Caused by: org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://rest.baas.alipay.com/api/contract/shakeHand": Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: Read timed out; nested exception is org.apache.http.conn.ConnectTimeoutException: Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: Read timed out
|
|
|
+ at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:673)
|
|
|
+ at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:635)
|
|
|
+ at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:597)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.client.RestHttpClient.callBaaSRest(RestHttpClient.java:23)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.shake(RestClient.java:138)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.init(RestClient.java:148)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
|
|
|
+ at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
|
|
|
+ at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
|
|
|
+ ... 29 common frames omitted
|
|
|
+Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: Read timed out
|
|
|
+ at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:143)
|
|
|
+ at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
|
|
|
+ at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
|
|
|
+ at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
|
|
|
+ at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
|
|
|
+ at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
|
|
|
+ at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
|
|
|
+ at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
|
|
|
+ at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
|
|
|
+ at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
|
|
|
+ at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:89)
|
|
|
+ at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
|
|
|
+ at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
|
|
|
+ at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:659)
|
|
|
+ ... 41 common frames omitted
|
|
|
+Caused by: java.net.SocketTimeoutException: Read timed out
|
|
|
+ at java.net.SocketInputStream.socketRead0(Native Method)
|
|
|
+ at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
|
|
|
+ at java.net.SocketInputStream.read(SocketInputStream.java:171)
|
|
|
+ at java.net.SocketInputStream.read(SocketInputStream.java:141)
|
|
|
+ at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
|
|
|
+ at sun.security.ssl.InputRecord.read(InputRecord.java:503)
|
|
|
+ at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
|
|
|
+ at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
|
|
|
+ at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
|
|
|
+ at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
|
|
|
+ at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
|
|
|
+ at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
|
|
|
+ at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
|
|
|
+ ... 54 common frames omitted
|
|
|
+17:05:28.997 [http-nio-8088-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - [log,181] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: Unsupported function parameter type: Identity] with root cause
|
|
|
+java.lang.RuntimeException: Unsupported function parameter type: Identity
|
|
|
+ at com.antfinancial.mychain.baas.tool.utils.ContractParameterUtils.addParameter4Contract(ContractParameterUtils.java:62)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.request.ConstructCallContractRequest.createCallContractTransaction(ConstructCallContractRequest.java:44)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.createCallContractTransaction(RestClient.java:191)
|
|
|
+ at com.alipay.openchain.flow.ContractFlow.callSolidityContract(ContractFlow.java:107)
|
|
|
+ at com.alipay.openchain.controller.Api.IssueAddr(Api.java:111)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
|
|
|
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
|
|
|
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
|
|
|
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
|
|
|
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
|
|
|
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
|
|
|
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
|
|
|
+ at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
|
|
|
+ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
+ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
|
|
|
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
|
|
|
+ at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
|
|
|
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
+ at java.lang.Thread.run(Thread.java:748)
|
|
|
+17:07:03.384 [http-nio-8088-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - [log,181] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is com.alibaba.fastjson.JSONException: can not cast to : com.alipay.mychain.sdk.domain.account.Identity] with root cause
|
|
|
+com.alibaba.fastjson.JSONException: can not cast to : com.alipay.mychain.sdk.domain.account.Identity
|
|
|
+ at com.alibaba.fastjson.util.TypeUtils.cast(TypeUtils.java:1260)
|
|
|
+ at com.alibaba.fastjson.util.TypeUtils.castToJavaBean(TypeUtils.java:1069)
|
|
|
+ at com.alibaba.fastjson.JSONArray.getObject(JSONArray.java:273)
|
|
|
+ at com.antfinancial.mychain.baas.tool.utils.ContractParameterUtils.addParameter4Contract(ContractParameterUtils.java:50)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.request.ConstructCallContractRequest.createCallContractTransaction(ConstructCallContractRequest.java:44)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.createCallContractTransaction(RestClient.java:191)
|
|
|
+ at com.alipay.openchain.flow.ContractFlow.callSolidityContract(ContractFlow.java:107)
|
|
|
+ at com.alipay.openchain.controller.Api.IssueAddr(Api.java:111)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
|
|
|
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
|
|
|
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
|
|
|
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
|
|
|
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
|
|
|
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
|
|
|
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
|
|
|
+ at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
|
|
|
+ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
+ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
|
|
|
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
|
|
|
+ at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
|
|
|
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
+ at java.lang.Thread.run(Thread.java:748)
|
|
|
+17:09:04.895 [http-nio-8088-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - [log,181] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.NumberFormatException: For input string: "{"data""] with root cause
|
|
|
+java.lang.NumberFormatException: For input string: "{"data""
|
|
|
+ at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
|
|
|
+ at java.lang.Integer.parseInt(Integer.java:580)
|
|
|
+ at java.math.BigInteger.<init>(BigInteger.java:470)
|
|
|
+ at java.math.BigInteger.<init>(BigInteger.java:606)
|
|
|
+ at com.alibaba.fastjson.util.TypeUtils.castToBigInteger(TypeUtils.java:380)
|
|
|
+ at com.alibaba.fastjson.JSONArray.getBigInteger(JSONArray.java:417)
|
|
|
+ at com.antfinancial.mychain.baas.tool.utils.ContractParameterUtils.addParameter4Contract(ContractParameterUtils.java:38)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.request.ConstructCallContractRequest.createCallContractTransaction(ConstructCallContractRequest.java:44)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.createCallContractTransaction(RestClient.java:191)
|
|
|
+ at com.alipay.openchain.flow.ContractFlow.callSolidityContract(ContractFlow.java:107)
|
|
|
+ at com.alipay.openchain.controller.Api.IssueAddr(Api.java:111)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
|
|
|
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
|
|
|
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
|
|
|
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
|
|
|
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
|
|
|
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
|
|
|
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
|
|
|
+ at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
|
|
|
+ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
+ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
|
|
|
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
|
|
|
+ at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
|
|
|
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
+ at java.lang.Thread.run(Thread.java:748)
|
|
|
+17:21:55.482 [main] ERROR o.s.b.SpringApplication - [reportFailure,771] - Application startup failed
|
|
|
+org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'contractFlow': Unsatisfied dependency expressed through field 'restClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getRestClient': Invocation of init method failed; nested exception is org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://rest.baas.alipay.com/api/contract/shakeHand": Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: Read timed out; nested exception is org.apache.http.conn.ConnectTimeoutException: Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: Read timed out
|
|
|
+ at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588)
|
|
|
+ at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
|
|
|
+ at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
|
|
|
+ at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
|
|
|
+ at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
|
|
|
+ at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
|
|
|
+ at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
|
|
|
+ at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
|
|
|
+ at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
|
|
|
+ at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
|
|
|
+ at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
|
|
|
+ at com.alipay.openchain.OpenchainDemoApplication.main(OpenchainDemoApplication.java:15)
|
|
|
+Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getRestClient': Invocation of init method failed; nested exception is org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://rest.baas.alipay.com/api/contract/shakeHand": Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: Read timed out; nested exception is org.apache.http.conn.ConnectTimeoutException: Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: Read timed out
|
|
|
+ at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:137)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:409)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1620)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
|
|
|
+ at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
|
|
|
+ at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
|
|
|
+ at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
|
|
|
+ at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
|
|
|
+ at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
|
|
|
+ at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
|
|
|
+ at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:585)
|
|
|
+ ... 17 common frames omitted
|
|
|
+Caused by: org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://rest.baas.alipay.com/api/contract/shakeHand": Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: Read timed out; nested exception is org.apache.http.conn.ConnectTimeoutException: Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: Read timed out
|
|
|
+ at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:673)
|
|
|
+ at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:635)
|
|
|
+ at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:597)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.client.RestHttpClient.callBaaSRest(RestHttpClient.java:23)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.shake(RestClient.java:138)
|
|
|
+ at com.antfinancial.mychain.baas.tool.restclient.RestClient.init(RestClient.java:148)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:366)
|
|
|
+ at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:311)
|
|
|
+ at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:134)
|
|
|
+ ... 29 common frames omitted
|
|
|
+Caused by: org.apache.http.conn.ConnectTimeoutException: Connect to rest.baas.alipay.com:443 [rest.baas.alipay.com/203.107.53.50] failed: Read timed out
|
|
|
+ at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:143)
|
|
|
+ at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
|
|
|
+ at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
|
|
|
+ at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
|
|
|
+ at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
|
|
|
+ at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
|
|
|
+ at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
|
|
|
+ at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
|
|
|
+ at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
|
|
|
+ at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
|
|
|
+ at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:89)
|
|
|
+ at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
|
|
|
+ at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
|
|
|
+ at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:659)
|
|
|
+ ... 41 common frames omitted
|
|
|
+Caused by: java.net.SocketTimeoutException: Read timed out
|
|
|
+ at java.net.SocketInputStream.socketRead0(Native Method)
|
|
|
+ at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
|
|
|
+ at java.net.SocketInputStream.read(SocketInputStream.java:171)
|
|
|
+ at java.net.SocketInputStream.read(SocketInputStream.java:141)
|
|
|
+ at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
|
|
|
+ at sun.security.ssl.InputRecord.readV3Record(InputRecord.java:593)
|
|
|
+ at sun.security.ssl.InputRecord.read(InputRecord.java:532)
|
|
|
+ at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
|
|
|
+ at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
|
|
|
+ at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
|
|
|
+ at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
|
|
|
+ at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394)
|
|
|
+ at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353)
|
|
|
+ at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
|
|
|
+ ... 54 common frames omitted
|
|
|
+18:11:54.701 [http-nio-8088-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - [log,181] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.StringIndexOutOfBoundsException: String index out of range: -9] with root cause
|
|
|
+java.lang.StringIndexOutOfBoundsException: String index out of range: -9
|
|
|
+ at java.lang.String.substring(String.java:1967)
|
|
|
+ at com.alipay.openchain.flow.ContractFlow.selectSolidityContract(ContractFlow.java:268)
|
|
|
+ at com.alipay.openchain.controller.Api.select(Api.java:150)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
|
|
|
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
|
|
|
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
|
|
|
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
|
|
|
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
|
|
|
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
|
|
|
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
|
|
|
+ at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
|
|
|
+ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
+ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
|
|
|
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
|
|
|
+ at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
|
|
|
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
+ at java.lang.Thread.run(Thread.java:748)
|
|
|
+18:13:20.545 [http-nio-8088-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - [log,181] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.StringIndexOutOfBoundsException: String index out of range: -9] with root cause
|
|
|
+java.lang.StringIndexOutOfBoundsException: String index out of range: -9
|
|
|
+ at java.lang.String.substring(String.java:1967)
|
|
|
+ at com.alipay.openchain.flow.ContractFlow.selectSolidityContract(ContractFlow.java:269)
|
|
|
+ at com.alipay.openchain.controller.Api.select(Api.java:150)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
|
|
+ at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
|
|
+ at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
|
|
+ at java.lang.reflect.Method.invoke(Method.java:498)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
|
|
|
+ at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
|
|
|
+ at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
|
|
|
+ at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
|
|
|
+ at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
|
|
|
+ at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
|
|
|
+ at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
|
|
|
+ at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
|
|
|
+ at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
|
|
|
+ at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
|
|
|
+ at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
|
|
|
+ at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
|
|
|
+ at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
|
|
|
+ at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
|
|
|
+ at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
|
|
|
+ at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
|
|
|
+ at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
|
|
|
+ at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
|
|
|
+ at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
|
|
|
+ at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
|
|
|
+ at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
|
|
|
+ at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
|
|
|
+ at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
|
|
|
+ at java.lang.Thread.run(Thread.java:748)
|