Advertisement
Guest User

Ankit

a guest
Feb 3rd, 2021
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.49 KB | None | 0 0
  1. UI Framework Error
  2. Root Error
  3. java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  4. at java.lang.String.substring(String.java:1967)
  5. at org.openmrs.module.registrationapp.converter.RegistrationSummaryExtensionsGenerator.generateRegSummaryId(RegistrationSummaryExtensionsGenerator.java:92)
  6. at org.openmrs.module.registrationapp.converter.RegistrationSummaryExtensionsGenerator.generate(RegistrationSummaryExtensionsGenerator.java:58)
  7. at org.openmrs.module.registrationapp.fragment.controller.summary.RegistrationSummaryFragmentController.controller(RegistrationSummaryFragmentController.java:65)
  8. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  9. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  10. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  11. at java.lang.reflect.Method.invoke(Method.java:498)
  12. at org.openmrs.ui.framework.UiFrameworkUtil.invokeMethodWithArguments(UiFrameworkUtil.java:112)
  13. at org.openmrs.ui.framework.UiFrameworkUtil.executeControllerMethod(UiFrameworkUtil.java:71)
  14. at org.openmrs.ui.framework.fragment.FragmentFactory.handleRequestWithController(FragmentFactory.java:241)
  15. at org.openmrs.ui.framework.fragment.FragmentFactory.processThisFragment(FragmentFactory.java:160)
  16. at org.openmrs.ui.framework.fragment.FragmentFactory.process(FragmentFactory.java:124)
  17. at org.openmrs.ui.framework.page.PageContext.includeFragment(PageContext.java:76)
  18. at org.openmrs.ui.framework.UiUtils.includeFragment(UiUtils.java:158)
  19. at org.openmrs.ui.framework.UiUtils$includeFragment$13.call(Unknown Source)
  20. at SimpleTemplateScript41.run(SimpleTemplateScript41.groovy:38)
  21. at groovy.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTemplateEngine.java:168)
  22. at groovy.text.SimpleTemplateEngine$SimpleTemplate$1.toString(SimpleTemplateEngine.java:180)
  23. at org.openmrs.ui.framework.page.GroovyPageView.render(GroovyPageView.java:43)
  24. at org.openmrs.ui.framework.page.PageFactory.processThisFragment(PageFactory.java:187)
  25. at org.openmrs.ui.framework.page.PageFactory.process(PageFactory.java:116)
  26. at org.openmrs.ui.framework.page.PageFactory.handle(PageFactory.java:86)
  27. at org.openmrs.module.uiframework.PageController.handlePath(PageController.java:117)
  28. at org.openmrs.module.uiframework.PageController.handleUrlWithDotPage(PageController.java:84)
  29. at sun.reflect.GeneratedMethodAccessor766.invoke(Unknown Source)
  30. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  31. at java.lang.reflect.Method.invoke(Method.java:498)
  32. at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:177)
  33. at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
  34. at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
  35. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
  36. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
  37. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
  38. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
  39. at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
  40. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
  41. at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
  42. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  43. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  44. at org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:60)
  45. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  46. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  47. at org.openmrs.web.filter.GZIPFilter.doFilterInternal(GZIPFilter.java:65)
  48. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  49. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  50. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  51. at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  52. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  53. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  54. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:73)
  55. at org.openmrs.module.owa.filter.OwaFilter.doFilter(OwaFilter.java:57)
  56. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  57. at org.openmrs.module.referenceapplication.filter.RequireLoginLocationFilter.doFilter(RequireLoginLocationFilter.java:93)
  58. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  59. at org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:57)
  60. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  61. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  62. at org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
  63. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  64. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  65. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  66. at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  67. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  68. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  69. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  70. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  71. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  72. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  73. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  74. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  75. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  76. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  77. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  78. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  79. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  80. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  81. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  82. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  83. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
  84. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
  85. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
  86. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
  87. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  88. at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
  89. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  90. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
  91. at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
  92. at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
  93. at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
  94. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  95. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  96. at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  97. at java.lang.Thread.run(Thread.java:748)
  98. Full Error
  99. org.openmrs.ui.framework.ViewException: Error rendering page view for registrationSummary. Model properties:
  100. sessionContext
  101. featureToggles
  102. patient
  103. appId
  104. search
  105. breadcrumbOverride
  106. includeFragments
  107. ui
  108. context
  109. contextPath
  110. session
  111. param
  112. out
  113. at org.openmrs.ui.framework.page.GroovyPageView.render(GroovyPageView.java:55)
  114. at org.openmrs.ui.framework.page.PageFactory.processThisFragment(PageFactory.java:187)
  115. at org.openmrs.ui.framework.page.PageFactory.process(PageFactory.java:116)
  116. at org.openmrs.ui.framework.page.PageFactory.handle(PageFactory.java:86)
  117. at org.openmrs.module.uiframework.PageController.handlePath(PageController.java:117)
  118. at org.openmrs.module.uiframework.PageController.handleUrlWithDotPage(PageController.java:84)
  119. at sun.reflect.GeneratedMethodAccessor766.invoke(Unknown Source)
  120. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  121. at java.lang.reflect.Method.invoke(Method.java:498)
  122. at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:177)
  123. at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
  124. at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
  125. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
  126. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
  127. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
  128. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
  129. at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
  130. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
  131. at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
  132. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  133. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  134. at org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:60)
  135. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  136. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  137. at org.openmrs.web.filter.GZIPFilter.doFilterInternal(GZIPFilter.java:65)
  138. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  139. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  140. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  141. at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  142. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  143. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  144. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:73)
  145. at org.openmrs.module.owa.filter.OwaFilter.doFilter(OwaFilter.java:57)
  146. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  147. at org.openmrs.module.referenceapplication.filter.RequireLoginLocationFilter.doFilter(RequireLoginLocationFilter.java:93)
  148. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  149. at org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:57)
  150. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  151. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  152. at org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
  153. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  154. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  155. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  156. at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  157. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  158. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  159. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  160. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  161. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  162. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  163. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  164. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  165. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  166. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  167. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  168. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  169. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  170. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  171. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  172. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  173. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
  174. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
  175. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
  176. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
  177. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  178. at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
  179. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  180. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
  181. at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
  182. at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
  183. at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
  184. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  185. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  186. at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  187. at java.lang.Thread.run(Thread.java:748)
  188. Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
  189. at java.lang.String.substring(String.java:1967)
  190. at org.openmrs.module.registrationapp.converter.RegistrationSummaryExtensionsGenerator.generateRegSummaryId(RegistrationSummaryExtensionsGenerator.java:92)
  191. at org.openmrs.module.registrationapp.converter.RegistrationSummaryExtensionsGenerator.generate(RegistrationSummaryExtensionsGenerator.java:58)
  192. at org.openmrs.module.registrationapp.fragment.controller.summary.RegistrationSummaryFragmentController.controller(RegistrationSummaryFragmentController.java:65)
  193. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  194. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  195. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  196. at java.lang.reflect.Method.invoke(Method.java:498)
  197. at org.openmrs.ui.framework.UiFrameworkUtil.invokeMethodWithArguments(UiFrameworkUtil.java:112)
  198. at org.openmrs.ui.framework.UiFrameworkUtil.executeControllerMethod(UiFrameworkUtil.java:71)
  199. at org.openmrs.ui.framework.fragment.FragmentFactory.handleRequestWithController(FragmentFactory.java:241)
  200. at org.openmrs.ui.framework.fragment.FragmentFactory.processThisFragment(FragmentFactory.java:160)
  201. at org.openmrs.ui.framework.fragment.FragmentFactory.process(FragmentFactory.java:124)
  202. at org.openmrs.ui.framework.page.PageContext.includeFragment(PageContext.java:76)
  203. at org.openmrs.ui.framework.UiUtils.includeFragment(UiUtils.java:158)
  204. at org.openmrs.ui.framework.UiUtils$includeFragment$13.call(Unknown Source)
  205. at SimpleTemplateScript41.run(SimpleTemplateScript41.groovy:38)
  206. at groovy.text.SimpleTemplateEngine$SimpleTemplate$1.writeTo(SimpleTemplateEngine.java:168)
  207. at groovy.text.SimpleTemplateEngine$SimpleTemplate$1.toString(SimpleTemplateEngine.java:180)
  208. at org.openmrs.ui.framework.page.GroovyPageView.render(GroovyPageView.java:43)
  209. ... 74 more
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement