SHARE
TWEET

Untitled

a guest Oct 16th, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Произошла внутренняя ошибка    Тех. информация
  2. REST ошибка
  3.  
  4.  
  5. REST запрос:
  6. POST https://kaluga.is-mis.ru/backend/hospital/hospital-case
  7.  
  8.  
  9. Параметры
  10. careProvidingFormId = 1
  11. repeatCountId = 1
  12. severityLevelId = 1
  13. referralOrganizationId = 1602743
  14. clinicId = 1602743
  15. patientId = 1819641
  16. referralType = 2
  17. referralOrganizationRoleId = 2
  18. transportingTypeId = 2
  19. careRegimenId = 2
  20. referralDiagnosisId = 23437
  21. initGoalId = 3
  22. profileId = 31
  23. doctorId = 57018
  24. referralDepartmentId = 5996
  25. recvDepartmentId = 5996
  26. financialTypeId = 6
  27. admissionDepartmentId = 6196
  28. refDoctorId = 75575
  29. referralDate = Wed Oct 16 00:00:00 MSK 2019
  30. admissionDate = Wed Oct 16 09:40:00 MSK 2019
  31. isFinanceTypeControl = false
  32. isZnoSuspicion = false
  33. id = null
  34. uid = null
  35. referralId = null
  36. referralNumber = null
  37. referralDiagnosisComment = null
  38. comment = null
  39. drunkennessTypeId = null
  40. narcoticSubstance = null
  41. whereFromDelivered = null
  42. plannedHospDate = null
  43. ticketVmpNumber = null
  44. ticketVmpDate = null
  45. whoDeliveredCode = null
  46. whoDeliveredTeamNumber = null
  47. timeGoneId = null
  48. notesToWork = null
  49. admissionReasonId = null
  50. mark = null
  51. firstStepId = null
  52. stepCaseDiagnosisId = null
  53. admissionDiagnosisId = null
  54. admissionDiagnosisInjuryReasonId = null
  55. resGroupId = null
  56. employeePositionId = null
  57. stepDiagnosisNotice = null
  58. hspCanalId = null
  59. attendantId = null
  60. attendantIndivId = null
  61. relationSideId = null
  62. initialIsFinanceTypeControl = null
  63. rancinScaleId = null
  64. rancinScaleOutId = null
  65. careLevelId = null
  66. paymentMethodId = null
  67. refOrganizationCode = null
  68. refDoctorCode = null
  69. diseaseTypeId = null
  70. reservationId = null
  71. bedProfileId = null
  72. isSocialSignificant = null
  73. user = Калужанова И.Н.
  74.  
  75. Stacktrace
  76. net.n2oapp.framework.engine.rest.N2oRestException
  77.     at net.n2oapp.framework.engine.rest.RestUtil.toN2oRestException(RestUtil.java:34)
  78.     at net.n2oapp.framework.engine.rest.RestInvocationEngine.lambda$0(RestInvocationEngine.java:51)
  79.     at net.n2oapp.framework.engine.util.json.DateFormatSerializingTemplate.execute(DateFormatSerializingTemplate.java:13)
  80.     at net.n2oapp.framework.engine.rest.RestInvocationEngine.invoke(RestInvocationEngine.java:47)
  81.     at net.n2oapp.framework.engine.processor.InvocationProcessorImpl.invoke(InvocationProcessorImpl.java:64)
  82.     at net.n2oapp.framework.engine.processor.InvocationProcessorImpl.invoke(InvocationProcessorImpl.java:52)
  83.     at net.n2oapp.framework.engine.processor.ActionProcessor.invoke(ActionProcessor.java:46)
  84.     at net.n2oapp.framework.ui.controller.action.SetController.handleActionRequest(SetController.java:35)
  85.     at net.n2oapp.framework.ui.controller.action.ActionController.executeRequest(ActionController.java:40)
  86.     at net.n2oapp.framework.ui.controller.action.ActionController.execute(ActionController.java:34)
  87.     at net.n2oapp.framework.ui.controller.DataController.setData(DataController.java:68)
  88.     at net.n2oapp.framework.ui.servlet.data.DataServlet$2.resolveSuccessModel(DataServlet.java:44)
  89.     at net.n2oapp.framework.mvc.callback.json.JsonServletCallback.onService(JsonServletCallback.java:25)
  90.     at net.n2oapp.framework.mvc.api.SimpleServletTemplate.doService(SimpleServletTemplate.java:28)
  91.     at net.n2oapp.framework.ui.servlet.data.DataServlet.safeDoPost(DataServlet.java:39)
  92.     at net.n2oapp.framework.mvc.n2o.N2oServlet.doPost(N2oServlet.java:95)
  93.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
  94.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
  95.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  96.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  97.     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  98.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  99.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  100.     at net.n2oapp.security.auth.filter.WorkplaceFilter.doFilter(WorkplaceFilter.java:53)
  101.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  102.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  103.     at net.n2oapp.framework.ui.servlet.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:28)
  104.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  105.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  106.     at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:110)
  107.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  108.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  109.     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
  110.     at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
  111.     at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
  112.     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  113.     at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:115)
  114.     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  115.     at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
  116.     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  117.     at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:169)
  118.     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  119.     at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
  120.     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  121.     at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158)
  122.     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  123.     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  124.     at org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter.doFilter(DefaultLoginPageGeneratingFilter.java:177)
  125.     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  126.     at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:206)
  127.     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  128.     at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:206)
  129.     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  130.     at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:121)
  131.     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  132.     at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
  133.     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  134.     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  135.     at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
  136.     at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  137.     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  138.     at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:106)
  139.     at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
  140.     at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
  141.     at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
  142.     at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
  143.     at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)
  144.     at net.n2oapp.security.auth.filter.SecurityFilter.doFilter(SecurityFilter.java:43)
  145.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  146.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  147.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
  148.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
  149.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:444)
  150.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
  151.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  152.     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)
  153.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  154.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
  155.     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1137)
  156.     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
  157.     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:317)
  158.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  159.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  160.     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  161.     at java.lang.Thread.run(Thread.java:748)
  162.  
  163.  Foreign stacktrace:
  164. javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: could not execute statement
  165.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763)
  166.     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1677)
  167.     at org.hibernate.jpa.internal.QueryImpl.getResultList(QueryImpl.java:458)
  168.     at ru.kirkazan.rmis.app.ehr.impl.service.validation.HospitalRecordValidation.getNextHospitalRecord(HospitalRecordValidation.java:135)
  169.     at ru.kirkazan.rmis.app.ehr.impl.service.validation.HospitalRecordValidation.checkAdmissionDateInNextAndOutcomeInCurrent(HospitalRecordValidation.java:82)
  170.     at ru.kirkazan.rmis.app.ehr.impl.service.validation.HospitalRecordValidation$$FastClassBySpringCGLIB$$3395a1c1.invoke(<generated>)
  171.     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
  172.     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
  173.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  174.     at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  175.     at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  176.     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  177.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  178.     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)
  179.     at ru.kirkazan.rmis.app.ehr.impl.service.validation.HospitalRecordValidation$$EnhancerBySpringCGLIB$$245efb79.checkAdmissionDateInNextAndOutcomeInCurrent(<generated>)
  180.     at ru.kirkazan.rmis.app.ehr.impl.service.hospital.HospitalRecordServiceImpl.validate(HospitalRecordServiceImpl.java:369)
  181.     at ru.kirkazan.rmis.app.ehr.impl.service.hospital.HospitalRecordServiceImpl.saveHospitalRecord(HospitalRecordServiceImpl.java:299)
  182.     at ru.kirkazan.rmis.app.ehr.impl.service.hospital.HospitalRecordServiceImpl.saveHospitalRecord(HospitalRecordServiceImpl.java:264)
  183.     at ru.kirkazan.rmis.app.ehr.impl.service.hospital.HospitalRecordServiceImpl.saveAdmissionHospitalRecord(HospitalRecordServiceImpl.java:96)
  184.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  185.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  186.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  187.     at java.lang.reflect.Method.invoke(Method.java:498)
  188.     at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
  189.     at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
  190.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  191.     at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  192.     at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  193.     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  194.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  195.     at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
  196.     at com.sun.proxy.$Proxy171.saveAdmissionHospitalRecord(Unknown Source)
  197.     at ru.kirkazan.rmis.app.hospital.backend.service.AdmissionDepartmentFormController.saveCaseForm(AdmissionDepartmentFormController.java:172)
  198.     at ru.kirkazan.rmis.app.hospital.backend.service.AdmissionDepartmentFormController$$FastClassBySpringCGLIB$$816d2364.invoke(<generated>)
  199.     at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
  200.     at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:720)
  201.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
  202.     at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
  203.     at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
  204.     at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
  205.     at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
  206.     at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:655)
  207.     at ru.kirkazan.rmis.app.hospital.backend.service.AdmissionDepartmentFormController$$EnhancerBySpringCGLIB$$c093a3bc.saveCaseForm(<generated>)
  208.     at ru.kirkazan.rmis.app.hospital.rest.AdmissionDepartmentRest.save(AdmissionDepartmentRest.java:32)
  209.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  210.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  211.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  212.     at java.lang.reflect.Method.invoke(Method.java:498)
  213.     at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
  214.     at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
  215.     at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:189)
  216.     at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:99)
  217.     at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:59)
  218.     at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:96)
  219.     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
  220.     at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
  221.     at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:252)
  222.     at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234)
  223.     at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208)
  224.     at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160)
  225.     at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:180)
  226.     at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:299)
  227.     at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:218)
  228.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
  229.     at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:274)
  230.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  231.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  232.     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  233.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  234.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  235.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
  236.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
  237.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:444)
  238.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
  239.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  240.     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)
  241.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  242.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
  243.     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1137)
  244.     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
  245.     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:317)
  246.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  247.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  248.     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  249.     at java.lang.Thread.run(Thread.java:748)
  250. Caused by: org.hibernate.exception.GenericJDBCException: could not execute statement
  251.     at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)
  252.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:126)
  253.     at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:112)
  254.     at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:190)
  255.     at org.hibernate.engine.jdbc.batch.internal.NonBatchingBatch.addToBatch(NonBatchingBatch.java:62)
  256.     at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3124)
  257.     at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3581)
  258.     at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:104)
  259.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:463)
  260.     at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:349)
  261.     at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:350)
  262.     at org.hibernate.event.internal.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:67)
  263.     at org.hibernate.internal.SessionImpl.autoFlushIfRequired(SessionImpl.java:1191)
  264.     at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1257)
  265.     at org.hibernate.internal.QueryImpl.list(QueryImpl.java:103)
  266.     at org.hibernate.jpa.internal.QueryImpl.list(QueryImpl.java:573)
  267.     at org.hibernate.jpa.internal.QueryImpl.getResultList(QueryImpl.java:449)
  268.     ... 82 more
  269. Caused by: org.postgresql.util.PSQLException: ERROR: canceling statement due to user request
  270.   Where: SQL statement "SELECT (SELECT MIN(admission_date + COALESCE(admission_time, TIME '00:00'))
  271.                    FROM mc_step
  272.                    WHERE mc_step.case_id = caseId)"
  273. PL/pgSQL function update_medcase_open_date_time() line 10 at assignment
  274.     at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2440)
  275.     at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2183)
  276.     at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:308)
  277.     at org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441)
  278.     at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365)
  279.     at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:143)
  280.     at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:120)
  281.     at sun.reflect.GeneratedMethodAccessor697.invoke(Unknown Source)
  282.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  283.     at java.lang.reflect.Method.invoke(Method.java:498)
  284.     at org.apache.tomcat.jdbc.pool.StatementFacade$StatementProxy.invoke(StatementFacade.java:114)
  285.     at com.sun.proxy.$Proxy16.executeUpdate(Unknown Source)
  286.     at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.executeUpdate(ResultSetReturnImpl.java:187)
  287.     ... 95 more
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top