RIshi132

UI error

Jul 14th, 2019
20
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. UI Framework Error
  2. Root Error
  3. org.openmrs.module.webservices.rest.web.response.UnknownResourceException: Unknown resource: v1/user
  4. at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImpl.getResourceByName(RestServiceImpl.java:419)
  5. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  6. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  7. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  8. at java.lang.reflect.Method.invoke(Unknown Source)
  9. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  10. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  11. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  12. at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:52)
  13. at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:303)
  14. at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61)
  15. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  16. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  17. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  18. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  19. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  20. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  21. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  22. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  23. at com.sun.proxy.$Proxy232.getResourceByName(Unknown Source)
  24. at org.openmrs.module.webservices.rest.web.v1_0.converter.openmrs1_8.UserConverter1_8.asRepresentation(UserConverter1_8.java:54)
  25. at org.openmrs.module.webservices.rest.web.v1_0.converter.openmrs1_8.UserConverter1_8.asRepresentation(UserConverter1_8.java:28)
  26. at org.openmrs.module.webservices.rest.web.ConversionUtil.convertToRepresentation(ConversionUtil.java:406)
  27. at org.openmrs.module.webservices.rest.web.ConversionUtil.convertToRepresentation(ConversionUtil.java:367)
  28. at org.openmrs.module.appui.UiSessionContext.generateAppContextModel(UiSessionContext.java:138)
  29. at org.openmrs.module.referenceapplication.page.controller.HomePageController.controller(HomePageController.java:50)
  30. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  31. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  32. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  33. at java.lang.reflect.Method.invoke(Unknown Source)
  34. at org.openmrs.ui.framework.UiFrameworkUtil.invokeMethodWithArguments(UiFrameworkUtil.java:112)
  35. at org.openmrs.ui.framework.UiFrameworkUtil.executeControllerMethod(UiFrameworkUtil.java:71)
  36. at org.openmrs.ui.framework.page.PageFactory.handleRequestWithController(PageFactory.java:219)
  37. at org.openmrs.ui.framework.page.PageFactory.processThisFragment(PageFactory.java:160)
  38. at org.openmrs.ui.framework.page.PageFactory.process(PageFactory.java:116)
  39. at org.openmrs.ui.framework.page.PageFactory.handle(PageFactory.java:86)
  40. at org.openmrs.module.uiframework.PageController.handlePath(PageController.java:116)
  41. at org.openmrs.module.uiframework.PageController.handleUrlWithDotPage(PageController.java:83)
  42. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  43. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  44. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  45. at java.lang.reflect.Method.invoke(Unknown Source)
  46. at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:177)
  47. at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
  48. at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
  49. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
  50. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
  51. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
  52. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
  53. at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
  54. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
  55. at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
  56. at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:816)
  57. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1686)
  58. at org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:60)
  59. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  60. at org.openmrs.web.filter.GZIPFilter.doFilterInternal(GZIPFilter.java:65)
  61. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  62. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  63. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:73)
  64. at org.openmrs.module.owa.filter.OwaFilter.doFilter(OwaFilter.java:57)
  65. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  66. at org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:57)
  67. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  68. at org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
  69. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  70. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  71. at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  72. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  73. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  74. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  75. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  76. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  77. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  78. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  79. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  80. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  81. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  82. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  83. at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
  84. at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
  85. at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
  86. at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
  87. at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1156)
  88. at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
  89. at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
  90. at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1088)
  91. at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
  92. at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
  93. at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
  94. at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
  95. at org.eclipse.jetty.server.Server.handle(Server.java:517)
  96. at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
  97. at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
  98. at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245)
  99. at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
  100. at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
  101. at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
  102. at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
  103. at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
  104. at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
  105. at java.lang.Thread.run(Unknown Source)
  106. Full Error
  107. org.openmrs.module.webservices.rest.web.response.ConversionException: converting class org.openmrs.User to org.openmrs.module.webservices.rest.web.representation.DefaultRepresentation@6976d353
  108. at org.openmrs.module.webservices.rest.web.ConversionUtil.convertToRepresentation(ConversionUtil.java:409)
  109. at org.openmrs.module.webservices.rest.web.ConversionUtil.convertToRepresentation(ConversionUtil.java:367)
  110. at org.openmrs.module.appui.UiSessionContext.generateAppContextModel(UiSessionContext.java:138)
  111. at org.openmrs.module.referenceapplication.page.controller.HomePageController.controller(HomePageController.java:50)
  112. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  113. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  114. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  115. at java.lang.reflect.Method.invoke(Unknown Source)
  116. at org.openmrs.ui.framework.UiFrameworkUtil.invokeMethodWithArguments(UiFrameworkUtil.java:112)
  117. at org.openmrs.ui.framework.UiFrameworkUtil.executeControllerMethod(UiFrameworkUtil.java:71)
  118. at org.openmrs.ui.framework.page.PageFactory.handleRequestWithController(PageFactory.java:219)
  119. at org.openmrs.ui.framework.page.PageFactory.processThisFragment(PageFactory.java:160)
  120. at org.openmrs.ui.framework.page.PageFactory.process(PageFactory.java:116)
  121. at org.openmrs.ui.framework.page.PageFactory.handle(PageFactory.java:86)
  122. at org.openmrs.module.uiframework.PageController.handlePath(PageController.java:116)
  123. at org.openmrs.module.uiframework.PageController.handleUrlWithDotPage(PageController.java:83)
  124. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  125. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  126. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  127. at java.lang.reflect.Method.invoke(Unknown Source)
  128. at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:177)
  129. at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
  130. at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
  131. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
  132. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
  133. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
  134. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
  135. at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
  136. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
  137. at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
  138. at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:816)
  139. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1686)
  140. at org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:60)
  141. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  142. at org.openmrs.web.filter.GZIPFilter.doFilterInternal(GZIPFilter.java:65)
  143. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  144. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  145. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:73)
  146. at org.openmrs.module.owa.filter.OwaFilter.doFilter(OwaFilter.java:57)
  147. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  148. at org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:57)
  149. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  150. at org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
  151. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  152. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  153. at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  154. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  155. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  156. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  157. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  158. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  159. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  160. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:107)
  161. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  162. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  163. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  164. at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
  165. at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
  166. at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
  167. at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
  168. at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
  169. at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1156)
  170. at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
  171. at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
  172. at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1088)
  173. at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
  174. at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
  175. at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:109)
  176. at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
  177. at org.eclipse.jetty.server.Server.handle(Server.java:517)
  178. at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:306)
  179. at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:242)
  180. at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:245)
  181. at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
  182. at org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:75)
  183. at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceAndRun(ExecuteProduceConsume.java:213)
  184. at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:147)
  185. at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:654)
  186. at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:572)
  187. at java.lang.Thread.run(Unknown Source)
  188. Caused by: org.openmrs.module.webservices.rest.web.response.UnknownResourceException: Unknown resource: v1/user
  189. at org.openmrs.module.webservices.rest.web.api.impl.RestServiceImpl.getResourceByName(RestServiceImpl.java:419)
  190. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  191. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  192. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  193. at java.lang.reflect.Method.invoke(Unknown Source)
  194. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  195. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  196. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  197. at org.springframework.cache.interceptor.CacheInterceptor$1.invoke(CacheInterceptor.java:52)
  198. at org.springframework.cache.interceptor.CacheAspectSupport.execute(CacheAspectSupport.java:303)
  199. at org.springframework.cache.interceptor.CacheInterceptor.invoke(CacheInterceptor.java:61)
  200. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  201. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:122)
  202. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  203. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  204. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  205. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  206. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  207. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  208. at com.sun.proxy.$Proxy232.getResourceByName(Unknown Source)
  209. at org.openmrs.module.webservices.rest.web.v1_0.converter.openmrs1_8.UserConverter1_8.asRepresentation(UserConverter1_8.java:54)
  210. at org.openmrs.module.webservices.rest.web.v1_0.converter.openmrs1_8.UserConverter1_8.asRepresentation(UserConverter1_8.java:28)
  211. at org.openmrs.module.webservices.rest.web.ConversionUtil.convertToRepresentation(ConversionUtil.java:406)
  212. ... 79 more
RAW Paste Data