Guest User

bahmni-reports.log

a guest
Feb 28th, 2021
36
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Mar 01, 2021 6:03:12 AM org.apache.coyote.AbstractProtocol init
  2. INFO: Initializing ProtocolHandler ["http-nio-8051"]
  3. Mar 01, 2021 6:03:12 AM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
  4. INFO: Using a shared selector for servlet write/read
  5. Mar 01, 2021 6:03:12 AM org.apache.catalina.core.StandardService startInternal
  6. INFO: Starting service Tomcat
  7. Mar 01, 2021 6:03:12 AM org.apache.catalina.core.StandardEngine startInternal
  8. INFO: Starting Servlet Engine: Apache Tomcat/8.0.12
  9. Mar 01, 2021 6:03:13 AM org.apache.catalina.startup.ContextConfig getDefaultWebXmlFragment
  10. INFO: No global web.xml found
  11. Mar 01, 2021 6:03:21 AM org.apache.catalina.core.ApplicationContext log
  12. INFO: 1 Spring WebApplicationInitializers detected on classpath
  13. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  14. SLF4J: Defaulting to no-operation (NOP) logger implementation
  15. SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  16. Mar 01, 2021 6:03:22 AM org.apache.catalina.core.ApplicationContext log
  17. INFO: Initializing Spring FrameworkServlet 'dispatcher'
  18. java.io.FileNotFoundException: /root/.bahmni-reports/bahmni-reports.properties (No such file or directory)
  19. at java.io.FileInputStream.open0(Native Method)
  20. at java.io.FileInputStream.open(Unknown Source)
  21. at java.io.FileInputStream.<init>(Unknown Source)
  22. at java.io.FileInputStream.<init>(Unknown Source)
  23. at org.bahmni.reports.BahmniReportsProperties.<init>(BahmniReportsProperties.java:25)
  24. at org.bahmni.reports.BahmniReportsProperties.<init>(BahmniReportsProperties.java:18)
  25. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  26. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  27. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  28. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  29. at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
  30. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
  31. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)
  32. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)
  33. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  34. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  35. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  36. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  37. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  38. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  39. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
  40. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
  41. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
  42. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
  43. at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
  44. at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
  45. at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
  46. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
  47. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
  48. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  49. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  50. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  51. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  52. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  53. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  54. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:372)
  55. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
  56. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
  57. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  58. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  59. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  60. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  61. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  62. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  63. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
  64. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
  65. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
  66. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
  67. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)
  68. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  69. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)
  70. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
  71. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
  72. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  73. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  74. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  75. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  76. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  77. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
  78. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
  79. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
  80. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
  81. at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
  82. at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
  83. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467)
  84. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
  85. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
  86. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  87. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  88. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  89. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  90. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  91. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  92. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
  93. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
  94. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
  95. at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:668)
  96. at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:540)
  97. at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:494)
  98. at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
  99. at javax.servlet.GenericServlet.init(GenericServlet.java:158)
  100. at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1241)
  101. at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1044)
  102. at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4923)
  103. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5209)
  104. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  105. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
  106. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
  107. at java.util.concurrent.FutureTask.run(Unknown Source)
  108. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  109. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  110. at java.lang.Thread.run(Unknown Source)
  111. 2021-03-01 06:03:23,703 INFO [bahmnireports][com.mchange.v2.log.MLog] MLog clients using log4j logging.
  112. 2021-03-01 06:03:23,747 INFO [bahmnireports][com.mchange.v2.c3p0.C3P0Registry] Initializing c3p0-0.9.1 [built 16-January-2007 14:46:42; debug? true; trace: 10]
  113. Mar 01, 2021 6:03:23 AM org.apache.catalina.core.ApplicationContext log
  114. SEVERE: StandardWrapper.Throwable
  115. org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/bahmni/reports/persistence/PersistenceConfiguration.class]: Unsatisfied dependency expressed through method 'entityManagerFactory' parameter 0: Error creating bean with name 'allDatasources': Unsatisfied dependency expressed through field 'openerpDataSource': Error creating bean with name 'openmrsDataSource' defined in class path resource [org/bahmni/reports/BahmniReportsConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrsDataSource' defined in class path resource [org/bahmni/reports/BahmniReportsConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'allDatasources': Unsatisfied dependency expressed through field 'openerpDataSource': Error creating bean with name 'openmrsDataSource' defined in class path resource [org/bahmni/reports/BahmniReportsConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrsDataSource' defined in class path resource [org/bahmni/reports/BahmniReportsConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException
  116. at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
  117. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467)
  118. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
  119. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
  120. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  121. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  122. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  123. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  124. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  125. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  126. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
  127. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
  128. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
  129. at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:668)
  130. at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:540)
  131. at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:494)
  132. at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
  133. at javax.servlet.GenericServlet.init(GenericServlet.java:158)
  134. at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1241)
  135. at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1044)
  136. at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4923)
  137. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5209)
  138. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  139. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
  140. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
  141. at java.util.concurrent.FutureTask.run(Unknown Source)
  142. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  143. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  144. at java.lang.Thread.run(Unknown Source)
  145. Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'allDatasources': Unsatisfied dependency expressed through field 'openerpDataSource': Error creating bean with name 'openmrsDataSource' defined in class path resource [org/bahmni/reports/BahmniReportsConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrsDataSource' defined in class path resource [org/bahmni/reports/BahmniReportsConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException
  146. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:569)
  147. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  148. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)
  149. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
  150. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
  151. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  152. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  153. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  154. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  155. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  156. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
  157. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
  158. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
  159. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
  160. at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
  161. at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
  162. ... 28 more
  163. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrsDataSource' defined in class path resource [org/bahmni/reports/BahmniReportsConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException
  164. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
  165. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
  166. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
  167. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  168. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  169. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  170. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  171. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  172. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  173. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
  174. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
  175. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
  176. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
  177. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)
  178. ... 43 more
  179. Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException
  180. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
  181. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
  182. ... 56 more
  183. Caused by: java.lang.NullPointerException
  184. at org.bahmni.reports.BahmniReportsProperties.getOpenmrsUrl(BahmniReportsProperties.java:63)
  185. at org.bahmni.reports.BahmniReportsConfiguration.openmrsDataSource(BahmniReportsConfiguration.java:72)
  186. at org.bahmni.reports.BahmniReportsConfiguration$$EnhancerBySpringCGLIB$$95e81389.CGLIB$openmrsDataSource$2(<generated>)
  187. at org.bahmni.reports.BahmniReportsConfiguration$$EnhancerBySpringCGLIB$$95e81389$$FastClassBySpringCGLIB$$f49073a1.invoke(<generated>)
  188. at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
  189. at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356)
  190. at org.bahmni.reports.BahmniReportsConfiguration$$EnhancerBySpringCGLIB$$95e81389.openmrsDataSource(<generated>)
  191. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  192. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  193. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  194. at java.lang.reflect.Method.invoke(Unknown Source)
  195. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
  196. ... 57 more
  197.  
  198. Mar 01, 2021 6:03:23 AM org.apache.catalina.core.StandardContext loadOnStartup
  199. SEVERE: Servlet /bahmnireports threw load() exception
  200. java.lang.NullPointerException
  201. at org.bahmni.reports.BahmniReportsProperties.getOpenmrsUrl(BahmniReportsProperties.java:63)
  202. at org.bahmni.reports.BahmniReportsConfiguration.openmrsDataSource(BahmniReportsConfiguration.java:72)
  203. at org.bahmni.reports.BahmniReportsConfiguration$$EnhancerBySpringCGLIB$$95e81389.CGLIB$openmrsDataSource$2(<generated>)
  204. at org.bahmni.reports.BahmniReportsConfiguration$$EnhancerBySpringCGLIB$$95e81389$$FastClassBySpringCGLIB$$f49073a1.invoke(<generated>)
  205. at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
  206. at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356)
  207. at org.bahmni.reports.BahmniReportsConfiguration$$EnhancerBySpringCGLIB$$95e81389.openmrsDataSource(<generated>)
  208. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  209. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  210. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  211. at java.lang.reflect.Method.invoke(Unknown Source)
  212. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
  213. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
  214. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
  215. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
  216. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  217. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  218. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  219. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  220. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  221. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  222. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
  223. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
  224. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
  225. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
  226. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)
  227. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  228. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)
  229. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
  230. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
  231. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  232. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  233. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  234. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  235. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  236. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
  237. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
  238. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
  239. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
  240. at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
  241. at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
  242. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467)
  243. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
  244. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
  245. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  246. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  247. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  248. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  249. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  250. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  251. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
  252. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
  253. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
  254. at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:668)
  255. at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:540)
  256. at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:494)
  257. at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
  258. at javax.servlet.GenericServlet.init(GenericServlet.java:158)
  259. at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1241)
  260. at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1044)
  261. at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4923)
  262. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5209)
  263. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  264. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
  265. at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
  266. at java.util.concurrent.FutureTask.run(Unknown Source)
  267. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  268. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  269. at java.lang.Thread.run(Unknown Source)
  270.  
  271. Mar 01, 2021 6:03:23 AM org.apache.coyote.AbstractProtocol start
  272. INFO: Starting ProtocolHandler ["http-nio-8051"]
  273. Mar 01, 2021 6:04:54 AM org.apache.catalina.core.ApplicationContext log
  274. INFO: Initializing Spring FrameworkServlet 'dispatcher'
  275. java.io.FileNotFoundException: /root/.bahmni-reports/bahmni-reports.properties (No such file or directory)
  276. at java.io.FileInputStream.open0(Native Method)
  277. at java.io.FileInputStream.open(Unknown Source)
  278. at java.io.FileInputStream.<init>(Unknown Source)
  279. at java.io.FileInputStream.<init>(Unknown Source)
  280. at org.bahmni.reports.BahmniReportsProperties.<init>(BahmniReportsProperties.java:25)
  281. at org.bahmni.reports.BahmniReportsProperties.<init>(BahmniReportsProperties.java:18)
  282. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  283. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  284. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  285. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  286. at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
  287. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
  288. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)
  289. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)
  290. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  291. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  292. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  293. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  294. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  295. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  296. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
  297. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
  298. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
  299. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
  300. at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
  301. at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
  302. at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
  303. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
  304. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
  305. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  306. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  307. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  308. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  309. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  310. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  311. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:372)
  312. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
  313. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
  314. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  315. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  316. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  317. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  318. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  319. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  320. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
  321. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
  322. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
  323. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
  324. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)
  325. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  326. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)
  327. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
  328. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
  329. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  330. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  331. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  332. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  333. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  334. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
  335. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
  336. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
  337. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
  338. at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
  339. at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
  340. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467)
  341. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
  342. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
  343. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  344. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  345. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  346. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  347. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  348. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  349. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
  350. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
  351. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
  352. at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:668)
  353. at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:540)
  354. at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:494)
  355. at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
  356. at javax.servlet.GenericServlet.init(GenericServlet.java:158)
  357. at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1241)
  358. at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:847)
  359. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)
  360. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
  361. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
  362. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
  363. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
  364. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
  365. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:534)
  366. at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081)
  367. at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
  368. at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
  369. at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)
  370. at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)
  371. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  372. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  373. at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  374. at java.lang.Thread.run(Unknown Source)
  375. Mar 01, 2021 6:04:55 AM org.apache.catalina.core.ApplicationContext log
  376. SEVERE: StandardWrapper.Throwable
  377. org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/bahmni/reports/persistence/PersistenceConfiguration.class]: Unsatisfied dependency expressed through method 'entityManagerFactory' parameter 0: Error creating bean with name 'allDatasources': Unsatisfied dependency expressed through field 'openerpDataSource': Error creating bean with name 'openmrsDataSource' defined in class path resource [org/bahmni/reports/BahmniReportsConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrsDataSource' defined in class path resource [org/bahmni/reports/BahmniReportsConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'allDatasources': Unsatisfied dependency expressed through field 'openerpDataSource': Error creating bean with name 'openmrsDataSource' defined in class path resource [org/bahmni/reports/BahmniReportsConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrsDataSource' defined in class path resource [org/bahmni/reports/BahmniReportsConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException
  378. at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
  379. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467)
  380. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
  381. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
  382. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  383. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  384. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  385. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  386. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  387. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  388. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
  389. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
  390. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
  391. at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:668)
  392. at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:540)
  393. at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:494)
  394. at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
  395. at javax.servlet.GenericServlet.init(GenericServlet.java:158)
  396. at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1241)
  397. at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:847)
  398. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)
  399. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
  400. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
  401. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
  402. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
  403. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
  404. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:534)
  405. at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081)
  406. at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
  407. at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
  408. at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)
  409. at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)
  410. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  411. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  412. at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  413. at java.lang.Thread.run(Unknown Source)
  414. Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'allDatasources': Unsatisfied dependency expressed through field 'openerpDataSource': Error creating bean with name 'openmrsDataSource' defined in class path resource [org/bahmni/reports/BahmniReportsConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrsDataSource' defined in class path resource [org/bahmni/reports/BahmniReportsConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException
  415. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:569)
  416. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  417. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)
  418. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
  419. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
  420. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  421. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  422. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  423. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  424. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  425. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
  426. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
  427. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
  428. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
  429. at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
  430. at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
  431. ... 35 more
  432. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'openmrsDataSource' defined in class path resource [org/bahmni/reports/BahmniReportsConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException
  433. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
  434. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
  435. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
  436. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  437. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  438. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  439. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  440. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  441. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  442. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
  443. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
  444. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
  445. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
  446. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)
  447. ... 50 more
  448. Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.mchange.v2.c3p0.ComboPooledDataSource]: Factory method 'openmrsDataSource' threw exception; nested exception is java.lang.NullPointerException
  449. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
  450. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
  451. ... 63 more
  452. Caused by: java.lang.NullPointerException
  453. at org.bahmni.reports.BahmniReportsProperties.getOpenmrsUrl(BahmniReportsProperties.java:63)
  454. at org.bahmni.reports.BahmniReportsConfiguration.openmrsDataSource(BahmniReportsConfiguration.java:72)
  455. at org.bahmni.reports.BahmniReportsConfiguration$$EnhancerBySpringCGLIB$$95e81389.CGLIB$openmrsDataSource$2(<generated>)
  456. at org.bahmni.reports.BahmniReportsConfiguration$$EnhancerBySpringCGLIB$$95e81389$$FastClassBySpringCGLIB$$f49073a1.invoke(<generated>)
  457. at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
  458. at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356)
  459. at org.bahmni.reports.BahmniReportsConfiguration$$EnhancerBySpringCGLIB$$95e81389.openmrsDataSource(<generated>)
  460. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  461. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  462. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  463. at java.lang.reflect.Method.invoke(Unknown Source)
  464. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
  465. ... 64 more
  466.  
  467. Mar 01, 2021 6:04:55 AM org.apache.catalina.core.StandardWrapperValve invoke
  468. SEVERE: Allocate exception for servlet dispatcher
  469. java.lang.NullPointerException
  470. at org.bahmni.reports.BahmniReportsProperties.getOpenmrsUrl(BahmniReportsProperties.java:63)
  471. at org.bahmni.reports.BahmniReportsConfiguration.openmrsDataSource(BahmniReportsConfiguration.java:72)
  472. at org.bahmni.reports.BahmniReportsConfiguration$$EnhancerBySpringCGLIB$$95e81389.CGLIB$openmrsDataSource$2(<generated>)
  473. at org.bahmni.reports.BahmniReportsConfiguration$$EnhancerBySpringCGLIB$$95e81389$$FastClassBySpringCGLIB$$f49073a1.invoke(<generated>)
  474. at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
  475. at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356)
  476. at org.bahmni.reports.BahmniReportsConfiguration$$EnhancerBySpringCGLIB$$95e81389.openmrsDataSource(<generated>)
  477. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  478. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  479. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  480. at java.lang.reflect.Method.invoke(Unknown Source)
  481. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
  482. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
  483. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
  484. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
  485. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  486. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  487. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  488. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  489. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  490. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  491. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
  492. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
  493. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
  494. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
  495. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)
  496. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
  497. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)
  498. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
  499. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
  500. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  501. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  502. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  503. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  504. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
  505. at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
  506. at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1214)
  507. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1054)
  508. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1019)
  509. at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
  510. at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
  511. at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467)
  512. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123)
  513. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018)
  514. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  515. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  516. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  517. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  518. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  519. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  520. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1076)
  521. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:851)
  522. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
  523. at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:668)
  524. at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:540)
  525. at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:494)
  526. at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
  527. at javax.servlet.GenericServlet.init(GenericServlet.java:158)
  528. at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1241)
  529. at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:847)
  530. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:135)
  531. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
  532. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
  533. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
  534. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
  535. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
  536. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:534)
  537. at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081)
  538. at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
  539. at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
  540. at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)
  541. at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)
  542. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  543. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  544. at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  545. at java.lang.Thread.run(Unknown Source)
  546.  
RAW Paste Data