sys-error.log 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. 09:49:50.076 [main] ERROR o.s.b.SpringApplication - [reportFailure,837] - Application run failed
  2. 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 java.lang.NullPointerException
  3. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643)
  4. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130)
  5. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
  6. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1422)
  7. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
  8. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
  9. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
  10. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226)
  11. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
  12. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  13. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:895)
  14. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)
  15. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  16. at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
  17. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758)
  18. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750)
  19. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
  20. at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
  21. at com.alipay.openchain.OpenchainDemoApplication.main(OpenchainDemoApplication.java:15)
  22. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getRestClient': Invocation of init method failed; nested exception is java.lang.NullPointerException
  23. at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160)
  24. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416)
  25. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788)
  26. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595)
  27. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
  28. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
  29. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226)
  30. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
  31. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  32. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
  33. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1306)
  34. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1226)
  35. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
  36. ... 18 common frames omitted
  37. Caused by: java.lang.NullPointerException: null
  38. at sun.misc.MetaIndex.mayContain(MetaIndex.java:242)
  39. at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:1032)
  40. at sun.misc.URLClassPath.getResource(URLClassPath.java:239)
  41. at sun.misc.URLClassPath.getResource(URLClassPath.java:292)
  42. at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1264)
  43. at java.lang.ClassLoader.getResource(ClassLoader.java:1093)
  44. at java.lang.ClassLoader.getResource(ClassLoader.java:1091)
  45. at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:232)
  46. at com.antfinancial.mychain.baas.tool.restclient.RestClient.readFromMultiSource(RestClient.java:122)
  47. at com.antfinancial.mychain.baas.tool.restclient.RestClient.init(RestClient.java:147)
  48. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  49. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  50. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  51. at java.lang.reflect.Method.invoke(Method.java:498)
  52. at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389)
  53. at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333)
  54. at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157)
  55. ... 30 common frames omitted
  56. 10:03:45.961 [main] ERROR o.s.b.SpringApplication - [reportFailure,837] - Application run failed
  57. 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 java.lang.NullPointerException
  58. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:643)
  59. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:130)
  60. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessProperties(AutowiredAnnotationBeanPostProcessor.java:399)
  61. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1422)
  62. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594)
  63. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
  64. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
  65. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226)
  66. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
  67. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  68. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:895)
  69. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:878)
  70. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550)
  71. at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:143)
  72. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:758)
  73. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:750)
  74. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
  75. at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
  76. at com.alipay.openchain.OpenchainDemoApplication.main(OpenchainDemoApplication.java:15)
  77. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'getRestClient': Invocation of init method failed; nested exception is java.lang.NullPointerException
  78. at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160)
  79. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:416)
  80. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1788)
  81. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:595)
  82. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:517)
  83. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:323)
  84. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226)
  85. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:321)
  86. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  87. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:276)
  88. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1306)
  89. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1226)
  90. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:640)
  91. ... 18 common frames omitted
  92. Caused by: java.lang.NullPointerException: null
  93. at sun.misc.MetaIndex.mayContain(MetaIndex.java:242)
  94. at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:1032)
  95. at sun.misc.URLClassPath.getResource(URLClassPath.java:239)
  96. at sun.misc.URLClassPath.getResource(URLClassPath.java:292)
  97. at java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1264)
  98. at java.lang.ClassLoader.getResource(ClassLoader.java:1093)
  99. at java.lang.ClassLoader.getResource(ClassLoader.java:1091)
  100. at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:232)
  101. at com.antfinancial.mychain.baas.tool.restclient.RestClient.readFromMultiSource(RestClient.java:122)
  102. at com.antfinancial.mychain.baas.tool.restclient.RestClient.init(RestClient.java:147)
  103. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  104. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  105. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  106. at java.lang.reflect.Method.invoke(Method.java:498)
  107. at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389)
  108. at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333)
  109. at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157)
  110. ... 30 common frames omitted