-
Bug
-
Resolution: Done
-
Blocker
-
fuse-7.7-GA
-
None
-
%
-
+
-
Automated
FHIR Transaction operation doesn't work. When I select FHIR transaction operation, select Included Resource Types and click on next, I see an error
Warning alert:Error retrieving resource schema for type: Transaction. Unable to fetch and process metadata
and the following exception is in the meta pod:
The other FHIR operations work.
This happens on Build#11.1 FHIR Transaction operation worked during the Build#8 testing.
2020-07-13 08:51:36.321 ERROR 1 --- [ XNIO-1 task-5] i.s.c.meta.VerifierExceptionMapper : Exception while handling request: POST /api/v1/connectors/fhir/actions/io.syndesis:fhir-transaction-connector io.syndesis.common.util.SyndesisServerException: Error retrieving resource schema for type: Transaction. Unable to fetch and process metadata at io.syndesis.connector.support.verifier.api.MetadataRetrieval.handle(MetadataRetrieval.java:51) ~[connector-support-verifier-1.10.0.fuse-770019-redhat-00001.jar!/:1.10.0.fuse-770019-redhat-00001] at io.syndesis.connector.meta.v1.ConnectorEndpoint.actions(ConnectorEndpoint.java:63) ~[classes!/:1.10.0.fuse-770019-redhat-00001] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_252] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_252] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_252] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_252] at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140) ~[resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:509) ~[resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:399) ~[resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$0(ResourceMethodInvoker.java:363) ~[resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358) ~[resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:365) ~[resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:337) ~[resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:310) ~[resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:443) [resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:233) [resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:139) [resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.core.interception.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:358) ~[resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:142) [resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:219) [resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:227) ~[resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56) ~[resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51) ~[resteasy-jaxrs-3.6.1.Final-redhat-00001.jar!/:3.6.1.Final-redhat-00001] at javax.servlet.http.HttpServlet.service(HttpServlet.java:750) ~[javax.servlet-api-4.0.1.jar!/:4.0.1] at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:262) ~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) ~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at org.springframework.boot.actuate.web.trace.servlet.HttpTraceFilter.doFilterInternal(HttpTraceFilter.java:88) ~[spring-boot-actuator-2.1.6.RELEASE.jar!/:2.1.6.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) ~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) ~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) ~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:92) ~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) ~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93) ~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) ~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMetrics(WebMvcMetricsFilter.java:114) ~[spring-boot-actuator-2.1.6.RELEASE.jar!/:2.1.6.RELEASE] at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:104) ~[spring-boot-actuator-2.1.6.RELEASE.jar!/:2.1.6.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) ~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) ~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) ~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE] at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) ~[undertow-core-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) ~[undertow-core-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) ~[undertow-core-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:269) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:78) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:133) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:130) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:249) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:78) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:99) ~[undertow-servlet-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.server.Connectors.executeRootHandler(Connectors.java:376) ~[undertow-core-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:830) ~[undertow-core-2.0.30.SP3-redhat-00001.jar!/:2.0.30.SP3-redhat-00001] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_252] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_252] at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_252] Caused by: java.lang.IllegalStateException: Error retrieving resource schema for type: Transaction at io.syndesis.connector.fhir.FhirMetadataRetrieval.newResourceSpecification(FhirMetadataRetrieval.java:205) ~[connector-fhir-1.10.0.fuse-770019-redhat-00001.jar!/:1.10.0.fuse-770019-redhat-00001] at io.syndesis.connector.fhir.FhirMetadataRetrieval.createSyndesisMetadata(FhirMetadataRetrieval.java:143) ~[connector-fhir-1.10.0.fuse-770019-redhat-00001.jar!/:1.10.0.fuse-770019-redhat-00001] at io.syndesis.connector.fhir.FhirMetadataRetrieval.adapt(FhirMetadataRetrieval.java:83) ~[connector-fhir-1.10.0.fuse-770019-redhat-00001.jar!/:1.10.0.fuse-770019-redhat-00001] at io.syndesis.connector.support.verifier.api.ComponentMetadataRetrieval.fetch(ComponentMetadataRetrieval.java:50) ~[connector-support-verifier-1.10.0.fuse-770019-redhat-00001.jar!/:1.10.0.fuse-770019-redhat-00001] at io.syndesis.connector.meta.v1.ConnectorEndpoint.actions(ConnectorEndpoint.java:58) ~[classes!/:1.10.0.fuse-770019-redhat-00001] ... 82 common frames omitted Caused by: com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Illegal type (io.atlasmap.xml.v2.XmlDocument) to deserialize: prevented for security reasons at [Source: (String)"{ "XmlDocument" : { "jsonType" : "io.atlasmap.xml.v2.XmlDocument", "fields" : { "field" : [ { "jsonType" : "io.atlasmap.xml.v2.XmlComplexType", "path" : "/tns:Transaction", "fieldType" : "COMPLEX", "name" : "tns:Transaction", "xmlFields" : { "xmlField" : [ { "jsonType" : "io.atlasmap.xml.v2.XmlComplexType", "path" : "/tns:Transaction/tns:Transaction", "fieldType" : "COMPLEX", "name" "[truncated 638 chars]; line: 3, column: 18] at com.fasterxml.jackson.databind.exc.InvalidDefinitionException.from(InvalidDefinitionException.java:67) ~[jackson-databind-2.9.10.4-redhat-00001.jar!/:2.9.10.4-redhat-00001] at com.fasterxml.jackson.databind.jsontype.TypeDeserializer.checkLegalTypes(TypeDeserializer.java:237) ~[jackson-databind-2.9.10.4-redhat-00001.jar!/:2.9.10.4-redhat-00001] at com.fasterxml.jackson.databind.jsontype.impl.TypeDeserializerBase._findDeserializer(TypeDeserializerBase.java:160) ~[jackson-databind-2.9.10.4-redhat-00001.jar!/:2.9.10.4-redhat-00001] at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer._deserializeTypedForId(AsPropertyTypeDeserializer.java:113) ~[jackson-databind-2.9.10.4-redhat-00001.jar!/:2.9.10.4-redhat-00001] at com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer.deserializeTypedFromObject(AsPropertyTypeDeserializer.java:97) ~[jackson-databind-2.9.10.4-redhat-00001.jar!/:2.9.10.4-redhat-00001] at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeWithType(BeanDeserializerBase.java:1178) ~[jackson-databind-2.9.10.4-redhat-00001.jar!/:2.9.10.4-redhat-00001] at com.fasterxml.jackson.databind.deser.impl.TypeWrappedDeserializer.deserialize(TypeWrappedDeserializer.java:68) ~[jackson-databind-2.9.10.4-redhat-00001.jar!/:2.9.10.4-redhat-00001] at com.fasterxml.jackson.databind.ObjectMapper._unwrapAndDeserialize(ObjectMapper.java:4094) ~[jackson-databind-2.9.10.4-redhat-00001.jar!/:2.9.10.4-redhat-00001] at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:4012) ~[jackson-databind-2.9.10.4-redhat-00001.jar!/:2.9.10.4-redhat-00001] at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3005) ~[jackson-databind-2.9.10.4-redhat-00001.jar!/:2.9.10.4-redhat-00001] at io.syndesis.connector.fhir.FhirMetadataRetrieval.includeResources(FhirMetadataRetrieval.java:213) ~[connector-fhir-1.10.0.fuse-770019-redhat-00001.jar!/:1.10.0.fuse-770019-redhat-00001] at io.syndesis.connector.fhir.FhirMetadataRetrieval.newResourceSpecification(FhirMetadataRetrieval.java:202) ~[connector-fhir-1.10.0.fuse-770019-redhat-00001.jar!/:1.10.0.fuse-770019-redhat-00001] ... 86 common frames omitted