Advertisement
Guest User

Untitled

a guest
Nov 11th, 2021
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.53 KB | None | 0 0
  1. <h1>HTTP Status 500 – Internal Server Error</h1><hr class="line" /><p><b>Type</b> Exception Report</p><p><b>Message</b> No serializer found for class org.springframework.validation.DefaultMessageCodesResolver and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.openmrs.module.webservices.validation.ValidationException[&quot;errors&quot;]-&gt;org.springframework.validation.BindException[&quot;bindingResult&quot;]-&gt;org.springframework.validation.BeanPropertyBindingResult[&quot;messageCodesResolver&quot;])</p><p><b>Description</b> The server encountered an unexpected condition that prevented it from fulfilling the request.</p>
  2.  
  3. <p><b>Exception</b> <pre>com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class org.springframework.validation.DefaultMessageCodesResolver and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) (through reference chain: org.openmrs.module.webservices.validation.ValidationException[&quot;errors&quot;]-&gt;org.springframework.validation.BindException[&quot;bindingResult&quot;]-&gt;org.springframework.validation.BeanPropertyBindingResult[&quot;messageCodesResolver&quot;])
  4. com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:77)
  5. com.fasterxml.jackson.databind.SerializerProvider.reportBadDefinition(SerializerProvider.java:1277)
  6. com.fasterxml.jackson.databind.DatabindContext.reportBadDefinition(DatabindContext.java:400)
  7. com.fasterxml.jackson.databind.ser.impl.UnknownSerializer.failForEmpty(UnknownSerializer.java:71)
  8. com.fasterxml.jackson.databind.ser.impl.UnknownSerializer.serialize(UnknownSerializer.java:33)
  9. com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:728)
  10. com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:755)
  11. com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178)
  12. com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:728)
  13. com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:755)
  14. com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178)
  15. com.fasterxml.jackson.databind.ser.BeanPropertyWriter.serializeAsField(BeanPropertyWriter.java:728)
  16. com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.serializeFields(BeanSerializerBase.java:755)
  17. com.fasterxml.jackson.databind.ser.BeanSerializer.serialize(BeanSerializer.java:178)
  18. com.fasterxml.jackson.databind.ser.DefaultSerializerProvider._serialize(DefaultSerializerProvider.java:480)
  19. com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.serializeValue(DefaultSerializerProvider.java:319)
  20. com.fasterxml.jackson.databind.ObjectWriter$Prefetch.serialize(ObjectWriter.java:1516)
  21. com.fasterxml.jackson.databind.ObjectWriter.writeValue(ObjectWriter.java:1006)
  22. org.springframework.web.servlet.view.json.AbstractJackson2View.writeContent(AbstractJackson2View.java:228)
  23. org.springframework.web.servlet.view.json.AbstractJackson2View.renderMergedOutputModel(AbstractJackson2View.java:172)
  24. org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:316)
  25. org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1373)
  26. org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1118)
  27. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1057)
  28. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
  29. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
  30. org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909)
  31. javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
  32. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
  33. javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
  34. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  35. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:73)
  36. org.openmrs.web.filter.GZIPFilter.doFilterInternal(GZIPFilter.java:65)
  37. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  38. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  39. org.openmrs.module.webservices.rest.web.filter.AuthorizationFilter.doFilter(AuthorizationFilter.java:105)
  40. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  41. org.openmrs.module.webservices.rest.web.filter.ContentTypeFilter.doFilter(ContentTypeFilter.java:64)
  42. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  43. org.springframework.web.filter.ShallowEtagHeaderFilter.doFilterInternal(ShallowEtagHeaderFilter.java:106)
  44. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  45. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  46. org.openmrs.module.owa.filter.OwaFilter.doFilter(OwaFilter.java:93)
  47. org.openmrs.module.owa.filter.OwaFilter.doFilter(OwaFilter.java:61)
  48. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  49. org.openmrs.module.spa.filter.SpaFilter.doFilter(SpaFilter.java:53)
  50. org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:71)
  51. org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:57)
  52. org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:105)
  53. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  54. org.springframework.orm.hibernate5.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:156)
  55. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  56. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:108)
  57. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:108)
  58. org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:108)
  59. org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
  60. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)
  61. </pre></p><p><b>Note</b> The full stack trace of the root cause is available in the server logs.</p><hr class="line" /><h3>Apache Tomcat/7.0.94</h3></body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement