You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"error": "Internal Server Error",
"message": "An internal error has occurred. Please contact your administrator."
}
LOGS-
tip2toe-ehrbase-1 | 2023-07-22 15:00:01.909 ERROR [traceId=37e7053be22c33bc] 9 --- [io-8080-exec-26] o.e.r.ehrscape.EhrScapeExceptionHandler :
tip2toe-ehrbase-1 |
tip2toe-ehrbase-1 | org.ehrbase.api.exception.InternalServerException: org.ehrbase.validation.ConstraintViolationException: /content[openEHR-EHR-OBSERVATION.symptom_sign_screening.v0]/data[at0001]/events[at0002]/data[at0003]/items[at0022 and name/value='Pregnancy']/items[at0004]/value: CodePhrase codeString does not match any option, found: HP:0001945
tip2toe-ehrbase-1 | at org.ehrbase.service.CompositionServiceImp.internalUpdate(CompositionServiceImp.java:367)
tip2toe-ehrbase-1 | at org.ehrbase.service.CompositionServiceImp.update(CompositionServiceImp.java:251)
tip2toe-ehrbase-1 | at org.ehrbase.service.CompositionServiceImp.update(CompositionServiceImp.java:282)
tip2toe-ehrbase-1 | at org.ehrbase.service.CompositionServiceImp.update(CompositionServiceImp.java:89)
tip2toe-ehrbase-1 | at org.ehrbase.service.CompositionServiceImp$$FastClassBySpringCGLIB$$9bcfd210.invoke(<generated>)
tip2toe-ehrbase-1 | at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
tip2toe-ehrbase-1 | at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:102)
tip2toe-ehrbase-1 | at org.ehrbase.plugin.AbstractPluginAspect.proceed(AbstractPluginAspect.java:70)
tip2toe-ehrbase-1 | at org.ehrbase.plugin.AbstractPluginAspect.proceedWithPluginExtensionPoints(AbstractPluginAspect.java:139)
tip2toe-ehrbase-1 | at org.ehrbase.plugin.CompositionPluginAspect.aroundUpdateComposition(CompositionPluginAspect.java:84)
tip2toe-ehrbase-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
tip2toe-ehrbase-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
tip2toe-ehrbase-1 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
tip2toe-ehrbase-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source)
tip2toe-ehrbase-1 | at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:634)
tip2toe-ehrbase-1 | at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:624)
tip2toe-ehrbase-1 | at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:72)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
tip2toe-ehrbase-1 | at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:123)
tip2toe-ehrbase-1 | at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:388)
tip2toe-ehrbase-1 | at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:119)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
tip2toe-ehrbase-1 | at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
tip2toe-ehrbase-1 | at org.ehrbase.service.CompositionServiceImp$$EnhancerBySpringCGLIB$$b4009483.update(<generated>)
tip2toe-ehrbase-1 | at org.ehrbase.rest.ehrscape.controller.CompositionController.update(CompositionController.java:162)
tip2toe-ehrbase-1 | at org.ehrbase.rest.ehrscape.controller.CompositionController$$FastClassBySpringCGLIB$$62ce38e9.invoke(<generated>)
tip2toe-ehrbase-1 | at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:793)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
tip2toe-ehrbase-1 | at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:89)
tip2toe-ehrbase-1 | at org.ehrbase.tenant.DefaultTenantAspect.action(DefaultTenantAspect.java:87)
tip2toe-ehrbase-1 | at org.ehrbase.tenant.DefaultTenantAspect.action(DefaultTenantAspect.java:70)
tip2toe-ehrbase-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
tip2toe-ehrbase-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
tip2toe-ehrbase-1 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
tip2toe-ehrbase-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source)
tip2toe-ehrbase-1 | at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:634)
tip2toe-ehrbase-1 | at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:624)
tip2toe-ehrbase-1 | at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:72)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
tip2toe-ehrbase-1 | at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:763)
tip2toe-ehrbase-1 | at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:708)
tip2toe-ehrbase-1 | at org.ehrbase.rest.ehrscape.controller.CompositionController$$EnhancerBySpringCGLIB$$abc08cdb.update(<generated>)
tip2toe-ehrbase-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
tip2toe-ehrbase-1 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
tip2toe-ehrbase-1 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
tip2toe-ehrbase-1 | at java.base/java.lang.reflect.Method.invoke(Unknown Source)
tip2toe-ehrbase-1 | at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
tip2toe-ehrbase-1 | at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:150)
tip2toe-ehrbase-1 | at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:117)
tip2toe-ehrbase-1 | at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:895)
tip2toe-ehrbase-1 | at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:808)
tip2toe-ehrbase-1 | at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
tip2toe-ehrbase-1 | at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1072)
tip2toe-ehrbase-1 | at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)
tip2toe-ehrbase-1 | at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
tip2toe-ehrbase-1 | at org.springframework.web.servlet.FrameworkServlet.doPut(FrameworkServlet.java:920)
tip2toe-ehrbase-1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:558)
tip2toe-ehrbase-1 | at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
tip2toe-ehrbase-1 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
tip2toe-ehrbase-1 | at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
tip2toe-ehrbase-1 | at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)
tip2toe-ehrbase-1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
tip2toe-ehrbase-1 | at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)
tip2toe-ehrbase-1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
tip2toe-ehrbase-1 | at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)
tip2toe-ehrbase-1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
tip2toe-ehrbase-1 | at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)
tip2toe-ehrbase-1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
tip2toe-ehrbase-1 | at org.ehrbase.application.web.LoggingContextFilter.doFilterInternal(LoggingContextFilter.java:55)
tip2toe-ehrbase-1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
tip2toe-ehrbase-1 | at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:102)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
tip2toe-ehrbase-1 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)
tip2toe-ehrbase-1 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)
tip2toe-ehrbase-1 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
tip2toe-ehrbase-1 | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481)
tip2toe-ehrbase-1 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)
tip2toe-ehrbase-1 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
tip2toe-ehrbase-1 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
tip2toe-ehrbase-1 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
tip2toe-ehrbase-1 | at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:389)
tip2toe-ehrbase-1 | at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
tip2toe-ehrbase-1 | at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:926)
tip2toe-ehrbase-1 | at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791)
tip2toe-ehrbase-1 | at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
tip2toe-ehrbase-1 | at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
tip2toe-ehrbase-1 | at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
tip2toe-ehrbase-1 | at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
tip2toe-ehrbase-1 | at java.base/java.lang.Thread.run(Unknown Source)
tip2toe-ehrbase-1 | Caused by: org.ehrbase.validation.ConstraintViolationException: /content[openEHR-EHR-OBSERVATION.symptom_sign_screening.v0]/data[at0001]/events[at0002]/data[at0003]/items[at0022 and name/value='Pregnancy']/items[at0004]/value: CodePhrase codeString does not match any option, found: HP:0001945
tip2toe-ehrbase-1 | at org.ehrbase.service.ValidationServiceImp.check(ValidationServiceImp.java:138)
tip2toe-ehrbase-1 | at org.ehrbase.service.ValidationServiceImp.check(ValidationServiceImp.java:172)
tip2toe-ehrbase-1 | at org.ehrbase.service.CompositionServiceImp.internalUpdate(CompositionServiceImp.java:322)
tip2toe-ehrbase-1 | ... 115 common frames omitted
tip2toe-ehrbase-1 |
Further information
While creating the template with the archetype designer v1.24.7 the limit to list option is unchecked. the expected behaviour is to allow other codes to be permitted in the composition.
The text was updated successfully, but these errors were encountered:
Hello @anas790,
Thank you for the ticket.
I checked in EHRbase v. 0.28.0-SNAPSHOT and received 400 Bad Request. { "error": "Bad Request", "message": "/content[openEHR-EHR-OBSERVATION.symptom_sign_screening.v0]/data[at0001]/events[at0002]/data[at0003]/items[at0022 and name/value='Pregnancy']/items[at0004]/value: CodePhrase codeString does not match any option, found: HP:0001945" }
So, even though I didn't receive 500, I was not able to commit composition (based on Template and Composition you have provided).
Are you sure that Limit to list checkbox was unchecked and saved that Template (before exporting it) ?
Please retry it and let me know if something changes.
Thank you in advance.
CC: @vidi42 , @stefanspiska
Hello @vladislavploaia , Yes the Limit to list checkbox was unchecked and saved that Template before exporting and using it. Tried again but same error
Hello @anas790,
There is a comment provided by @HolgerReiseVSys on that:
Please check it and let me know if something else is needed.
Thanks!
CC: @vidi42
Before reporting an issue
Environment information
Steps to reproduce
Use template -
tip2toe.v0.opt.txt
Post FLAT composition:
Expected behavior
200 OK
Actual result
500 Internal Server Error
LOGS-
Further information
While creating the template with the archetype designer v1.24.7 the limit to list option is unchecked. the expected behaviour is to allow other codes to be permitted in the composition.
The text was updated successfully, but these errors were encountered: