SHARE
TWEET

Untitled

a guest Mar 21st, 2017 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.hibernate.PropertyValueException: not-null property references a null or transient value : org.openmrs.PersonAttribute.attributeType
  2.     org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:978)
  3.     org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868)
  4.     javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
  5.     org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
  6.     javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
  7.     org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:60)
  8.     org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  9.     org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:72)
  10.     org.openmrs.module.owa.filter.OwaFilter.doFilter(OwaFilter.java:57)
  11.     org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:70)
  12.     org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:54)
  13.     org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:108)
  14.     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  15.     org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  16.     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  17.     org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  18.     org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  19.     org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  20.     org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  21.     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  22. root cause
  23.  
  24. org.hibernate.PropertyValueException: not-null property references a null or transient value : org.openmrs.PersonAttribute.attributeType
  25.     org.hibernate.engine.internal.Nullability.checkNullability(Nullability.java:106)
  26.     org.hibernate.action.internal.AbstractEntityInsertAction.nullifyTransientReferencesIfNotAlready(AbstractEntityInsertAction.java:132)
  27.     org.hibernate.action.internal.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:86)
  28.     org.hibernate.engine.spi.ActionQueue.execute(ActionQueue.java:492)
  29.     org.hibernate.engine.spi.ActionQueue.addResolvedEntityInsertAction(ActionQueue.java:197)
  30.     org.hibernate.engine.spi.ActionQueue.addInsertAction(ActionQueue.java:181)
  31.     org.hibernate.engine.spi.ActionQueue.addAction(ActionQueue.java:216)
  32.     org.hibernate.event.internal.AbstractSaveEventListener.addInsertAction(AbstractSaveEventListener.java:334)
  33.     org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:289)
  34.     org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:195)
  35.     org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:126)
  36.     org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:209)
  37.     org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:194)
  38.     org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:114)
  39.     org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:90)
  40.     org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:684)
  41.     org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:676)
  42.     org.hibernate.engine.spi.CascadingActions$5.cascade(CascadingActions.java:235)
  43.     org.hibernate.engine.internal.Cascade.cascadeToOne(Cascade.java:350)
  44.     org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:293)
  45.     org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:161)
  46.     org.hibernate.engine.internal.Cascade.cascadeCollectionElements(Cascade.java:379)
  47.     org.hibernate.engine.internal.Cascade.cascadeCollection(Cascade.java:319)
  48.     org.hibernate.engine.internal.Cascade.cascadeAssociation(Cascade.java:296)
  49.     org.hibernate.engine.internal.Cascade.cascadeProperty(Cascade.java:161)
  50.     org.hibernate.engine.internal.Cascade.cascade(Cascade.java:118)
  51.     org.hibernate.event.internal.AbstractSaveEventListener.cascadeAfterSave(AbstractSaveEventListener.java:470)
  52.     org.hibernate.event.internal.AbstractSaveEventListener.performSaveOrReplicate(AbstractSaveEventListener.java:295)
  53.     org.hibernate.event.internal.AbstractSaveEventListener.performSave(AbstractSaveEventListener.java:195)
  54.     org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:126)
  55.     org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:209)
  56.     org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:194)
  57.     org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:114)
  58.     org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:90)
  59.     org.hibernate.internal.SessionImpl.fireSaveOrUpdate(SessionImpl.java:684)
  60.     org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:676)
  61.     org.hibernate.internal.SessionImpl.saveOrUpdate(SessionImpl.java:671)
  62.     org.openmrs.api.db.hibernate.HibernatePatientDAO.savePatient(HibernatePatientDAO.java:90)
  63.     org.openmrs.api.impl.PatientServiceImpl.savePatient(PatientServiceImpl.java:191)
  64.     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  65.     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  66.     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  67.     java.lang.reflect.Method.invoke(Method.java:498)
  68.     org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  69.     org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  70.     org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  71.     org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  72.     org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  73.     org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  74.     org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  75.     org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  76.     com.sun.proxy.$Proxy118.savePatient(Unknown Source)
  77.     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  78.     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  79.     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  80.     java.lang.reflect.Method.invoke(Method.java:498)
  81.     org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  82.     org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  83.     org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  84.     org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  85.     org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  86.     org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  87.     org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  88.     org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
  89.     org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  90.     org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
  91.     com.sun.proxy.$Proxy119.savePatient(Unknown Source)
  92.     org.openmrs.web.controller.patient.ShortPatientFormController.saveShortPatient(ShortPatientFormController.java:468)
  93.     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  94.     sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  95.     sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  96.     java.lang.reflect.Method.invoke(Method.java:498)
  97.     org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:177)
  98.     org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:446)
  99.     org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:434)
  100.     org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:943)
  101.     org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:877)
  102.     org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
  103.     org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:868)
  104.     javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
  105.     org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
  106.     javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
  107.     org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:60)
  108.     org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  109.     org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:72)
  110.     org.openmrs.module.owa.filter.OwaFilter.doFilter(OwaFilter.java:57)
  111.     org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:70)
  112.     org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:54)
  113.     org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:108)
  114.     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  115.     org.springframework.orm.hibernate4.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:150)
  116.     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  117.     org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  118.     org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  119.     org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  120.     org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  121.     org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
RAW Paste Data
Top