Guest User

Untitled

a guest
Apr 8th, 2020
23
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. HTTP ERROR 500
  2.  
  3. Problem accessing /openmrs/module/appointmentscheduling/appointmentList.list. Reason:
  4.  
  5. Server Error
  6. Caused by:
  7.  
  8. org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.NullPointerException
  9. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:978)
  10. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
  11. at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
  12. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
  13. at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
  14. at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:816)
  15. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1686)
  16. at org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:60)
  17. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  18. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:73)
  19. at org.openmrs.module.owa.filter.OwaFilter.doFilter(OwaFilter.java:57)
  20. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  21. at org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:57)
  22. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  23. at org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
  24. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  25. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  26. at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  27. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  28. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  29. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  30. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  31. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  32. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  33. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  34. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  35. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  36. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  37. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  38. at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
  39. at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
  40. at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
  41. at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
  42. at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1156)
  43. at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
  44. at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
  45. at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1088)
  46. at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
  47. at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
  48. at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
  49. at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
  50. at org.eclipse.jetty.server.Server.handle(Server.java:517)
  51. at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
  52. at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
  53. at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245)
  54. at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
  55. at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
  56. at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
  57. at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
  58. at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
  59. at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
  60. at java.lang.Thread.run(Thread.java:748)
  61. Caused by: java.lang.NullPointerException
  62. at org.openmrs.module.appointmentscheduling.api.impl.AppointmentServiceImpl$1.compare(AppointmentServiceImpl.java:915)
  63. at org.openmrs.module.appointmentscheduling.api.impl.AppointmentServiceImpl$1.compare(AppointmentServiceImpl.java:912)
  64. at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
  65. at java.util.TimSort.sort(TimSort.java:220)
  66. at java.util.Arrays.sort(Arrays.java:1512)
  67. at java.util.ArrayList.sort(ArrayList.java:1462)
  68. at java.util.Collections.sort(Collections.java:177)
  69. at org.openmrs.module.appointmentscheduling.api.impl.AppointmentServiceImpl.getAllProvidersSorted(AppointmentServiceImpl.java:912)
  70. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  71. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  72. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  73. at java.lang.reflect.Method.invoke(Method.java:498)
  74. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  75. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  76. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  77. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  78. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  79. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  80. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  81. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  82. at com.sun.proxy.$Proxy261.getAllProvidersSorted(Unknown Source)
  83. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  84. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  85. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  86. at java.lang.reflect.Method.invoke(Method.java:498)
  87. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  88. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  89. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  90. at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:52)
  91. at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:303)
  92. at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61)
  93. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  94. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  95. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  96. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  97. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  98. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  99. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  100. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  101. at com.sun.proxy.$Proxy262.getAllProvidersSorted(Unknown Source)
  102. at org.openmrs.module.appointmentscheduling.web.controller.AppointmentListController.getProviderList(AppointmentListController.java:104)
  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.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:163)
  108. at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
  109. at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
  110. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
  111. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
  112. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
  113. ... 51 more
  114. Caused by:
  115.  
  116. java.lang.NullPointerException
  117. at org.openmrs.module.appointmentscheduling.api.impl.AppointmentServiceImpl$1.compare(AppointmentServiceImpl.java:915)
  118. at org.openmrs.module.appointmentscheduling.api.impl.AppointmentServiceImpl$1.compare(AppointmentServiceImpl.java:912)
  119. at java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
  120. at java.util.TimSort.sort(TimSort.java:220)
  121. at java.util.Arrays.sort(Arrays.java:1512)
  122. at java.util.ArrayList.sort(ArrayList.java:1462)
  123. at java.util.Collections.sort(Collections.java:177)
  124. at org.openmrs.module.appointmentscheduling.api.impl.AppointmentServiceImpl.getAllProvidersSorted(AppointmentServiceImpl.java:912)
  125. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  126. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  127. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  128. at java.lang.reflect.Method.invoke(Method.java:498)
  129. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  130. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  131. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  132. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  133. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  134. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  135. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  136. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  137. at com.sun.proxy.$Proxy261.getAllProvidersSorted(Unknown Source)
  138. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  139. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  140. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  141. at java.lang.reflect.Method.invoke(Method.java:498)
  142. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  143. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  144. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  145. at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:52)
  146. at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:303)
  147. at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61)
  148. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  149. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  150. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  151. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  152. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  153. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  154. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  155. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  156. at com.sun.proxy.$Proxy262.getAllProvidersSorted(Unknown Source)
  157. at org.openmrs.module.appointmentscheduling.web.controller.AppointmentListController.getProviderList(AppointmentListController.java:104)
  158. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  159. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  160. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  161. at java.lang.reflect.Method.invoke(Method.java:498)
  162. at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:163)
  163. at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
  164. at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
  165. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
  166. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
  167. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
  168. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
  169. at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
  170. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
  171. at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
  172. at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:816)
  173. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1686)
  174. at org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:60)
  175. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  176. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:73)
  177. at org.openmrs.module.owa.filter.OwaFilter.doFilter(OwaFilter.java:57)
  178. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  179. at org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:57)
  180. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  181. at org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
  182. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  183. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  184. at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  185. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  186. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  187. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  188. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  189. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  190. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  191. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  192. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  193. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  194. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  195. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  196. at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
  197. at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
  198. at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
  199. at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
  200. at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1156)
  201. at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
  202. at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
  203. at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1088)
  204. at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
  205. at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
  206. at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
  207. at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
  208. at org.eclipse.jetty.server.Server.handle(Server.java:517)
  209. at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
  210. at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
  211. at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245)
  212. at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
  213. at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
  214. at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
  215. at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
  216. at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
  217. at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
  218. at java.lang.Thread.run(Thread.java:748)
RAW Paste Data Copied