Advertisement
Guest User

id Search error

a guest
Jan 2nd, 2020
40
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.13 KB | None
  1. 02-01-2020 13:25:53 [ERROR] BahmniPatientSearchController - cannot toString value for address field{}
  2. org.openmrs.api.APIException: cannot toString value for address field{}
  3. at org.bahmni.module.bahmnicore.contract.patient.mapper.PatientResponseMapper.getPersonAddressFieldValue(PatientResponseMapper.java:148)
  4. at org.bahmni.module.bahmnicore.contract.patient.mapper.PatientResponseMapper.lambda$mapPersonAddress$3(PatientResponseMapper.java:107)
  5. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  6. at java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
  7. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  8. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  9. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  10. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  11. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  12. at org.bahmni.module.bahmnicore.contract.patient.mapper.PatientResponseMapper.mapPersonAddress(PatientResponseMapper.java:111)
  13. at org.bahmni.module.bahmnicore.contract.patient.mapper.PatientResponseMapper.map(PatientResponseMapper.java:64)
  14. at org.bahmni.module.bahmnicore.dao.impl.PatientDaoImpl.lambda$getPatientsUsingLuceneSearch$1(PatientDaoImpl.java:92)
  15. at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
  16. at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
  17. at java.util.stream.AbstractPipeline.copyInto(Unknown Source)
  18. at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
  19. at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
  20. at java.util.stream.AbstractPipeline.evaluate(Unknown Source)
  21. at java.util.stream.ReferencePipeline.collect(Unknown Source)
  22. at org.bahmni.module.bahmnicore.dao.impl.PatientDaoImpl.getPatientsUsingLuceneSearch(PatientDaoImpl.java:99)
  23. at org.bahmni.module.bahmnicore.service.impl.BahmniPatientServiceImpl.luceneSearch(BahmniPatientServiceImpl.java:70)
  24. at org.bahmni.module.bahmnicore.web.v1_0.controller.search.BahmniPatientSearchController.luceneSearch(BahmniPatientSearchController.java:62)
  25. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  26. at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  27. at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  28. at java.lang.reflect.Method.invoke(Unknown Source)
  29. at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:177)
  30. at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
  31. at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
  32. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
  33. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
  34. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
  35. at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
  36. at javax.servlet.http.HttpServlet.service(HttpServlet.java:618)
  37. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
  38. at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
  39. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
  40. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  41. at org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:60)
  42. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  43. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  44. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:72)
  45. at org.openmrs.web.filter.GZIPFilter.doFilterInternal(GZIPFilter.java:64)
  46. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  47. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:70)
  48. at org.openmrs.module.webservices.rest.web.filter.AuthorizationFilter.doFilter(AuthorizationFilter.java:105)
  49. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:70)
  50. at org.openmrs.module.webservices.rest.web.filter.ContentTypeFilter.doFilter(ContentTypeFilter.java:64)
  51. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:70)
  52. at org.springframework.web.filter.ShallowEtagHeaderFilter.doFilterInternal(ShallowEtagHeaderFilter.java:82)
  53. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  54. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:70)
  55. at org.openmrs.module.owa.filter.OwaFilter.doFilter(OwaFilter.java:57)
  56. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:70)
  57. at org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:54)
  58. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  59. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  60. at org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:108)
  61. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  62. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  63. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  64. at org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  65. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  66. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  67. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  68. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  69. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  70. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  71. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  72. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  73. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  74. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  75. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  76. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  77. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  78. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  79. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
  80. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  81. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
  82. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
  83. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
  84. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
  85. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
  86. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
  87. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:534)
  88. at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1081)
  89. at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
  90. at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
  91. at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1566)
  92. at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1523)
  93. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  94. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  95. at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  96. at java.lang.Thread.run(Unknown Source)
  97. Caused by: java.lang.NoSuchMethodException: Unknown property '{}'
  98. at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1122)
  99. at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686)
  100. at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)
  101. at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290)
  102. at org.bahmni.module.bahmnicore.contract.patient.mapper.PatientResponseMapper.getPersonAddressFieldValue(PatientResponseMapper.java:145)
  103. ... 93 more
Advertisement
RAW Paste Data Copied
Advertisement