diff --git a/example-projects/hapi-fhir-jaxrs-sse/pom.xml b/example-projects/hapi-fhir-jaxrs-sse/pom.xml index fe3b1066360..3ded958971b 100644 --- a/example-projects/hapi-fhir-jaxrs-sse/pom.xml +++ b/example-projects/hapi-fhir-jaxrs-sse/pom.xml @@ -79,7 +79,7 @@ com.google.guava guava - 24.1.1 + 30.1.1-jre com.google.inject.extensions diff --git a/hapi-deployable-pom/pom.xml b/hapi-deployable-pom/pom.xml index b79c526e5f9..5dadc9aad78 100644 --- a/hapi-deployable-pom/pom.xml +++ b/hapi-deployable-pom/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-fhir - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../pom.xml diff --git a/hapi-fhir-android/pom.xml b/hapi-fhir-android/pom.xml index e7f963fa4ac..13df7f94840 100644 --- a/hapi-fhir-android/pom.xml +++ b/hapi-fhir-android/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-base/pom.xml b/hapi-fhir-base/pom.xml index 3f975a06dc0..8a5c1dbbb1d 100644 --- a/hapi-fhir-base/pom.xml +++ b/hapi-fhir-base/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-bom/pom.xml b/hapi-fhir-bom/pom.xml index 01da0b453f9..6883e85171b 100644 --- a/hapi-fhir-bom/pom.xml +++ b/hapi-fhir-bom/pom.xml @@ -3,14 +3,14 @@ 4.0.0 ca.uhn.hapi.fhir hapi-fhir-bom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT pom HAPI FHIR BOM ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-cli/hapi-fhir-cli-api/pom.xml b/hapi-fhir-cli/hapi-fhir-cli-api/pom.xml index cc83f068871..fcb36f3198e 100644 --- a/hapi-fhir-cli/hapi-fhir-cli-api/pom.xml +++ b/hapi-fhir-cli/hapi-fhir-cli-api/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-cli/hapi-fhir-cli-app/pom.xml b/hapi-fhir-cli/hapi-fhir-cli-app/pom.xml index 91bccaf7a77..1478151ca68 100644 --- a/hapi-fhir-cli/hapi-fhir-cli-app/pom.xml +++ b/hapi-fhir-cli/hapi-fhir-cli-app/pom.xml @@ -6,7 +6,7 @@ ca.uhn.hapi.fhir hapi-fhir-cli - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../pom.xml diff --git a/hapi-fhir-cli/hapi-fhir-cli-jpaserver/pom.xml b/hapi-fhir-cli/hapi-fhir-cli-jpaserver/pom.xml index 26f1accae7f..88e5eaee978 100644 --- a/hapi-fhir-cli/hapi-fhir-cli-jpaserver/pom.xml +++ b/hapi-fhir-cli/hapi-fhir-cli-jpaserver/pom.xml @@ -6,7 +6,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../../hapi-deployable-pom diff --git a/hapi-fhir-cli/pom.xml b/hapi-fhir-cli/pom.xml index 1e07c890444..74af8b3518f 100644 --- a/hapi-fhir-cli/pom.xml +++ b/hapi-fhir-cli/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-fhir - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../pom.xml diff --git a/hapi-fhir-client-okhttp/pom.xml b/hapi-fhir-client-okhttp/pom.xml index a280f962927..c8c7720c0d5 100644 --- a/hapi-fhir-client-okhttp/pom.xml +++ b/hapi-fhir-client-okhttp/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-client/pom.xml b/hapi-fhir-client/pom.xml index 5ef2183dcc1..5d0011f0c78 100644 --- a/hapi-fhir-client/pom.xml +++ b/hapi-fhir-client/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-converter/pom.xml b/hapi-fhir-converter/pom.xml index 7f3cba8fd56..946544d4ee1 100644 --- a/hapi-fhir-converter/pom.xml +++ b/hapi-fhir-converter/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-dist/pom.xml b/hapi-fhir-dist/pom.xml index 717e34be8b7..05d67f9e54d 100644 --- a/hapi-fhir-dist/pom.xml +++ b/hapi-fhir-dist/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-fhir - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../pom.xml diff --git a/hapi-fhir-docs/pom.xml b/hapi-fhir-docs/pom.xml index 7ce6ad60638..207463480c5 100644 --- a/hapi-fhir-docs/pom.xml +++ b/hapi-fhir-docs/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml @@ -83,13 +83,13 @@ ca.uhn.hapi.fhir hapi-fhir-structures-dstu2 - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT compile ca.uhn.hapi.fhir hapi-fhir-jpaserver-subscription - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT compile @@ -106,7 +106,7 @@ ca.uhn.hapi.fhir hapi-fhir-testpage-overlay - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT classes diff --git a/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/5_4_0/2620-avoid-tag-definition-constraint-error.yaml b/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/5_4_0/2620-avoid-tag-definition-constraint-error.yaml new file mode 100644 index 00000000000..5786ea83292 --- /dev/null +++ b/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/5_4_0/2620-avoid-tag-definition-constraint-error.yaml @@ -0,0 +1,6 @@ +--- +type: fix +issue: 2620 +title: "When creating resources in a JPA server under highly concurrent conditions, creating a new + tag across multiple threads could result in a race condition leaving an invalid entry in the + tag cache. This resulted in new instances of this tag being unavailable for creation." diff --git a/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/5_4_0/2620-tag-securitylabel-same-value-misfiled.yaml b/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/5_4_0/2620-tag-securitylabel-same-value-misfiled.yaml new file mode 100644 index 00000000000..d7561d7a399 --- /dev/null +++ b/hapi-fhir-docs/src/main/resources/ca/uhn/hapi/fhir/changelog/5_4_0/2620-tag-securitylabel-same-value-misfiled.yaml @@ -0,0 +1,6 @@ +--- +type: fix +issue: 2620 +title: "In the JPA server, if a tag was defined with the exact same system and code as a security + label on a different resource, the tag would be incorrectly filed as a security label (and + vice versa). This has been corrected." diff --git a/hapi-fhir-jacoco/pom.xml b/hapi-fhir-jacoco/pom.xml index d670f6beb82..1969922955e 100644 --- a/hapi-fhir-jacoco/pom.xml +++ b/hapi-fhir-jacoco/pom.xml @@ -11,7 +11,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-jaxrsserver-base/pom.xml b/hapi-fhir-jaxrsserver-base/pom.xml index 66d8d707b15..8bf789ceb59 100644 --- a/hapi-fhir-jaxrsserver-base/pom.xml +++ b/hapi-fhir-jaxrsserver-base/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-jaxrsserver-example/pom.xml b/hapi-fhir-jaxrsserver-example/pom.xml index 0b78ee31001..3f6c7c4cfe2 100644 --- a/hapi-fhir-jaxrsserver-example/pom.xml +++ b/hapi-fhir-jaxrsserver-example/pom.xml @@ -6,7 +6,7 @@ ca.uhn.hapi.fhir hapi-fhir - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../pom.xml diff --git a/hapi-fhir-jpaserver-api/pom.xml b/hapi-fhir-jpaserver-api/pom.xml index f071882dc59..37731ebea1a 100644 --- a/hapi-fhir-jpaserver-api/pom.xml +++ b/hapi-fhir-jpaserver-api/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-jpaserver-api/src/main/java/ca/uhn/fhir/jpa/api/dao/IFhirResourceDao.java b/hapi-fhir-jpaserver-api/src/main/java/ca/uhn/fhir/jpa/api/dao/IFhirResourceDao.java index cae51393ba9..4dd821fede5 100644 --- a/hapi-fhir-jpaserver-api/src/main/java/ca/uhn/fhir/jpa/api/dao/IFhirResourceDao.java +++ b/hapi-fhir-jpaserver-api/src/main/java/ca/uhn/fhir/jpa/api/dao/IFhirResourceDao.java @@ -61,8 +61,6 @@ import java.util.Set; */ public interface IFhirResourceDao extends IDao { - void addTag(IIdType theId, TagTypeEnum theTagType, String theScheme, String theTerm, String theLabel, RequestDetails theRequest); - /** * Create a resource - Note that this variant of the method does not take in a {@link RequestDetails} and * therefore can not fire any interceptors. Use only for internal system calls diff --git a/hapi-fhir-jpaserver-base/pom.xml b/hapi-fhir-jpaserver-base/pom.xml index c200b393be0..832557b67b4 100644 --- a/hapi-fhir-jpaserver-base/pom.xml +++ b/hapi-fhir-jpaserver-base/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java index 1290298f4bb..0ecf54258bf 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java @@ -113,7 +113,10 @@ import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.stereotype.Repository; import org.springframework.transaction.PlatformTransactionManager; +import org.springframework.transaction.support.TransactionSynchronization; +import org.springframework.transaction.support.TransactionSynchronizationManager; +import javax.annotation.Nonnull; import javax.annotation.PostConstruct; import javax.persistence.EntityManager; import javax.persistence.NoResultException; @@ -179,6 +182,7 @@ public abstract class BaseHapiFhirDao extends BaseStora private static final Logger ourLog = LoggerFactory.getLogger(BaseHapiFhirDao.class); private static final Map ourRetrievalContexts = new HashMap<>(); private static final String PROCESSING_SUB_REQUEST = "BaseHapiFhirDao.processingSubRequest"; + public static final String XACT_USERDATA_KEY_RESOLVED_TAG_DEFINITIONS = BaseHapiFhirDao.class.getName() + "_RESOLVED_TAG_DEFINITIONS"; private static boolean ourValidationDisabledForUnitTest; private static boolean ourDisableIncrementOnUpdateForUnitTest = false; @@ -287,11 +291,11 @@ public abstract class BaseHapiFhirDao extends BaseStora return retVal; } - private void extractTagsHapi(IResource theResource, ResourceTable theEntity, Set allDefs) { + private void extractTagsHapi(TransactionDetails theTransactionDetails, IResource theResource, ResourceTable theEntity, Set allDefs) { TagList tagList = ResourceMetadataKeyEnum.TAG_LIST.get(theResource); if (tagList != null) { for (Tag next : tagList) { - TagDefinition def = getTagOrNull(TagTypeEnum.TAG, next.getScheme(), next.getTerm(), next.getLabel()); + TagDefinition def = getTagOrNull(theTransactionDetails, TagTypeEnum.TAG, next.getScheme(), next.getTerm(), next.getLabel()); if (def != null) { ResourceTag tag = theEntity.addTag(def); allDefs.add(tag); @@ -303,7 +307,7 @@ public abstract class BaseHapiFhirDao extends BaseStora List securityLabels = ResourceMetadataKeyEnum.SECURITY_LABELS.get(theResource); if (securityLabels != null) { for (BaseCodingDt next : securityLabels) { - TagDefinition def = getTagOrNull(TagTypeEnum.SECURITY_LABEL, next.getSystemElement().getValue(), next.getCodeElement().getValue(), next.getDisplayElement().getValue()); + TagDefinition def = getTagOrNull(theTransactionDetails, TagTypeEnum.SECURITY_LABEL, next.getSystemElement().getValue(), next.getCodeElement().getValue(), next.getDisplayElement().getValue()); if (def != null) { ResourceTag tag = theEntity.addTag(def); allDefs.add(tag); @@ -315,7 +319,7 @@ public abstract class BaseHapiFhirDao extends BaseStora List profiles = ResourceMetadataKeyEnum.PROFILES.get(theResource); if (profiles != null) { for (IIdType next : profiles) { - TagDefinition def = getTagOrNull(TagTypeEnum.PROFILE, NS_JPA_PROFILE, next.getValue(), null); + TagDefinition def = getTagOrNull(theTransactionDetails, TagTypeEnum.PROFILE, NS_JPA_PROFILE, next.getValue(), null); if (def != null) { ResourceTag tag = theEntity.addTag(def); allDefs.add(tag); @@ -325,11 +329,11 @@ public abstract class BaseHapiFhirDao extends BaseStora } } - private void extractTagsRi(IAnyResource theResource, ResourceTable theEntity, Set theAllTags) { + private void extractTagsRi(TransactionDetails theTransactionDetails, IAnyResource theResource, ResourceTable theEntity, Set theAllTags) { List tagList = theResource.getMeta().getTag(); if (tagList != null) { for (IBaseCoding next : tagList) { - TagDefinition def = getTagOrNull(TagTypeEnum.TAG, next.getSystem(), next.getCode(), next.getDisplay()); + TagDefinition def = getTagOrNull(theTransactionDetails, TagTypeEnum.TAG, next.getSystem(), next.getCode(), next.getDisplay()); if (def != null) { ResourceTag tag = theEntity.addTag(def); theAllTags.add(tag); @@ -341,7 +345,7 @@ public abstract class BaseHapiFhirDao extends BaseStora List securityLabels = theResource.getMeta().getSecurity(); if (securityLabels != null) { for (IBaseCoding next : securityLabels) { - TagDefinition def = getTagOrNull(TagTypeEnum.SECURITY_LABEL, next.getSystem(), next.getCode(), next.getDisplay()); + TagDefinition def = getTagOrNull(theTransactionDetails, TagTypeEnum.SECURITY_LABEL, next.getSystem(), next.getCode(), next.getDisplay()); if (def != null) { ResourceTag tag = theEntity.addTag(def); theAllTags.add(tag); @@ -353,7 +357,7 @@ public abstract class BaseHapiFhirDao extends BaseStora List> profiles = theResource.getMeta().getProfile(); if (profiles != null) { for (IPrimitiveType next : profiles) { - TagDefinition def = getTagOrNull(TagTypeEnum.PROFILE, NS_JPA_PROFILE, next.getValue(), null); + TagDefinition def = getTagOrNull(theTransactionDetails, TagTypeEnum.PROFILE, NS_JPA_PROFILE, next.getValue(), null); if (def != null) { ResourceTag tag = theEntity.addTag(def); theAllTags.add(tag); @@ -408,42 +412,56 @@ public abstract class BaseHapiFhirDao extends BaseStora /** * null will only be returned if the scheme and tag are both blank */ - protected TagDefinition getTagOrNull(TagTypeEnum theTagType, String theScheme, String theTerm, String theLabel) { + protected TagDefinition getTagOrNull(TransactionDetails theTransactionDetails, TagTypeEnum theTagType, String theScheme, String theTerm, String theLabel) { if (isBlank(theScheme) && isBlank(theTerm) && isBlank(theLabel)) { return null; } - Pair key = Pair.of(theScheme, theTerm); - return myMemoryCacheService.get(MemoryCacheService.CacheEnum.TAG_DEFINITION, key, k -> { + MemoryCacheService.TagDefinitionCacheKey key = toTagDefinitionMemoryCacheKey(theTagType, theScheme, theTerm); - CriteriaBuilder builder = myEntityManager.getCriteriaBuilder(); - CriteriaQuery cq = builder.createQuery(TagDefinition.class); - Root from = cq.from(TagDefinition.class); - if (isNotBlank(theScheme)) { - cq.where( - builder.and( - builder.equal(from.get("myTagType"), theTagType), - builder.equal(from.get("mySystem"), theScheme), - builder.equal(from.get("myCode"), theTerm))); - } else { - cq.where( - builder.and( - builder.equal(from.get("myTagType"), theTagType), - builder.isNull(from.get("mySystem")), - builder.equal(from.get("myCode"), theTerm))); + TagDefinition retVal = myMemoryCacheService.getIfPresent(MemoryCacheService.CacheEnum.TAG_DEFINITION, key); + + + if (retVal == null) { + HashMap resolvedTagDefinitions = theTransactionDetails.getOrCreateUserData(XACT_USERDATA_KEY_RESOLVED_TAG_DEFINITIONS, () -> new HashMap<>()); + retVal = resolvedTagDefinitions.get(key); + + if (retVal == null) { + CriteriaBuilder builder = myEntityManager.getCriteriaBuilder(); + CriteriaQuery cq = builder.createQuery(TagDefinition.class); + Root from = cq.from(TagDefinition.class); + + if (isNotBlank(theScheme)) { + cq.where( + builder.and( + builder.equal(from.get("myTagType"), theTagType), + builder.equal(from.get("mySystem"), theScheme), + builder.equal(from.get("myCode"), theTerm))); + } else { + cq.where( + builder.and( + builder.equal(from.get("myTagType"), theTagType), + builder.isNull(from.get("mySystem")), + builder.equal(from.get("myCode"), theTerm))); + } + + TypedQuery q = myEntityManager.createQuery(cq); + try { + retVal = q.getSingleResult(); + } catch (NoResultException e) { + retVal = new TagDefinition(theTagType, theScheme, theTerm, theLabel); + myEntityManager.persist(retVal); + } + + TransactionSynchronization sync = new AddTagDefinitionToCacheAfterCommitSynchronization(key, retVal); + TransactionSynchronizationManager.registerSynchronization(sync); + + resolvedTagDefinitions.put(key, retVal); } + } - TypedQuery q = myEntityManager.createQuery(cq); - try { - return q.getSingleResult(); - } catch (NoResultException e) { - TagDefinition retVal = new TagDefinition(theTagType, theScheme, theTerm, theLabel); - myEntityManager.persist(retVal); - return retVal; - } - - }); + return retVal; } protected IBundleProvider history(RequestDetails theRequest, String theResourceType, Long theResourcePid, Date theRangeStartInclusive, Date theRangeEndInclusive) { @@ -500,7 +518,7 @@ public abstract class BaseHapiFhirDao extends BaseStora /** * Returns true if the resource has changed (either the contents or the tags) */ - protected EncodedResource populateResourceIntoEntity(RequestDetails theRequest, IBaseResource theResource, ResourceTable theEntity, boolean thePerformIndexing) { + protected EncodedResource populateResourceIntoEntity(TransactionDetails theTransactionDetails, RequestDetails theRequest, IBaseResource theResource, ResourceTable theEntity, boolean thePerformIndexing) { if (theEntity.getResourceType() == null) { theEntity.setResourceType(toResourceName(theResource)); } @@ -522,7 +540,7 @@ public abstract class BaseHapiFhirDao extends BaseStora IBaseMetaType meta = theResource.getMeta(); boolean hasExtensions = false; - IBaseExtension sourceExtension = null; + IBaseExtension sourceExtension = null; if (meta instanceof IBaseHasExtensions) { List> extensions = ((IBaseHasExtensions) meta).getExtension(); if (!extensions.isEmpty()) { @@ -590,16 +608,16 @@ public abstract class BaseHapiFhirDao extends BaseStora Set allTagsOld = getAllTagDefinitions(theEntity); if (theResource instanceof IResource) { - extractTagsHapi((IResource) theResource, theEntity, allDefs); + extractTagsHapi(theTransactionDetails, (IResource) theResource, theEntity, allDefs); } else { - extractTagsRi((IAnyResource) theResource, theEntity, allDefs); + extractTagsRi(theTransactionDetails, (IAnyResource) theResource, theEntity, allDefs); } RuntimeResourceDefinition def = myContext.getResourceDefinition(theResource); if (def.isStandardType() == false) { String profile = def.getResourceProfile(""); if (isNotBlank(profile)) { - TagDefinition profileDef = getTagOrNull(TagTypeEnum.PROFILE, NS_JPA_PROFILE, profile, null); + TagDefinition profileDef = getTagOrNull(theTransactionDetails, TagTypeEnum.PROFILE, NS_JPA_PROFILE, profile, null); ResourceTag tag = theEntity.addTag(profileDef); allDefs.add(tag); @@ -1111,7 +1129,7 @@ public abstract class BaseHapiFhirDao extends BaseStora entity.setContentText(null); entity.setHashSha256(null); entity.setIndexStatus(INDEX_STATUS_INDEXED); - changed = populateResourceIntoEntity(theRequest, theResource, entity, true); + changed = populateResourceIntoEntity(theTransactionDetails, theRequest, theResource, entity, true); } else { // CREATE or UPDATE @@ -1123,7 +1141,7 @@ public abstract class BaseHapiFhirDao extends BaseStora newParams = new ResourceIndexedSearchParams(); mySearchParamWithInlineReferencesExtractor.populateFromResource(newParams, theTransactionDetails, entity, theResource, existingParams, theRequest); - changed = populateResourceIntoEntity(theRequest, theResource, entity, true); + changed = populateResourceIntoEntity(theTransactionDetails, theRequest, theResource, entity, true); if (changed.isChanged()) { entity.setUpdated(theTransactionDetails.getTransactionDate()); if (theResource instanceof IResource) { @@ -1142,7 +1160,7 @@ public abstract class BaseHapiFhirDao extends BaseStora } else { - changed = populateResourceIntoEntity(theRequest, theResource, entity, false); + changed = populateResourceIntoEntity(theTransactionDetails, theRequest, theResource, entity, false); entity.setUpdated(theTransactionDetails.getTransactionDate()); entity.setIndexStatus(null); @@ -1521,6 +1539,27 @@ public abstract class BaseHapiFhirDao extends BaseStora // nothing yet } + private class AddTagDefinitionToCacheAfterCommitSynchronization implements TransactionSynchronization { + + private final TagDefinition myTagDefinition; + private final MemoryCacheService.TagDefinitionCacheKey myKey; + + public AddTagDefinitionToCacheAfterCommitSynchronization(MemoryCacheService.TagDefinitionCacheKey theKey, TagDefinition theTagDefinition) { + myTagDefinition = theTagDefinition; + myKey = theKey; + } + + @Override + public void afterCommit() { + myMemoryCacheService.put(MemoryCacheService.CacheEnum.TAG_DEFINITION, myKey, myTagDefinition); + } + } + + @Nonnull + public static MemoryCacheService.TagDefinitionCacheKey toTagDefinitionMemoryCacheKey(TagTypeEnum theTagType, String theScheme, String theTerm) { + return new MemoryCacheService.TagDefinitionCacheKey(theTagType, theScheme, theTerm); + } + static String cleanProvenanceSourceUri(String theProvenanceSourceUri) { if (isNotBlank(theProvenanceSourceUri)) { int hashIndex = theProvenanceSourceUri.indexOf('#'); diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirResourceDao.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirResourceDao.java index d0f1c109ee9..11445d37467 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirResourceDao.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirResourceDao.java @@ -174,42 +174,12 @@ public abstract class BaseHapiFhirResourceDao extends B private IInstanceValidatorModule myInstanceValidator; private String myResourceName; private Class myResourceType; + @Autowired private IRequestPartitionHelperSvc myPartitionHelperSvc; @Autowired private MemoryCacheService myMemoryCacheService; - @Override - @Transactional - public void addTag(IIdType theId, TagTypeEnum theTagType, String theScheme, String theTerm, String theLabel, RequestDetails theRequest) { - StopWatch w = new StopWatch(); - BaseHasResource entity = readEntity(theId, theRequest); - if (entity == null) { - throw new ResourceNotFoundException(theId); - } - - for (BaseTag next : new ArrayList<>(entity.getTags())) { - if (ObjectUtil.equals(next.getTag().getTagType(), theTagType) && - ObjectUtil.equals(next.getTag().getSystem(), theScheme) && - ObjectUtil.equals(next.getTag().getCode(), theTerm)) { - return; - } - } - - entity.setHasTags(true); - - TagDefinition def = getTagOrNull(TagTypeEnum.TAG, theScheme, theTerm, theLabel); - if (def != null) { - BaseTag newEntity = entity.addTag(def); - if (newEntity.getTagId() == null) { - myEntityManager.persist(newEntity); - myEntityManager.merge(entity); - } - } - - ourLog.debug("Processed addTag {}/{} on {} in {}ms", theScheme, theTerm, theId, w.getMillisAndRestart()); - } - @Override public DaoMethodOutcome create(final T theResource) { return create(theResource, null, true, new TransactionDetails(), null); @@ -700,7 +670,7 @@ public abstract class BaseHapiFhirResourceDao extends B if (!hasTag) { theEntity.setHasTags(true); - TagDefinition def = getTagOrNull(nextDef.getTagType(), nextDef.getSystem(), nextDef.getCode(), nextDef.getDisplay()); + TagDefinition def = getTagOrNull(theTransactionDetails, nextDef.getTagType(), nextDef.getSystem(), nextDef.getCode(), nextDef.getDisplay()); if (def != null) { BaseTag newEntity = theEntity.addTag(def); if (newEntity.getTagId() == null) { diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/tx/HapiTransactionService.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/tx/HapiTransactionService.java index 04e3d53e39f..8bf74e8cc18 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/tx/HapiTransactionService.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/tx/HapiTransactionService.java @@ -33,6 +33,7 @@ import com.google.common.annotations.VisibleForTesting; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.dao.DataIntegrityViolationException; import org.springframework.transaction.PlatformTransactionManager; import org.springframework.transaction.support.TransactionCallback; import org.springframework.transaction.support.TransactionTemplate; @@ -82,23 +83,43 @@ public class HapiTransactionService { } } - } catch (ResourceVersionConflictException e) { - ourLog.debug("Version conflict detected: {}", e.toString()); + } catch (ResourceVersionConflictException | DataIntegrityViolationException e) { + ourLog.debug("Version conflict detected", e); if (theOnRollback != null) { theOnRollback.run(); } - HookParams params = new HookParams() - .add(RequestDetails.class, theRequestDetails) - .addIfMatchesType(ServletRequestDetails.class, theRequestDetails); - ResourceVersionConflictResolutionStrategy conflictResolutionStrategy = (ResourceVersionConflictResolutionStrategy) JpaInterceptorBroadcaster.doCallHooksAndReturnObject(myInterceptorBroadcaster, theRequestDetails, Pointcut.STORAGE_VERSION_CONFLICT, params); - if (conflictResolutionStrategy != null && conflictResolutionStrategy.isRetry()) { - if (i <= conflictResolutionStrategy.getMaxRetries()) { - continue; - } + int maxRetries = 0; - ourLog.info("Max retries ({}) exceeded for version conflict", conflictResolutionStrategy.getMaxRetries()); + /* + * If two client threads both concurrently try to add the same tag that isn't + * known to the system already, they'll both try to create a row in HFJ_TAG_DEF, + * which is the tag definition table. In that case, a constraint error will be + * thrown by one of the client threads, so we auto-retry in order to avoid + * annopying spurious failures for the client. + */ + if (e.getMessage().contains("HFJ_TAG_DEF")) { + maxRetries = 3; + } + + if (maxRetries == 0) { + HookParams params = new HookParams() + .add(RequestDetails.class, theRequestDetails) + .addIfMatchesType(ServletRequestDetails.class, theRequestDetails); + ResourceVersionConflictResolutionStrategy conflictResolutionStrategy = (ResourceVersionConflictResolutionStrategy) JpaInterceptorBroadcaster.doCallHooksAndReturnObject(myInterceptorBroadcaster, theRequestDetails, Pointcut.STORAGE_VERSION_CONFLICT, params); + if (conflictResolutionStrategy != null && conflictResolutionStrategy.isRetry()) { + maxRetries = conflictResolutionStrategy.getMaxRetries(); + } + } + + if (i < maxRetries) { + sleepAtLeast(250, false); + continue; + } + + if (maxRetries > 0) { + ourLog.info("Max retries ({}) exceeded for version conflict", maxRetries); } throw e; @@ -118,4 +139,21 @@ public class HapiTransactionService { } } + @SuppressWarnings("BusyWait") + public static void sleepAtLeast(long theMillis, boolean theLogProgress) { + long start = System.currentTimeMillis(); + while (System.currentTimeMillis() <= start + theMillis) { + try { + long timeSinceStarted = System.currentTimeMillis() - start; + long timeToSleep = Math.max(0, theMillis - timeSinceStarted); + if (theLogProgress) { + ourLog.info("Sleeping for {}ms", timeToSleep); + } + Thread.sleep(timeToSleep); + } catch (InterruptedException e) { + Thread.currentThread().interrupt(); + ourLog.error("Interrupted", e); + } + } + } } diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/util/MemoryCacheService.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/util/MemoryCacheService.java index 5263333259d..6d47dabab86 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/util/MemoryCacheService.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/util/MemoryCacheService.java @@ -22,8 +22,11 @@ package ca.uhn.fhir.jpa.util; import ca.uhn.fhir.jpa.api.config.DaoConfig; import ca.uhn.fhir.jpa.api.model.TranslationQuery; +import ca.uhn.fhir.jpa.model.entity.TagTypeEnum; import com.github.benmanes.caffeine.cache.Cache; import com.github.benmanes.caffeine.cache.Caffeine; +import org.apache.commons.lang3.builder.EqualsBuilder; +import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.tuple.Pair; import org.hl7.fhir.instance.model.api.IIdType; import org.springframework.beans.factory.annotation.Autowired; @@ -64,6 +67,9 @@ public class MemoryCacheService { case PERSISTENT_ID: case RESOURCE_LOOKUP: case PID_TO_FORCED_ID: + case FORCED_ID_TO_PID: + case MATCH_URL: + case RESOURCE_CONDITIONAL_CREATE_VERSION: default: timeoutSeconds = 60; break; @@ -106,7 +112,7 @@ public class MemoryCacheService { public enum CacheEnum { - TAG_DEFINITION(Pair.class), + TAG_DEFINITION(TagDefinitionCacheKey.class), PERSISTENT_ID(String.class), RESOURCE_LOOKUP(String.class), FORCED_ID_TO_PID(String.class), @@ -124,4 +130,43 @@ public class MemoryCacheService { } + public static class TagDefinitionCacheKey { + + private final TagTypeEnum myType; + private final String mySystem; + private final String myCode; + private final int myHashCode; + + @Override + public boolean equals(Object theO) { + boolean retVal = false; + if (theO instanceof TagDefinitionCacheKey) { + TagDefinitionCacheKey that = (TagDefinitionCacheKey) theO; + + retVal = new EqualsBuilder() + .append(myType, that.myType) + .append(mySystem, that.mySystem) + .append(myCode, that.myCode) + .isEquals(); + } + return retVal; + } + + @Override + public int hashCode() { + return myHashCode; + } + + public TagDefinitionCacheKey(TagTypeEnum theType, String theSystem, String theCode) { + myType = theType; + mySystem = theSystem; + myCode = theCode; + myHashCode = new HashCodeBuilder(17, 37) + .append(myType) + .append(mySystem) + .append(myCode) + .toHashCode(); + } + } + } diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/util/TestUtil.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/util/TestUtil.java index b9bdf9faf2c..22676af6bf8 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/util/TestUtil.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/util/TestUtil.java @@ -20,6 +20,7 @@ package ca.uhn.fhir.jpa.util; * #L% */ +import ca.uhn.fhir.jpa.dao.tx.HapiTransactionService; import ca.uhn.fhir.rest.api.Constants; import ca.uhn.fhir.rest.server.exceptions.InternalErrorException; import com.google.common.collect.ImmutableSet; @@ -345,17 +346,7 @@ public class TestUtil { } public static void sleepAtLeast(long theMillis) { - long start = System.currentTimeMillis(); - while (System.currentTimeMillis() <= start + theMillis) { - try { - long timeSinceStarted = System.currentTimeMillis() - start; - long timeToSleep = Math.max(0, theMillis - timeSinceStarted); - ourLog.info("Sleeping for {}ms", timeToSleep); - Thread.sleep(timeToSleep); - } catch (InterruptedException theE) { - ourLog.error("Interrupted", theE); - } - } + HapiTransactionService.sleepAtLeast(theMillis, true); } public static InstantType getTimestamp(IBaseResource resource) { diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu2/FhirResourceDaoDstu2Test.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu2/FhirResourceDaoDstu2Test.java index 26530ca7379..4e8f2c92742 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu2/FhirResourceDaoDstu2Test.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu2/FhirResourceDaoDstu2Test.java @@ -2797,39 +2797,6 @@ public class FhirResourceDaoDstu2Test extends BaseJpaDstu2Test { assertEquals("http://profile/1", profiles.get(0).getValue()); assertEquals("http://profile/2", profiles.get(1).getValue()); - myPatientDao.addTag(patientId, TagTypeEnum.TAG, "http://foo", "Cat", "Kittens", null); - myPatientDao.addTag(patientId, TagTypeEnum.TAG, "http://foo", "Cow", "Calves", null); - - retrieved = myPatientDao.read(patientId, mySrd); - published = (TagList) retrieved.getResourceMetadata().get(ResourceMetadataKeyEnum.TAG_LIST); - sort(published); - assertEquals(3, published.size()); - assertEquals( "Dog", published.get(0).getTerm()); - assertEquals( "Puppies", published.get(0).getLabel()); - assertEquals(null, published.get(0).getScheme()); - assertEquals( "Cat", published.get(1).getTerm()); - assertEquals( "Kittens", published.get(1).getLabel()); - assertEquals( "http://foo", published.get(1).getScheme()); - assertEquals( "Cow", published.get(2).getTerm()); - assertEquals( "Calves", published.get(2).getLabel()); - assertEquals( "http://foo", published.get(2).getScheme()); - - secLabels = ResourceMetadataKeyEnum.SECURITY_LABELS.get(retrieved); - sortCodings(secLabels); - assertEquals(2, secLabels.size()); - assertEquals("seclabel:sys:1", secLabels.get(0).getSystemElement().getValue()); - assertEquals("seclabel:code:1", secLabels.get(0).getCodeElement().getValue()); - assertEquals("seclabel:dis:1", secLabels.get(0).getDisplayElement().getValue()); - assertEquals("seclabel:sys:2", secLabels.get(1).getSystemElement().getValue()); - assertEquals("seclabel:code:2", secLabels.get(1).getCodeElement().getValue()); - assertEquals("seclabel:dis:2", secLabels.get(1).getDisplayElement().getValue()); - - profiles = ResourceMetadataKeyEnum.PROFILES.get(retrieved); - profiles = sortIds(profiles); - assertEquals(2, profiles.size()); - assertEquals("http://profile/1", profiles.get(0).getValue()); - assertEquals("http://profile/2", profiles.get(1).getValue()); - } @Test diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu3/FhirResourceDaoDstu3Test.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu3/FhirResourceDaoDstu3Test.java index f062d32a128..79a6f3ebe90 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu3/FhirResourceDaoDstu3Test.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/dstu3/FhirResourceDaoDstu3Test.java @@ -67,6 +67,7 @@ import org.hl7.fhir.dstu3.model.OperationDefinition; import org.hl7.fhir.dstu3.model.Organization; import org.hl7.fhir.dstu3.model.Patient; import org.hl7.fhir.dstu3.model.Period; +import org.hl7.fhir.dstu3.model.PrimitiveType; import org.hl7.fhir.dstu3.model.Quantity; import org.hl7.fhir.dstu3.model.Quantity.QuantityComparator; import org.hl7.fhir.dstu3.model.Questionnaire; @@ -173,40 +174,19 @@ public class FhirResourceDaoDstu3Test extends BaseJpaDstu3Test { } private void sort(ArrayList thePublished) { - ArrayList tags = new ArrayList(thePublished); - Collections.sort(tags, new Comparator() { - @Override - public int compare(Coding theO1, Coding theO2) { - int retVal = defaultString(theO1.getSystem()).compareTo(defaultString(theO2.getSystem())); - if (retVal == 0) { - retVal = defaultString(theO1.getCode()).compareTo(defaultString(theO2.getCode())); - } - return retVal; - } - }); + ArrayList tags = new ArrayList<>(thePublished); + tags.sort(Comparator.comparing((Coding o) -> defaultString(o.getSystem())).thenComparing(o -> defaultString(o.getCode()))); thePublished.clear(); - for (Coding next : tags) { - thePublished.add(next); - } + thePublished.addAll(tags); } private void sortCodings(List theSecLabels) { - Collections.sort(theSecLabels, new Comparator() { - @Override - public int compare(Coding theO1, Coding theO2) { - return theO1.getSystemElement().getValue().compareTo(theO2.getSystemElement().getValue()); - } - }); + theSecLabels.sort(Comparator.comparing(o -> o.getSystemElement().getValue())); } private List sortIds(List theProfiles) { ArrayList retVal = new ArrayList(theProfiles); - Collections.sort(retVal, new Comparator() { - @Override - public int compare(UriType theO1, UriType theO2) { - return theO1.getValue().compareTo(theO2.getValue()); - } - }); + retVal.sort(Comparator.comparing(PrimitiveType::getValue)); return retVal; } @@ -3285,8 +3265,8 @@ public class FhirResourceDaoDstu3Test extends BaseJpaDstu3Test { assertEquals("http://profile/1", profiles.get(0).getValue()); assertEquals("http://profile/2", profiles.get(1).getValue()); - myPatientDao.addTag(patientId, TagTypeEnum.TAG, "http://foo", "Cat", "Kittens", null); - myPatientDao.addTag(patientId, TagTypeEnum.TAG, "http://foo", "Cow", "Calves", null); + myPatientDao.metaAddOperation(patientId, new Meta().addTag( "http://foo", "Cat", "Kittens"), null); + myPatientDao.metaAddOperation(patientId, new Meta().addTag( "http://foo", "Cow", "Calves"), null); retrieved = myPatientDao.read(patientId, mySrd); published = (ArrayList) retrieved.getMeta().getTag(); diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4MetaTest.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4MetaTest.java index 9dfcf718a8d..a58e93f417a 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4MetaTest.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4MetaTest.java @@ -1,58 +1,44 @@ package ca.uhn.fhir.jpa.dao.r4; -import ca.uhn.fhir.jpa.api.config.DaoConfig; -import ca.uhn.fhir.jpa.model.entity.NormalizedQuantitySearchLevel; -import ca.uhn.fhir.jpa.model.entity.ResourceIndexedSearchParamQuantity; -import ca.uhn.fhir.jpa.model.entity.ResourceIndexedSearchParamQuantityNormalized; -import ca.uhn.fhir.jpa.model.util.UcumServiceUtil; +import ca.uhn.fhir.jpa.api.model.DaoMethodOutcome; +import ca.uhn.fhir.jpa.dao.BaseHapiFhirDao; +import ca.uhn.fhir.jpa.model.entity.TagDefinition; +import ca.uhn.fhir.jpa.model.entity.TagTypeEnum; import ca.uhn.fhir.jpa.searchparam.SearchParameterMap; -import ca.uhn.fhir.rest.api.server.IBundleProvider; -import ca.uhn.fhir.rest.param.QuantityParam; -import ca.uhn.fhir.rest.param.StringParam; -import ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException; -import ca.uhn.fhir.rest.server.exceptions.ResourceVersionConflictException; -import ca.uhn.fhir.rest.server.exceptions.UnprocessableEntityException; -import org.apache.commons.lang3.time.DateUtils; -import org.hl7.fhir.instance.model.api.IBaseMetaType; -import org.hl7.fhir.instance.model.api.IBaseResource; +import ca.uhn.fhir.jpa.util.MemoryCacheService; +import ca.uhn.fhir.rest.param.TokenParam; +import org.apache.commons.lang3.tuple.Pair; import org.hl7.fhir.instance.model.api.IIdType; import org.hl7.fhir.r4.model.Bundle; -import org.hl7.fhir.r4.model.DateType; -import org.hl7.fhir.r4.model.DecimalType; -import org.hl7.fhir.r4.model.Enumerations; -import org.hl7.fhir.r4.model.IdType; import org.hl7.fhir.r4.model.InstantType; import org.hl7.fhir.r4.model.Meta; -import org.hl7.fhir.r4.model.Observation; -import org.hl7.fhir.r4.model.Organization; import org.hl7.fhir.r4.model.Patient; -import org.hl7.fhir.r4.model.Quantity; -import org.hl7.fhir.r4.model.SampledData; -import org.hl7.fhir.r4.model.SearchParameter; import org.hl7.fhir.r4.model.StringType; -import org.junit.jupiter.api.AfterEach; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import org.springframework.data.domain.PageRequest; +import org.springframework.beans.factory.annotation.Autowired; -import java.io.IOException; -import java.math.BigDecimal; -import java.util.Date; +import java.util.ArrayList; import java.util.List; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; +import java.util.concurrent.Future; import java.util.stream.Collectors; +import static ca.uhn.fhir.rest.api.Constants.PARAM_TAG; import static org.hamcrest.MatcherAssert.assertThat; -import static org.hamcrest.Matchers.contains; -import static org.hamcrest.Matchers.containsString; import static org.hamcrest.Matchers.empty; -import static org.hamcrest.Matchers.matchesPattern; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.fail; public class FhirResourceDaoR4MetaTest extends BaseJpaR4Test { private static final Logger ourLog = LoggerFactory.getLogger(FhirResourceDaoR4MetaTest.class); + @Autowired + private MemoryCacheService myMemoryCacheService; /** * See #1731 @@ -123,4 +109,65 @@ public class FhirResourceDaoR4MetaTest extends BaseJpaR4Test { assertThat(patient.getMeta().getSecurity(), empty()); } + @Test + public void testAddTagAndSecurityLabelWithSameValues() { + + Patient patient1 = new Patient(); + patient1.getMeta().addTag().setSystem("http://foo").setCode("bar"); + patient1.setActive(true); + IIdType pid1 = myPatientDao.create(patient1).getId(); + + Patient patient2 = new Patient(); + patient2.getMeta().addSecurity().setSystem("http://foo").setCode("bar"); + patient2.setActive(true); + IIdType pid2 = myPatientDao.create(patient2).getId(); + + patient1 = myPatientDao.read(pid1); + assertEquals(1, patient1.getMeta().getTag().size()); + assertEquals(0, patient1.getMeta().getSecurity().size()); + assertEquals("http://foo", patient1.getMeta().getTagFirstRep().getSystem()); + assertEquals("bar", patient1.getMeta().getTagFirstRep().getCode()); + + patient2 = myPatientDao.read(pid2); + assertEquals(0, patient2.getMeta().getTag().size()); + assertEquals(1, patient2.getMeta().getSecurity().size()); + assertEquals("http://foo", patient2.getMeta().getSecurityFirstRep().getSystem()); + assertEquals("bar", patient2.getMeta().getSecurityFirstRep().getCode()); + } + + + @Test + public void testConcurrentAddTag() throws ExecutionException, InterruptedException { + + ExecutorService pool = Executors.newFixedThreadPool(10); + + List> futures = new ArrayList<>(); + for (int i = 0; i < 10; i++) { + Runnable task = () -> { + Patient patient = new Patient(); + patient.getMeta().addTag().setSystem("http://foo").setCode("bar"); + patient.setActive(true); + myPatientDao.create(patient); + }; + futures.add(pool.submit(task)); + } + + // Wait for the tasks to complete, should not throw any exception + for (Future next : futures) { + try { + next.get(); + } catch (Exception e) { + ourLog.error("Failure", e); + fail(e.toString()); + } + } + + runInTransaction(() -> { + ourLog.info("Tag definitions:\n * {}", myTagDefinitionDao.findAll().stream().map(t -> t.toString()).collect(Collectors.joining("\n * "))); + }); + + assertEquals(10, myPatientDao.search(SearchParameterMap.newSynchronous()).sizeOrThrowNpe()); + assertEquals(10, myPatientDao.search(SearchParameterMap.newSynchronous(PARAM_TAG, new TokenParam("http://foo", "bar"))).sizeOrThrowNpe()); + + } } diff --git a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4Test.java b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4Test.java index 111ee968226..ed4de728bc1 100644 --- a/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4Test.java +++ b/hapi-fhir-jpaserver-base/src/test/java/ca/uhn/fhir/jpa/dao/r4/FhirResourceDaoR4Test.java @@ -4008,8 +4008,8 @@ public class FhirResourceDaoR4Test extends BaseJpaR4Test { assertEquals("http://profile/1", profiles.get(0).getValue()); assertEquals("http://profile/2", profiles.get(1).getValue()); - myPatientDao.addTag(patientId, TagTypeEnum.TAG, "http://foo", "Cat", "Kittens", null); - myPatientDao.addTag(patientId, TagTypeEnum.TAG, "http://foo", "Cow", "Calves", null); + myPatientDao.metaAddOperation(patientId, new Meta().addTag("http://foo", "Cat", "Kittens"), null); + myPatientDao.metaAddOperation(patientId, new Meta().addTag("http://foo", "Cow", "Calves"), null); retrieved = myPatientDao.read(patientId, mySrd); published = (ArrayList) retrieved.getMeta().getTag(); diff --git a/hapi-fhir-jpaserver-batch/pom.xml b/hapi-fhir-jpaserver-batch/pom.xml index 74594c4e20a..80aa742729a 100644 --- a/hapi-fhir-jpaserver-batch/pom.xml +++ b/hapi-fhir-jpaserver-batch/pom.xml @@ -6,7 +6,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml @@ -30,6 +30,11 @@ org.springframework.data spring-data-jpa + + javax.annotation + javax.annotation-api + + org.springframework.batch @@ -43,11 +48,6 @@ ${project.version} - - org.hamcrest - hamcrest - test - org.awaitility awaitility @@ -59,15 +59,6 @@ ${project.version} test - - javax.annotation - javax.annotation-api - test - - - javax.annotation - javax.annotation-api - diff --git a/hapi-fhir-jpaserver-cql/pom.xml b/hapi-fhir-jpaserver-cql/pom.xml index 1c4173e2a53..537158a0257 100644 --- a/hapi-fhir-jpaserver-cql/pom.xml +++ b/hapi-fhir-jpaserver-cql/pom.xml @@ -7,7 +7,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml @@ -149,13 +149,13 @@ ca.uhn.hapi.fhir hapi-fhir-test-utilities - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT test ca.uhn.hapi.fhir hapi-fhir-jpaserver-test-utilities - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT test diff --git a/hapi-fhir-jpaserver-mdm/pom.xml b/hapi-fhir-jpaserver-mdm/pom.xml index 6d155eb5fe6..446b28aae12 100644 --- a/hapi-fhir-jpaserver-mdm/pom.xml +++ b/hapi-fhir-jpaserver-mdm/pom.xml @@ -6,7 +6,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml @@ -26,11 +26,6 @@ spring-data-jpa ${spring_data_version} - - org.hamcrest - hamcrest - test - ca.uhn.hapi.fhir hapi-fhir-jpaserver-base @@ -55,13 +50,13 @@ ca.uhn.hapi.fhir hapi-fhir-test-utilities - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT test ca.uhn.hapi.fhir hapi-fhir-jpaserver-test-utilities - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT test @@ -69,10 +64,6 @@ spring-boot-starter-test test - - javax.servlet - javax.servlet-api - diff --git a/hapi-fhir-jpaserver-migrate/pom.xml b/hapi-fhir-jpaserver-migrate/pom.xml index 8f1d828003e..c130816bbf1 100644 --- a/hapi-fhir-jpaserver-migrate/pom.xml +++ b/hapi-fhir-jpaserver-migrate/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-jpaserver-model/pom.xml b/hapi-fhir-jpaserver-model/pom.xml index 77e0bff6a25..3c0de7b33d9 100644 --- a/hapi-fhir-jpaserver-model/pom.xml +++ b/hapi-fhir-jpaserver-model/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/TagDefinition.java b/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/TagDefinition.java index de8543c0fc8..b8bc415c61d 100644 --- a/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/TagDefinition.java +++ b/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/TagDefinition.java @@ -20,19 +20,30 @@ package ca.uhn.fhir.jpa.model.entity; * #L% */ -import ca.uhn.fhir.model.api.Tag; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; -import javax.persistence.*; +import javax.persistence.Column; +import javax.persistence.Entity; +import javax.persistence.EnumType; +import javax.persistence.Enumerated; +import javax.persistence.FetchType; +import javax.persistence.GeneratedValue; +import javax.persistence.GenerationType; +import javax.persistence.Id; +import javax.persistence.OneToMany; +import javax.persistence.SequenceGenerator; +import javax.persistence.Table; +import javax.persistence.Transient; +import javax.persistence.UniqueConstraint; import java.io.Serializable; import java.util.Collection; @Entity @Table(name = "HFJ_TAG_DEF", uniqueConstraints = { - @UniqueConstraint(name = "IDX_TAGDEF_TYPESYSCODE", columnNames = { "TAG_TYPE", "TAG_SYSTEM", "TAG_CODE" }) + @UniqueConstraint(name = "IDX_TAGDEF_TYPESYSCODE", columnNames = {"TAG_TYPE", "TAG_SYSTEM", "TAG_CODE"}) }) public class TagDefinition implements Serializable { @@ -45,7 +56,7 @@ public class TagDefinition implements Serializable { private String myDisplay; @Id - @GeneratedValue(strategy = GenerationType.AUTO, generator="SEQ_TAGDEF_ID") + @GeneratedValue(strategy = GenerationType.AUTO, generator = "SEQ_TAGDEF_ID") @SequenceGenerator(name = "SEQ_TAGDEF_ID", sequenceName = "SEQ_TAGDEF_ID") @Column(name = "TAG_ID") private Long myId; @@ -59,7 +70,7 @@ public class TagDefinition implements Serializable { @Column(name = "TAG_SYSTEM", length = 200) private String mySystem; - @Column(name="TAG_TYPE", nullable=false) + @Column(name = "TAG_TYPE", nullable = false) @Enumerated(EnumType.ORDINAL) private TagTypeEnum myTagType; @@ -80,36 +91,40 @@ public class TagDefinition implements Serializable { return myCode; } - public String getDisplay() { - return myDisplay; - } - - public Long getId() { - return myId; - } - - public String getSystem() { - return mySystem; - } - - public TagTypeEnum getTagType() { - return myTagType; - } - public void setCode(String theCode) { myCode = theCode; myHashCode = null; } + public String getDisplay() { + return myDisplay; + } + public void setDisplay(String theDisplay) { myDisplay = theDisplay; } + public Long getId() { + return myId; + } + + public void setId(Long theId) { + myId = theId; + } + + public String getSystem() { + return mySystem; + } + public void setSystem(String theSystem) { mySystem = theSystem; myHashCode = null; } + public TagTypeEnum getTagType() { + return myTagType; + } + public void setTagType(TagTypeEnum theTagType) { myTagType = theTagType; myHashCode = null; @@ -137,7 +152,7 @@ public class TagDefinition implements Serializable { return b.isEquals(); } - + @Override public int hashCode() { if (myHashCode == null) { @@ -159,7 +174,4 @@ public class TagDefinition implements Serializable { retVal.append("display", myDisplay); return retVal.build(); } - - - } diff --git a/hapi-fhir-jpaserver-searchparam/pom.xml b/hapi-fhir-jpaserver-searchparam/pom.xml index a9e7f5579a0..8b22177063c 100755 --- a/hapi-fhir-jpaserver-searchparam/pom.xml +++ b/hapi-fhir-jpaserver-searchparam/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-jpaserver-subscription/pom.xml b/hapi-fhir-jpaserver-subscription/pom.xml index ae6e855c207..a206e6a24a6 100644 --- a/hapi-fhir-jpaserver-subscription/pom.xml +++ b/hapi-fhir-jpaserver-subscription/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml @@ -78,11 +78,6 @@ - - ca.uhn.hapi.fhir - hapi-fhir-test-utilities - ${project.version} - org.springframework spring-test @@ -93,11 +88,6 @@ logback-classic test - - org.mockito - mockito-core - test - org.eclipse.jetty jetty-server diff --git a/hapi-fhir-jpaserver-test-utilities/pom.xml b/hapi-fhir-jpaserver-test-utilities/pom.xml index c8c3610cb7b..0f39eab0808 100644 --- a/hapi-fhir-jpaserver-test-utilities/pom.xml +++ b/hapi-fhir-jpaserver-test-utilities/pom.xml @@ -6,7 +6,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml @@ -25,11 +25,6 @@ hapi-fhir-jpaserver-base ${project.version} - - ca.uhn.hapi.fhir - hapi-fhir-test-utilities - ${project.version} - ch.qos.logback logback-classic diff --git a/hapi-fhir-jpaserver-uhnfhirtest/pom.xml b/hapi-fhir-jpaserver-uhnfhirtest/pom.xml index 62f60a3ce07..cffe334995d 100644 --- a/hapi-fhir-jpaserver-uhnfhirtest/pom.xml +++ b/hapi-fhir-jpaserver-uhnfhirtest/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-fhir - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../pom.xml @@ -169,7 +169,7 @@ ca.uhn.hapi.fhir hapi-fhir-converter - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT diff --git a/hapi-fhir-server-mdm/pom.xml b/hapi-fhir-server-mdm/pom.xml index 91e69548851..b9cda01ef63 100644 --- a/hapi-fhir-server-mdm/pom.xml +++ b/hapi-fhir-server-mdm/pom.xml @@ -7,7 +7,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-server-openapi/pom.xml b/hapi-fhir-server-openapi/pom.xml index f3745b85ddb..729f6514588 100644 --- a/hapi-fhir-server-openapi/pom.xml +++ b/hapi-fhir-server-openapi/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-server-openapi/src/main/java/ca/uhn/fhir/rest/openapi/OpenApiInterceptor.java b/hapi-fhir-server-openapi/src/main/java/ca/uhn/fhir/rest/openapi/OpenApiInterceptor.java index 5d0dfe7c0e3..40f20a55e46 100644 --- a/hapi-fhir-server-openapi/src/main/java/ca/uhn/fhir/rest/openapi/OpenApiInterceptor.java +++ b/hapi-fhir-server-openapi/src/main/java/ca/uhn/fhir/rest/openapi/OpenApiInterceptor.java @@ -184,7 +184,15 @@ public class OpenApiInterceptor { if (isBlank(requestPath) || requestPath.equals("/")) { Set highestRankedAcceptValues = RestfulServerUtils.parseAcceptHeaderAndReturnHighestRankedOptions(theRequest); if (highestRankedAcceptValues.contains(Constants.CT_HTML)) { - theResponse.sendRedirect("./swagger-ui/"); + + String serverBase = "."; + if (theRequestDetails.getServletRequest() != null) { + IServerAddressStrategy addressStrategy = theRequestDetails.getServer().getServerAddressStrategy(); + serverBase = addressStrategy.determineServerBase(theRequest.getServletContext(), theRequest); + } + String redirectUrl = theResponse.encodeRedirectURL(serverBase + "/swagger-ui/"); + theResponse.sendRedirect(redirectUrl); + theResponse.getWriter().close(); return false; } diff --git a/hapi-fhir-server/pom.xml b/hapi-fhir-server/pom.xml index 7002a96b7f4..660daee3492 100644 --- a/hapi-fhir-server/pom.xml +++ b/hapi-fhir-server/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-spring-boot/hapi-fhir-spring-boot-autoconfigure/pom.xml b/hapi-fhir-spring-boot/hapi-fhir-spring-boot-autoconfigure/pom.xml index feaf0480a11..2046acd8b09 100644 --- a/hapi-fhir-spring-boot/hapi-fhir-spring-boot-autoconfigure/pom.xml +++ b/hapi-fhir-spring-boot/hapi-fhir-spring-boot-autoconfigure/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-client-apache/pom.xml b/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-client-apache/pom.xml index b1c84610732..49a1c776aad 100644 --- a/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-client-apache/pom.xml +++ b/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-client-apache/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-fhir-spring-boot-samples - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT hapi-fhir-spring-boot-sample-client-apache diff --git a/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-client-okhttp/pom.xml b/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-client-okhttp/pom.xml index c8d01554e3d..69d6071fa0b 100644 --- a/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-client-okhttp/pom.xml +++ b/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-client-okhttp/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-fhir-spring-boot-samples - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT hapi-fhir-spring-boot-sample-client-okhttp diff --git a/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-server-jersey/pom.xml b/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-server-jersey/pom.xml index 89a5f282432..5f05b445e3c 100644 --- a/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-server-jersey/pom.xml +++ b/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/hapi-fhir-spring-boot-sample-server-jersey/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-fhir-spring-boot-samples - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT hapi-fhir-spring-boot-sample-server-jersey diff --git a/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/pom.xml b/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/pom.xml index c3e1f680b7e..b4357a329e4 100644 --- a/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/pom.xml +++ b/hapi-fhir-spring-boot/hapi-fhir-spring-boot-samples/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-fhir-spring-boot - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT hapi-fhir-spring-boot-samples diff --git a/hapi-fhir-spring-boot/hapi-fhir-spring-boot-starter/pom.xml b/hapi-fhir-spring-boot/hapi-fhir-spring-boot-starter/pom.xml index 3b61d351c2e..13956925ab9 100644 --- a/hapi-fhir-spring-boot/hapi-fhir-spring-boot-starter/pom.xml +++ b/hapi-fhir-spring-boot/hapi-fhir-spring-boot-starter/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-spring-boot/pom.xml b/hapi-fhir-spring-boot/pom.xml index 89781d1605d..648eb876e9d 100644 --- a/hapi-fhir-spring-boot/pom.xml +++ b/hapi-fhir-spring-boot/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-fhir - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../pom.xml diff --git a/hapi-fhir-structures-dstu2.1/pom.xml b/hapi-fhir-structures-dstu2.1/pom.xml index 0abc1c9c5c7..e5a6824c011 100644 --- a/hapi-fhir-structures-dstu2.1/pom.xml +++ b/hapi-fhir-structures-dstu2.1/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-structures-dstu2/pom.xml b/hapi-fhir-structures-dstu2/pom.xml index e4aa0b3ad3f..24ee9701fc9 100644 --- a/hapi-fhir-structures-dstu2/pom.xml +++ b/hapi-fhir-structures-dstu2/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml @@ -200,12 +200,6 @@ spring-web test - - ca.uhn.hapi.fhir - hapi-fhir-test-utilities - ${project.version} - test - org.awaitility awaitility diff --git a/hapi-fhir-structures-dstu3/pom.xml b/hapi-fhir-structures-dstu3/pom.xml index 1c333c06790..852962d7c0d 100644 --- a/hapi-fhir-structures-dstu3/pom.xml +++ b/hapi-fhir-structures-dstu3/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-structures-hl7org-dstu2/pom.xml b/hapi-fhir-structures-hl7org-dstu2/pom.xml index 35d84726b01..14f228bdb25 100644 --- a/hapi-fhir-structures-hl7org-dstu2/pom.xml +++ b/hapi-fhir-structures-hl7org-dstu2/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-structures-r4/pom.xml b/hapi-fhir-structures-r4/pom.xml index 25ba5a5ef8a..747364bb788 100644 --- a/hapi-fhir-structures-r4/pom.xml +++ b/hapi-fhir-structures-r4/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-structures-r5/pom.xml b/hapi-fhir-structures-r5/pom.xml index 2f9198a62df..281bd139473 100644 --- a/hapi-fhir-structures-r5/pom.xml +++ b/hapi-fhir-structures-r5/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml @@ -260,11 +260,6 @@ - - com.google.guava - guava - test - org.springframework diff --git a/hapi-fhir-test-utilities/pom.xml b/hapi-fhir-test-utilities/pom.xml index 0232b3ad8e2..049f03fe3e8 100644 --- a/hapi-fhir-test-utilities/pom.xml +++ b/hapi-fhir-test-utilities/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-testpage-overlay/pom.xml b/hapi-fhir-testpage-overlay/pom.xml index a496115827f..52cd3d1668c 100644 --- a/hapi-fhir-testpage-overlay/pom.xml +++ b/hapi-fhir-testpage-overlay/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-fhir - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../pom.xml diff --git a/hapi-fhir-validation-resources-dstu2.1/pom.xml b/hapi-fhir-validation-resources-dstu2.1/pom.xml index 40880fd7d29..9268d2ccf59 100644 --- a/hapi-fhir-validation-resources-dstu2.1/pom.xml +++ b/hapi-fhir-validation-resources-dstu2.1/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-validation-resources-dstu2/pom.xml b/hapi-fhir-validation-resources-dstu2/pom.xml index 114bba57fe3..695990401e2 100644 --- a/hapi-fhir-validation-resources-dstu2/pom.xml +++ b/hapi-fhir-validation-resources-dstu2/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-validation-resources-dstu3/pom.xml b/hapi-fhir-validation-resources-dstu3/pom.xml index ecd58e259ca..49c659c0981 100644 --- a/hapi-fhir-validation-resources-dstu3/pom.xml +++ b/hapi-fhir-validation-resources-dstu3/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-validation-resources-r4/pom.xml b/hapi-fhir-validation-resources-r4/pom.xml index 2af07436a9b..c289ed89fd8 100644 --- a/hapi-fhir-validation-resources-r4/pom.xml +++ b/hapi-fhir-validation-resources-r4/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-validation-resources-r5/pom.xml b/hapi-fhir-validation-resources-r5/pom.xml index 896f7ffe224..d37e662d0bb 100644 --- a/hapi-fhir-validation-resources-r5/pom.xml +++ b/hapi-fhir-validation-resources-r5/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-fhir-validation/pom.xml b/hapi-fhir-validation/pom.xml index c8b03b713a5..c25ae5aa8c3 100644 --- a/hapi-fhir-validation/pom.xml +++ b/hapi-fhir-validation/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-deployable-pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../hapi-deployable-pom/pom.xml diff --git a/hapi-tinder-plugin/pom.xml b/hapi-tinder-plugin/pom.xml index 16bd9f8943a..f16a7ab02dc 100644 --- a/hapi-tinder-plugin/pom.xml +++ b/hapi-tinder-plugin/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-fhir - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../pom.xml @@ -58,75 +58,47 @@ ca.uhn.hapi.fhir hapi-fhir-structures-dstu3 - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ca.uhn.hapi.fhir hapi-fhir-structures-hl7org-dstu2 - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ca.uhn.hapi.fhir hapi-fhir-structures-r4 - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ca.uhn.hapi.fhir hapi-fhir-structures-r5 - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ca.uhn.hapi.fhir hapi-fhir-validation-resources-dstu2 - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ca.uhn.hapi.fhir hapi-fhir-validation-resources-dstu3 - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ca.uhn.hapi.fhir hapi-fhir-validation-resources-r4 - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT org.apache.velocity - velocity - - - commons-lang - commons-lang - - + velocity-engine-core commons-lang commons-lang 2.5 - - org.apache.velocity - velocity-tools - - - commons-chain - commons-chain - - - commons-validator - commons-validator - - - commons-collections - commons-collections - - - commons-logging - commons-logging - - - com.google.guava diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ExamineTestTrace.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ExamineTestTrace.java index 6f36d5b953d..9fe66d281ac 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ExamineTestTrace.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ExamineTestTrace.java @@ -1,6 +1,5 @@ package ca.uhn.fhir.tinder; -import org.apache.commons.collections.CollectionUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -39,7 +38,6 @@ public class ExamineTestTrace { ourLog.info("Started {}", started.size()); ourLog.info("Finished {}", finished.size()); - ourLog.info(CollectionUtils.disjunction(started, finished).toString()); } diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderGenericSingleFileMojo.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderGenericSingleFileMojo.java index 42b735af204..13c9b5af005 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderGenericSingleFileMojo.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderGenericSingleFileMojo.java @@ -22,7 +22,6 @@ import org.apache.maven.plugins.annotations.Parameter; import org.apache.maven.project.MavenProject; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; -import org.apache.velocity.tools.generic.EscapeTool; import ca.uhn.fhir.tinder.AbstractGenerator.ExecutionException; import ca.uhn.fhir.tinder.AbstractGenerator.FailureException; @@ -360,7 +359,7 @@ public class TinderGenericSingleFileMojo extends AbstractMojo { ctx.put("version", version); ctx.put("isRi", BaseStructureParser.determineVersionEnum(version).isRi()); ctx.put("hash", "#"); - ctx.put("esc", new EscapeTool()); + ctx.put("esc", new TinderResourceGeneratorMojo.EscapeTool()); if (BaseStructureParser.determineVersionEnum(version).isRi()) { ctx.put("resourcePackage", "org.hl7.fhir." + version + ".model"); } else { diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderJpaRestServerMojo.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderJpaRestServerMojo.java index c5dedf7a164..e89b50e8b33 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderJpaRestServerMojo.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderJpaRestServerMojo.java @@ -11,7 +11,6 @@ import org.apache.maven.plugins.annotations.Mojo; import org.apache.maven.project.MavenProject; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; -import org.apache.velocity.tools.generic.EscapeTool; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.context.FhirVersionEnum; @@ -146,7 +145,7 @@ public class TinderJpaRestServerMojo extends AbstractMojo { ctx.put("configPackageBase", configPackageBase); ctx.put("version", version); ctx.put("package_suffix", packageSuffix); - ctx.put("esc", new EscapeTool()); + ctx.put("esc", new TinderResourceGeneratorMojo.EscapeTool()); if (BaseStructureSpreadsheetParser.determineVersionEnum(version).isRi()) { ctx.put("resourcePackage", "org.hl7.fhir." + version + ".model"); } else { diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderResourceGeneratorMojo.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderResourceGeneratorMojo.java index 2aadac24a13..ef2b0d2acf6 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderResourceGeneratorMojo.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/TinderResourceGeneratorMojo.java @@ -2,6 +2,7 @@ package ca.uhn.fhir.tinder; import ca.uhn.fhir.tinder.parser.ResourceGeneratorUsingModel; import ca.uhn.fhir.tinder.parser.ResourceGeneratorUsingSpreadsheet; +import org.apache.commons.text.StringEscapeUtils; import org.apache.maven.model.Resource; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; @@ -10,7 +11,6 @@ import org.apache.maven.plugins.annotations.Mojo; import org.apache.maven.plugins.annotations.Parameter; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; -import org.apache.velocity.tools.generic.EscapeTool; import java.io.*; @@ -72,4 +72,13 @@ public class TinderResourceGeneratorMojo extends AbstractGeneratorMojo { public File getTargetDirectory() { return targetDirectory; } + + public static class EscapeTool { + + public String html(String theHtml) { + return StringEscapeUtils.escapeHtml4(theHtml); + } + + + } } diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ValueSetGenerator.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ValueSetGenerator.java index 42a5d6411a7..307860dfd8c 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ValueSetGenerator.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ValueSetGenerator.java @@ -17,7 +17,6 @@ import org.apache.commons.lang3.text.WordUtils; import org.apache.maven.plugin.MojoFailureException; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; -import org.apache.velocity.tools.generic.EscapeTool; import java.io.*; import java.nio.charset.Charset; @@ -287,7 +286,7 @@ public class ValueSetGenerator { InputStream templateIs = null; ctx.put("valueSet", theValueSetTm); ctx.put("packageBase", thePackageBase); - ctx.put("esc", new EscapeTool()); + ctx.put("esc", new TinderResourceGeneratorMojo.EscapeTool()); VelocityEngine v = VelocityHelper.configureVelocityEngine(myTemplateFile, myVelocityPath, myVelocityProperties); if (myTemplateFile != null) { diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ant/TinderGeneratorTask.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ant/TinderGeneratorTask.java index 5cd2779ba7f..ca7a72f74b5 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ant/TinderGeneratorTask.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/ant/TinderGeneratorTask.java @@ -29,13 +29,13 @@ import java.util.ArrayList; import java.util.List; import java.util.StringTokenizer; +import ca.uhn.fhir.tinder.TinderResourceGeneratorMojo; import org.apache.commons.lang.WordUtils; import org.apache.maven.plugin.MojoFailureException; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Task; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; -import org.apache.velocity.tools.generic.EscapeTool; import ca.uhn.fhir.context.FhirContext; import ca.uhn.fhir.tinder.AbstractGenerator; @@ -423,7 +423,7 @@ public class TinderGeneratorTask extends Task { ctx.put("version", version); ctx.put("isRi", BaseStructureSpreadsheetParser.determineVersionEnum(version).isRi()); ctx.put("hash", "#"); - ctx.put("esc", new EscapeTool()); + ctx.put("esc", new TinderResourceGeneratorMojo.EscapeTool()); if (BaseStructureSpreadsheetParser.determineVersionEnum(version).isRi()) { ctx.put("resourcePackage", "org.hl7.fhir." + version + ".model"); } else { diff --git a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/parser/BaseStructureParser.java b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/parser/BaseStructureParser.java index 96bca2773ae..555742ac411 100644 --- a/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/parser/BaseStructureParser.java +++ b/hapi-tinder-plugin/src/main/java/ca/uhn/fhir/tinder/parser/BaseStructureParser.java @@ -8,6 +8,7 @@ import ca.uhn.fhir.model.api.annotation.SimpleSetter; import ca.uhn.fhir.model.dstu2.composite.ResourceReferenceDt; import ca.uhn.fhir.model.dstu2.resource.Binary; import ca.uhn.fhir.model.primitive.BoundCodeDt; +import ca.uhn.fhir.tinder.TinderResourceGeneratorMojo; import ca.uhn.fhir.tinder.TinderStructuresMojo; import ca.uhn.fhir.tinder.ValueSetGenerator; import ca.uhn.fhir.tinder.VelocityHelper; @@ -22,7 +23,6 @@ import org.apache.commons.lang3.StringUtils; import org.apache.maven.plugin.MojoFailureException; import org.apache.velocity.VelocityContext; import org.apache.velocity.app.VelocityEngine; -import org.apache.velocity.tools.generic.EscapeTool; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; @@ -519,7 +519,7 @@ public abstract class BaseStructureParser { ctx.put("searchParamsReference", (theResource.getSearchParametersResource())); ctx.put("searchParamsWithoutComposite", (theResource.getSearchParametersWithoutComposite())); ctx.put("includes", (theResource.getIncludes())); - ctx.put("esc", new EscapeTool()); + ctx.put("esc", new TinderResourceGeneratorMojo.EscapeTool()); ctx.put("isRi", determineVersionEnum().isRi()); String capitalize = WordUtils.capitalize(myVersion); @@ -664,7 +664,7 @@ public abstract class BaseStructureParser { ctx.put("nameToDatatypeClass", myNameToDatatypeClass); ctx.put("version", myVersion.replace(".", "")); ctx.put("versionEnumName", determineVersionEnum().name()); - ctx.put("esc", new EscapeTool()); + ctx.put("esc", new TinderResourceGeneratorMojo.EscapeTool()); ctx.put("isRi", determineVersionEnum().isRi()); ctx.put("package_suffix", packageSuffix); String capitalize = WordUtils.capitalize(myVersion); diff --git a/hapi-tinder-test/pom.xml b/hapi-tinder-test/pom.xml index 71dd71d7fa7..69309aca732 100644 --- a/hapi-tinder-test/pom.xml +++ b/hapi-tinder-test/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-fhir - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../pom.xml diff --git a/pom.xml b/pom.xml index 494d4f57d1b..95fd7a5b1e8 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ ca.uhn.hapi.fhir hapi-fhir pom - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT HAPI-FHIR An open-source implementation of the FHIR specification in Java. https://hapifhir.io @@ -978,6 +978,11 @@ flexmark-profile-pegdown ${flexmark_version} + + commons-beanutils + commons-beanutils + 1.9.4 + commons-cli commons-cli @@ -993,6 +998,11 @@ commons-collections4 4.4 + + commons-collections + commons-collections + 3.2.2 + org.apache.commons commons-compress @@ -1321,13 +1331,8 @@ org.apache.velocity - velocity - 1.7 - - - org.apache.velocity - velocity-tools - 2.0 + velocity-engine-core + 2.3 org.awaitility diff --git a/restful-server-example/pom.xml b/restful-server-example/pom.xml index 4aea210e143..8a6f6dd1f7a 100644 --- a/restful-server-example/pom.xml +++ b/restful-server-example/pom.xml @@ -8,7 +8,7 @@ ca.uhn.hapi.fhir hapi-fhir - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../pom.xml diff --git a/tests/hapi-fhir-base-test-jaxrsserver-kotlin/pom.xml b/tests/hapi-fhir-base-test-jaxrsserver-kotlin/pom.xml index 6cf7d6b242c..5018c466b63 100644 --- a/tests/hapi-fhir-base-test-jaxrsserver-kotlin/pom.xml +++ b/tests/hapi-fhir-base-test-jaxrsserver-kotlin/pom.xml @@ -6,7 +6,7 @@ ca.uhn.hapi.fhir hapi-fhir - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../../pom.xml diff --git a/tests/hapi-fhir-base-test-mindeps-client/pom.xml b/tests/hapi-fhir-base-test-mindeps-client/pom.xml index 32c4b7d9126..330162292cf 100644 --- a/tests/hapi-fhir-base-test-mindeps-client/pom.xml +++ b/tests/hapi-fhir-base-test-mindeps-client/pom.xml @@ -4,7 +4,7 @@ ca.uhn.hapi.fhir hapi-fhir - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../../pom.xml diff --git a/tests/hapi-fhir-base-test-mindeps-server/pom.xml b/tests/hapi-fhir-base-test-mindeps-server/pom.xml index c806594d502..f4b694d0ba4 100644 --- a/tests/hapi-fhir-base-test-mindeps-server/pom.xml +++ b/tests/hapi-fhir-base-test-mindeps-server/pom.xml @@ -5,7 +5,7 @@ ca.uhn.hapi.fhir hapi-fhir - 5.4.0-PRE9-SNAPSHOT + 5.4.0-PRE10-SNAPSHOT ../../pom.xml diff --git a/tmp2.txt b/tmp2.txt deleted file mode 100644 index f9345cf77bc..00000000000 --- a/tmp2.txt +++ /dev/null @@ -1,3287 +0,0 @@ -2019-08-29 14:35:15 -Full thread dump Java HotSpot(TM) 64-Bit Server VM (25.201-b09 mixed mode): - -"fhir_endpoint.fhirEndpointServer-99" #99 prio=5 os_prio=0 tid=0x00007f36c4006800 nid=0x1ef4 runnable [0x00007f3674fd5000] - java.lang.Thread.State: RUNNABLE - at java.util.regex.Pattern.compile(Pattern.java:1688) - at java.util.regex.Pattern.(Pattern.java:1351) - at java.util.regex.Pattern.compile(Pattern.java:1028) - at java.util.regex.Pattern.matches(Pattern.java:1133) - at java.lang.String.matches(String.java:2121) - at ca.uhn.fhir.util.UrlUtil.parseUrl(UrlUtil.java:317) - at ca.uhn.fhir.rest.server.interceptor.auth.RuleImplOp.applyRule(RuleImplOp.java:257) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.applyRulesAndReturnDecision(AuthorizationInterceptor.java:115) - at ca.cdr.endpoint.fhir.interceptor.CdrAuthorizationInterceptor.applyRulesAndReturnDecision(CdrAuthorizationInterceptor.java:85) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.applyRulesAndFailIfDeny(AuthorizationInterceptor.java:92) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.incomingRequestPreHandled(AuthorizationInterceptor.java:317) - at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.interceptor.executor.InterceptorService$HookInvoker.invoke(InterceptorService.java:497) - at ca.uhn.fhir.interceptor.executor.InterceptorService.doCallHooks(InterceptorService.java:271) - at ca.uhn.fhir.interceptor.executor.InterceptorService.callHooks(InterceptorService.java:260) - at ca.uhn.fhir.rest.server.interceptor.IServerInterceptor$ActionRequestDetails.notifyIncomingRequestPreHandled(IServerInterceptor.java:446) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.notifyInterceptors(BaseHapiFhirDao.java:519) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.doCreate(BaseHapiFhirResourceDao.java:430) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.create(BaseHapiFhirResourceDao.java:166) - at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy302.create(Unknown Source) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.doTransactionWriteOperations(TransactionProcessor.java:667) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.lambda$processTransaction$0(TransactionProcessor.java:379) - at ca.uhn.fhir.jpa.dao.TransactionProcessor$$Lambda$797/1199330225.doInTransaction(Unknown Source) - at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransaction(TransactionProcessor.java:378) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransactionAsSubRequest(TransactionProcessor.java:232) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.transaction(TransactionProcessor.java:110) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:96) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:43) - at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy305.transaction(Unknown Source) - at ca.uhn.fhir.jpa.provider.r4.JpaSystemProviderR4.transaction(JpaSystemProviderR4.java:262) - at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.invokeServerMethod(BaseMethodBinding.java:239) - at ca.uhn.fhir.rest.server.method.TransactionMethodBinding.invokeServer(TransactionMethodBinding.java:119) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:243) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-98" #98 prio=5 os_prio=0 tid=0x00007f363c00d000 nid=0x1ea6 runnable [0x00007f3676ff1000] - java.lang.Thread.State: RUNNABLE - at java.util.Collections.unmodifiableSet(Collections.java:1118) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.getFlags(AuthorizationInterceptor.java:235) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.applyRulesAndReturnDecision(AuthorizationInterceptor.java:110) - at ca.cdr.endpoint.fhir.interceptor.CdrAuthorizationInterceptor.applyRulesAndReturnDecision(CdrAuthorizationInterceptor.java:85) - at ca.uhn.fhir.rest.server.interceptor.auth.RuleImplOp.applyRule(RuleImplOp.java:291) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.applyRulesAndReturnDecision(AuthorizationInterceptor.java:115) - at ca.cdr.endpoint.fhir.interceptor.CdrAuthorizationInterceptor.applyRulesAndReturnDecision(CdrAuthorizationInterceptor.java:85) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.applyRulesAndFailIfDeny(AuthorizationInterceptor.java:92) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.incomingRequestPreHandled(AuthorizationInterceptor.java:317) - at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.interceptor.executor.InterceptorService$HookInvoker.invoke(InterceptorService.java:497) - at ca.uhn.fhir.interceptor.executor.InterceptorService.doCallHooks(InterceptorService.java:271) - at ca.uhn.fhir.interceptor.executor.InterceptorService.callHooks(InterceptorService.java:260) - at ca.uhn.fhir.rest.server.interceptor.IServerInterceptor$ActionRequestDetails.notifyIncomingRequestPreHandled(IServerInterceptor.java:446) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.notifyInterceptors(BaseHapiFhirDao.java:519) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.doCreate(BaseHapiFhirResourceDao.java:430) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.create(BaseHapiFhirResourceDao.java:166) - at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy302.create(Unknown Source) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.doTransactionWriteOperations(TransactionProcessor.java:667) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.lambda$processTransaction$0(TransactionProcessor.java:379) - at ca.uhn.fhir.jpa.dao.TransactionProcessor$$Lambda$797/1199330225.doInTransaction(Unknown Source) - at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransaction(TransactionProcessor.java:378) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransactionAsSubRequest(TransactionProcessor.java:232) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.transaction(TransactionProcessor.java:110) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:96) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:43) - at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy305.transaction(Unknown Source) - at ca.uhn.fhir.jpa.provider.r4.JpaSystemProviderR4.transaction(JpaSystemProviderR4.java:262) - at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.invokeServerMethod(BaseMethodBinding.java:239) - at ca.uhn.fhir.rest.server.method.TransactionMethodBinding.invokeServer(TransactionMethodBinding.java:119) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:243) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-97" #97 prio=5 os_prio=0 tid=0x00007f3644007800 nid=0x1e50 runnable [0x00007f3676def000] - java.lang.Thread.State: RUNNABLE - at java.util.Collections.singletonList(Collections.java:4789) - at ca.uhn.fhir.context.BaseRuntimeDeclaredChildDefinition$FieldPlainAccessor.getValues(BaseRuntimeDeclaredChildDefinition.java:201) - at ca.uhn.fhir.util.FhirTerser.visit(FhirTerser.java:860) - at ca.uhn.fhir.util.FhirTerser.visit(FhirTerser.java:887) - at ca.uhn.fhir.util.FhirTerser.visit(FhirTerser.java:887) - at ca.uhn.fhir.util.FhirTerser.getAllPopulatedChildElementsOfType(FhirTerser.java:163) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.populateResourceIntoEntity(BaseHapiFhirDao.java:532) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.updateEntity(BaseHapiFhirDao.java:1079) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.doCreate(BaseHapiFhirResourceDao.java:441) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.create(BaseHapiFhirResourceDao.java:166) - at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy302.create(Unknown Source) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.doTransactionWriteOperations(TransactionProcessor.java:667) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.lambda$processTransaction$0(TransactionProcessor.java:379) - at ca.uhn.fhir.jpa.dao.TransactionProcessor$$Lambda$797/1199330225.doInTransaction(Unknown Source) - at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransaction(TransactionProcessor.java:378) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransactionAsSubRequest(TransactionProcessor.java:232) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.transaction(TransactionProcessor.java:110) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:96) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:43) - at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy305.transaction(Unknown Source) - at ca.uhn.fhir.jpa.provider.r4.JpaSystemProviderR4.transaction(JpaSystemProviderR4.java:262) - at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.invokeServerMethod(BaseMethodBinding.java:239) - at ca.uhn.fhir.rest.server.method.TransactionMethodBinding.invokeServer(TransactionMethodBinding.java:119) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:243) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-95" #95 prio=5 os_prio=0 tid=0x00007f36b000e000 nid=0x1de2 runnable [0x00007f36754db000] - java.lang.Thread.State: RUNNABLE - at java.util.HashMap.newNode(HashMap.java:1750) - at java.util.HashMap.putVal(HashMap.java:631) - at java.util.HashMap.put(HashMap.java:612) - at java.util.HashSet.add(HashSet.java:220) - at ca.uhn.fhir.parser.ParserState$ElementCompositeState.enteringNewElement(ParserState.java:535) - at ca.uhn.fhir.parser.ParserState.enteringNewElement(ParserState.java:91) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1086) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:992) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1075) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:992) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1075) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1056) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:992) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1075) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:992) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1075) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1056) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:992) - at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:196) - at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:178) - at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:671) - at ca.uhn.fhir.rest.server.method.ResourceParameter.loadResourceFromRequest(ResourceParameter.java:190) - at ca.uhn.fhir.rest.server.method.ResourceParameter.parseResourceFromRequest(ResourceParameter.java:233) - at ca.uhn.fhir.rest.server.method.TransactionParameter.translateQueryParametersIntoServerArgument(TransactionParameter.java:85) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.createMethodParams(BaseMethodBinding.java:98) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:241) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-94" #94 prio=5 os_prio=0 tid=0x00007f36bc019800 nid=0x1d99 waiting on condition [0x00007f36c3afd000] - java.lang.Thread.State: TIMED_WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x000000077710d578> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2163) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.reservedWait(ReservedThreadExecutor.java:292) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:357) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-93" #93 prio=5 os_prio=0 tid=0x00007f365004c000 nid=0x1d3f runnable [0x00007f36753d9000] - java.lang.Thread.State: RUNNABLE - at java.net.SocketInputStream.socketRead0(Native Method) - at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) - at java.net.SocketInputStream.read(SocketInputStream.java:171) - at java.net.SocketInputStream.read(SocketInputStream.java:141) - at org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:140) - at org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:109) - at org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:67) - at org.postgresql.core.PGStream.receiveChar(PGStream.java:321) - at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1978) - at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:509) - - locked <0x00000007648fede0> (a org.postgresql.core.v3.QueryExecutorImpl) - at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:853) - at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1546) - at org.apache.commons.dbcp2.DelegatingStatement.executeBatch(DelegatingStatement.java:223) - at org.apache.commons.dbcp2.DelegatingStatement.executeBatch(DelegatingStatement.java:223) - at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at net.ttddyy.dsproxy.proxy.StatementProxyLogic.performQueryExecutionListener(StatementProxyLogic.java:316) - at net.ttddyy.dsproxy.proxy.StatementProxyLogic.access$700(StatementProxyLogic.java:37) - at net.ttddyy.dsproxy.proxy.StatementProxyLogic$1.execute(StatementProxyLogic.java:123) - at net.ttddyy.dsproxy.listener.MethodExecutionListenerUtils.invoke(MethodExecutionListenerUtils.java:42) - at net.ttddyy.dsproxy.proxy.StatementProxyLogic.invoke(StatementProxyLogic.java:120) - at net.ttddyy.dsproxy.proxy.jdk.PreparedStatementInvocationHandler.invoke(PreparedStatementInvocationHandler.java:37) - at com.sun.proxy.$Proxy162.executeBatch(Unknown Source) - at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:119) - at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:105) - at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:147) - at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.getBatch(JdbcCoordinatorImpl.java:201) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3188) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3728) - at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:91) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) - at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:361) - at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:40) - at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1493) - at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1479) - at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:308) - at com.sun.proxy.$Proxy99.flush(Unknown Source) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.flushJpaSession(TransactionProcessor.java:999) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.doTransactionWriteOperations(TransactionProcessor.java:921) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.lambda$processTransaction$0(TransactionProcessor.java:379) - at ca.uhn.fhir.jpa.dao.TransactionProcessor$$Lambda$797/1199330225.doInTransaction(Unknown Source) - at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransaction(TransactionProcessor.java:378) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransactionAsSubRequest(TransactionProcessor.java:232) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.transaction(TransactionProcessor.java:110) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:96) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:43) - at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy305.transaction(Unknown Source) - at ca.uhn.fhir.jpa.provider.r4.JpaSystemProviderR4.transaction(JpaSystemProviderR4.java:262) - at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.invokeServerMethod(BaseMethodBinding.java:239) - at ca.uhn.fhir.rest.server.method.TransactionMethodBinding.invokeServer(TransactionMethodBinding.java:119) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:243) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-92" #92 prio=5 os_prio=0 tid=0x00007f36b4070800 nid=0x1d18 runnable [0x00007f36e41f7000] - java.lang.Thread.State: RUNNABLE - at java.util.zip.Deflater.deflateBytes(Native Method) - at java.util.zip.Deflater.deflate(Deflater.java:444) - - locked <0x00000006d0abb560> (a java.util.zip.ZStreamRef) - at java.util.zip.Deflater.deflate(Deflater.java:366) - at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:251) - at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211) - at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:145) - - eliminated <0x00000006d0abb4d0> (a java.util.zip.GZIPOutputStream) - at java.io.FilterOutputStream.write(FilterOutputStream.java:97) - at org.apache.commons.io.IOUtils.write(IOUtils.java:2025) - at org.apache.commons.io.IOUtils.write(IOUtils.java:2049) - at ca.uhn.fhir.jpa.dao.GZipUtil.compress(GZipUtil.java:49) - at ca.cdr.clustermgr.entity.TransactionLogStepEntity.setBody(TransactionLogStepEntity.java:121) - at ca.cdr.endpoint.fhir.interceptor.TransactionLogInterceptor.incomingRequestPreHandled(TransactionLogInterceptor.java:148) - at sun.reflect.GeneratedMethodAccessor291.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.interceptor.executor.InterceptorService$HookInvoker.invoke(InterceptorService.java:497) - at ca.uhn.fhir.interceptor.executor.InterceptorService.doCallHooks(InterceptorService.java:271) - at ca.uhn.fhir.interceptor.executor.InterceptorService.callHooks(InterceptorService.java:260) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.invokeServerMethod(BaseMethodBinding.java:232) - at ca.uhn.fhir.rest.server.method.TransactionMethodBinding.invokeServer(TransactionMethodBinding.java:119) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:243) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-90" #90 prio=5 os_prio=0 tid=0x00007f364c009800 nid=0x1be7 runnable [0x00007f36750d7000] - java.lang.Thread.State: RUNNABLE - at java.lang.System.identityHashCode(Native Method) - at java.util.IdentityHashMap.hash(IdentityHashMap.java:295) - at java.util.IdentityHashMap.put(IdentityHashMap.java:426) - at ca.uhn.fhir.util.FhirTerser.visit(FhirTerser.java:826) - at ca.uhn.fhir.util.FhirTerser.visit(FhirTerser.java:887) - at ca.uhn.fhir.util.FhirTerser.visit(FhirTerser.java:887) - at ca.uhn.fhir.util.FhirTerser.visit(FhirTerser.java:887) - at ca.uhn.fhir.util.FhirTerser.visit(FhirTerser.java:801) - at ca.uhn.fhir.parser.ParserState$PreResourceState.weaveContainedResources(ParserState.java:1093) - at ca.uhn.fhir.parser.ParserState$PreResourceStateHl7Org.populateTarget(ParserState.java:1212) - at ca.uhn.fhir.parser.ParserState$PreResourceState.postProcess(ParserState.java:1029) - at ca.uhn.fhir.parser.ParserState$PreResourceState.wereBack(ParserState.java:1133) - at ca.uhn.fhir.parser.ParserState$PreResourceStateHl7Org.wereBack(ParserState.java:1220) - at ca.uhn.fhir.parser.ParserState.pop(ParserState.java:115) - at ca.uhn.fhir.parser.ParserState.access$400(ParserState.java:45) - at ca.uhn.fhir.parser.ParserState$ElementCompositeState.endingElement(ParserState.java:512) - at ca.uhn.fhir.parser.ParserState.endingElement(ParserState.java:87) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1077) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:992) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1075) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1056) - at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:992) - at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:196) - at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:178) - at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:671) - at ca.uhn.fhir.rest.server.method.ResourceParameter.loadResourceFromRequest(ResourceParameter.java:190) - at ca.uhn.fhir.rest.server.method.ResourceParameter.parseResourceFromRequest(ResourceParameter.java:233) - at ca.uhn.fhir.rest.server.method.TransactionParameter.translateQueryParametersIntoServerArgument(TransactionParameter.java:85) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.createMethodParams(BaseMethodBinding.java:98) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:241) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-89" #89 prio=5 os_prio=0 tid=0x00007f365c005800 nid=0x1b85 runnable [0x00007f36765e9000] - java.lang.Thread.State: RUNNABLE - at java.util.HashMap.hash(HashMap.java:339) - at java.util.HashMap.containsKey(HashMap.java:596) - at java.util.HashSet.contains(HashSet.java:204) - at java.util.Collections$UnmodifiableCollection.contains(Collections.java:1032) - at net.ttddyy.dsproxy.proxy.StatementProxyLogic.performQueryExecutionListener(StatementProxyLogic.java:246) - at net.ttddyy.dsproxy.proxy.StatementProxyLogic.access$700(StatementProxyLogic.java:37) - at net.ttddyy.dsproxy.proxy.StatementProxyLogic$1.execute(StatementProxyLogic.java:123) - at net.ttddyy.dsproxy.listener.MethodExecutionListenerUtils.invoke(MethodExecutionListenerUtils.java:42) - at net.ttddyy.dsproxy.proxy.StatementProxyLogic.invoke(StatementProxyLogic.java:120) - at net.ttddyy.dsproxy.proxy.jdk.PreparedStatementInvocationHandler.invoke(PreparedStatementInvocationHandler.java:37) - at com.sun.proxy.$Proxy162.executeQuery(Unknown Source) - at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:60) - at org.hibernate.id.enhanced.SequenceStructure$1.getNextValue(SequenceStructure.java:95) - at org.hibernate.id.enhanced.PooledOptimizer.generate(PooledOptimizer.java:93) - - locked <0x00000006f2073aa0> (a org.hibernate.id.enhanced.PooledOptimizer) - at org.hibernate.id.enhanced.SequenceStyleGenerator.generate(SequenceStyleGenerator.java:520) - at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:120) - at org.hibernate.event.internal.DefaultMergeEventListener.saveTransientEntity(DefaultMergeEventListener.java:271) - at org.hibernate.event.internal.DefaultMergeEventListener.entityIsTransient(DefaultMergeEventListener.java:243) - at org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:175) - at org.hibernate.event.internal.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:70) - at org.hibernate.internal.SessionImpl.fireMerge(SessionImpl.java:889) - at org.hibernate.internal.SessionImpl.merge(SessionImpl.java:875) - at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:308) - at com.sun.proxy.$Proxy99.merge(Unknown Source) - at ca.uhn.fhir.jpa.dao.index.DaoSearchParamSynchronizer.synchronize(DaoSearchParamSynchronizer.java:73) - at ca.uhn.fhir.jpa.dao.index.DaoSearchParamSynchronizer.synchronizeSearchParamsToDatabase(DaoSearchParamSynchronizer.java:51) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.updateEntity(BaseHapiFhirDao.java:1219) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.doTransactionWriteOperations(TransactionProcessor.java:913) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.lambda$processTransaction$0(TransactionProcessor.java:379) - at ca.uhn.fhir.jpa.dao.TransactionProcessor$$Lambda$797/1199330225.doInTransaction(Unknown Source) - at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransaction(TransactionProcessor.java:378) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransactionAsSubRequest(TransactionProcessor.java:232) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.transaction(TransactionProcessor.java:110) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:96) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:43) - at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy305.transaction(Unknown Source) - at ca.uhn.fhir.jpa.provider.r4.JpaSystemProviderR4.transaction(JpaSystemProviderR4.java:262) - at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.invokeServerMethod(BaseMethodBinding.java:239) - at ca.uhn.fhir.rest.server.method.TransactionMethodBinding.invokeServer(TransactionMethodBinding.java:119) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:243) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"admin_web.adminWebEndpointJetty-81" #81 prio=5 os_prio=0 tid=0x00007f36ac057000 nid=0x1a3a waiting on condition [0x00007f36751dc000] - java.lang.Thread.State: TIMED_WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006f0a10f88> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) - at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:392) - at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:656) - at org.eclipse.jetty.util.thread.QueuedThreadPool.access$800(QueuedThreadPool.java:46) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:720) - at java.lang.Thread.run(Thread.java:748) - -"admin_web.adminWebEndpointJetty-78" #78 prio=5 os_prio=0 tid=0x00007f36b4003000 nid=0x1a37 waiting on condition [0x00007f36771f8000] - java.lang.Thread.State: TIMED_WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x0000000761f77570> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2163) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.reservedWait(ReservedThreadExecutor.java:292) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:357) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"logback-8" #76 daemon prio=5 os_prio=0 tid=0x00007f36a4004800 nid=0x19c2 waiting on condition [0x00007f3676cf3000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ee1c7d80> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-75" #75 prio=5 os_prio=0 tid=0x0000000001ed9000 nid=0x1929 waiting on condition [0x00007f36757dc000] - java.lang.Thread.State: RUNNABLE - at java.util.zip.Deflater.deflateBytes(Native Method) - at java.util.zip.Deflater.deflate(Deflater.java:444) - - locked <0x00000006d390f4b0> (a java.util.zip.ZStreamRef) - at java.util.zip.Deflater.deflate(Deflater.java:366) - at java.util.zip.DeflaterOutputStream.deflate(DeflaterOutputStream.java:251) - at java.util.zip.DeflaterOutputStream.write(DeflaterOutputStream.java:211) - at java.util.zip.GZIPOutputStream.write(GZIPOutputStream.java:145) - - eliminated <0x00000006d390f420> (a java.util.zip.GZIPOutputStream) - at java.io.FilterOutputStream.write(FilterOutputStream.java:97) - at org.apache.commons.io.IOUtils.write(IOUtils.java:2025) - at org.apache.commons.io.IOUtils.write(IOUtils.java:2049) - at ca.uhn.fhir.jpa.dao.GZipUtil.compress(GZipUtil.java:49) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.encodeResource(BaseHapiFhirDao.java:1522) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.populateResourceIntoEntity(BaseHapiFhirDao.java:552) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.updateEntity(BaseHapiFhirDao.java:1064) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.doTransactionWriteOperations(TransactionProcessor.java:913) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.lambda$processTransaction$0(TransactionProcessor.java:379) - at ca.uhn.fhir.jpa.dao.TransactionProcessor$$Lambda$797/1199330225.doInTransaction(Unknown Source) - at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransaction(TransactionProcessor.java:378) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransactionAsSubRequest(TransactionProcessor.java:232) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.transaction(TransactionProcessor.java:110) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:96) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:43) - at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy305.transaction(Unknown Source) - at ca.uhn.fhir.jpa.provider.r4.JpaSystemProviderR4.transaction(JpaSystemProviderR4.java:262) - at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.invokeServerMethod(BaseMethodBinding.java:239) - at ca.uhn.fhir.rest.server.method.TransactionMethodBinding.invokeServer(TransactionMethodBinding.java:119) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:243) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"logback-7" #74 daemon prio=5 os_prio=0 tid=0x00007f36a4003000 nid=0x1920 waiting on condition [0x00007f36758e1000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ee1c7d80> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"ForkJoinPool.commonPool-worker-5" #73 daemon prio=5 os_prio=0 tid=0x00007f3670016800 nid=0x191e waiting on condition [0x00007f36759e2000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ef191ee8> (a java.util.concurrent.ForkJoinPool) - at java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824) - at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693) - at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) - -"ForkJoinPool.commonPool-worker-4" #72 daemon prio=5 os_prio=0 tid=0x00007f3650012000 nid=0x191d waiting on condition [0x00007f3675ae3000] - java.lang.Thread.State: TIMED_WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ef191ee8> (a java.util.concurrent.ForkJoinPool) - at java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824) - at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693) - at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) - -"Attach Listener" #71 daemon prio=9 os_prio=0 tid=0x00007f3708001000 nid=0x18c1 waiting on condition [0x0000000000000000] - java.lang.Thread.State: RUNNABLE - -"logback-6" #70 daemon prio=5 os_prio=0 tid=0x00007f369c001800 nid=0x17ee waiting on condition [0x00007f3675ce5000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ee1c7d80> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-69" #69 prio=5 os_prio=0 tid=0x00007f367c00c800 nid=0x1770 runnable [0x00007f3675de2000] - java.lang.Thread.State: RUNNABLE - at sun.nio.cs.UTF_8.newEncoder(UTF_8.java:72) - at java.lang.StringCoding.encode(StringCoding.java:348) - at java.lang.String.getBytes(String.java:941) - at ca.uhn.fhir.jpa.model.entity.BaseResourceIndexedSearchParam.hash(BaseResourceIndexedSearchParam.java:148) - at ca.uhn.fhir.jpa.model.entity.BaseResourceIndexedSearchParam.calculateHashIdentity(BaseResourceIndexedSearchParam.java:134) - at ca.uhn.fhir.jpa.model.entity.ResourceIndexedSearchParamString.calculateHashes(ResourceIndexedSearchParamString.java:176) - at ca.uhn.fhir.jpa.model.entity.ResourceIndexedSearchParamString.getHashIdentity(ResourceIndexedSearchParamString.java:209) - at ca.uhn.fhir.jpa.model.entity.ResourceIndexedSearchParamString.equals(ResourceIndexedSearchParamString.java:202) - at java.util.HashMap.putVal(HashMap.java:635) - at java.util.HashMap.put(HashMap.java:612) - at java.util.HashSet.add(HashSet.java:220) - at ca.uhn.fhir.jpa.searchparam.extractor.SearchParamExtractorR4.addStringParam(SearchParamExtractorR4.java:149) - at ca.uhn.fhir.jpa.searchparam.extractor.SearchParamExtractorR4.extractTokensFromCoding(SearchParamExtractorR4.java:755) - at ca.uhn.fhir.jpa.searchparam.extractor.SearchParamExtractorR4.extractTokensFromCodeableConcept(SearchParamExtractorR4.java:739) - at ca.uhn.fhir.jpa.searchparam.extractor.SearchParamExtractorR4.extractSearchParamTokens(SearchParamExtractorR4.java:624) - at ca.uhn.fhir.jpa.searchparam.extractor.SearchParamExtractorService.extractSearchParamTokens(SearchParamExtractorService.java:79) - at ca.uhn.fhir.jpa.searchparam.extractor.SearchParamExtractorService.extractFromResource(SearchParamExtractorService.java:49) - at ca.uhn.fhir.jpa.dao.index.SearchParamWithInlineReferencesExtractor.populateFromResource(SearchParamWithInlineReferencesExtractor.java:92) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.updateEntity(BaseHapiFhirDao.java:1062) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.doTransactionWriteOperations(TransactionProcessor.java:913) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.lambda$processTransaction$0(TransactionProcessor.java:379) - at ca.uhn.fhir.jpa.dao.TransactionProcessor$$Lambda$797/1199330225.doInTransaction(Unknown Source) - at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransaction(TransactionProcessor.java:378) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransactionAsSubRequest(TransactionProcessor.java:232) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.transaction(TransactionProcessor.java:110) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:96) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:43) - at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy305.transaction(Unknown Source) - at ca.uhn.fhir.jpa.provider.r4.JpaSystemProviderR4.transaction(JpaSystemProviderR4.java:262) - at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.invokeServerMethod(BaseMethodBinding.java:239) - at ca.uhn.fhir.rest.server.method.TransactionMethodBinding.invokeServer(TransactionMethodBinding.java:119) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:243) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-68" #68 prio=5 os_prio=0 tid=0x00007f366c003000 nid=0x176f runnable [0x00007f3675ee2000] - java.lang.Thread.State: RUNNABLE - at java.lang.Enum.valueOf(Enum.java:232) - at ca.uhn.fhir.rest.api.RequestTypeEnum.valueOf(RequestTypeEnum.java:23) - at ca.uhn.fhir.util.BundleUtil.toListOfEntries(BundleUtil.java:211) - at ca.uhn.fhir.rest.server.interceptor.auth.RuleImplOp.applyRule(RuleImplOp.java:247) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.applyRulesAndReturnDecision(AuthorizationInterceptor.java:115) - at ca.cdr.endpoint.fhir.interceptor.CdrAuthorizationInterceptor.applyRulesAndReturnDecision(CdrAuthorizationInterceptor.java:85) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.applyRulesAndFailIfDeny(AuthorizationInterceptor.java:92) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.incomingRequestPreHandled(AuthorizationInterceptor.java:317) - at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.interceptor.executor.InterceptorService$HookInvoker.invoke(InterceptorService.java:497) - at ca.uhn.fhir.interceptor.executor.InterceptorService.doCallHooks(InterceptorService.java:271) - at ca.uhn.fhir.interceptor.executor.InterceptorService.callHooks(InterceptorService.java:260) - at ca.uhn.fhir.rest.server.interceptor.IServerInterceptor$ActionRequestDetails.notifyIncomingRequestPreHandled(IServerInterceptor.java:446) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.notifyInterceptors(BaseHapiFhirDao.java:519) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.doCreate(BaseHapiFhirResourceDao.java:430) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.create(BaseHapiFhirResourceDao.java:166) - at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy302.create(Unknown Source) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.doTransactionWriteOperations(TransactionProcessor.java:667) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.lambda$processTransaction$0(TransactionProcessor.java:379) - at ca.uhn.fhir.jpa.dao.TransactionProcessor$$Lambda$797/1199330225.doInTransaction(Unknown Source) - at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransaction(TransactionProcessor.java:378) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransactionAsSubRequest(TransactionProcessor.java:232) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.transaction(TransactionProcessor.java:110) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:96) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:43) - at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy305.transaction(Unknown Source) - at ca.uhn.fhir.jpa.provider.r4.JpaSystemProviderR4.transaction(JpaSystemProviderR4.java:262) - at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.invokeServerMethod(BaseMethodBinding.java:239) - at ca.uhn.fhir.rest.server.method.TransactionMethodBinding.invokeServer(TransactionMethodBinding.java:119) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:243) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-67" #67 prio=5 os_prio=0 tid=0x00007f366c001800 nid=0x176e runnable [0x00007f3675fe3000] - java.lang.Thread.State: RUNNABLE - at java.net.SocketInputStream.socketRead0(Native Method) - at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) - at java.net.SocketInputStream.read(SocketInputStream.java:171) - at java.net.SocketInputStream.read(SocketInputStream.java:141) - at org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:140) - at org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:109) - at org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:67) - at org.postgresql.core.PGStream.receiveChar(PGStream.java:321) - at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1978) - at org.postgresql.core.v3.QueryExecutorImpl.flushIfDeadlockRisk(QueryExecutorImpl.java:1327) - at org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1352) - at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:495) - - locked <0x000000070d308678> (a org.postgresql.core.v3.QueryExecutorImpl) - at org.postgresql.jdbc.PgStatement.executeBatch(PgStatement.java:853) - at org.postgresql.jdbc.PgPreparedStatement.executeBatch(PgPreparedStatement.java:1546) - at org.apache.commons.dbcp2.DelegatingStatement.executeBatch(DelegatingStatement.java:223) - at org.apache.commons.dbcp2.DelegatingStatement.executeBatch(DelegatingStatement.java:223) - at sun.reflect.GeneratedMethodAccessor116.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at net.ttddyy.dsproxy.proxy.StatementProxyLogic.performQueryExecutionListener(StatementProxyLogic.java:316) - at net.ttddyy.dsproxy.proxy.StatementProxyLogic.access$700(StatementProxyLogic.java:37) - at net.ttddyy.dsproxy.proxy.StatementProxyLogic$1.execute(StatementProxyLogic.java:123) - at net.ttddyy.dsproxy.listener.MethodExecutionListenerUtils.invoke(MethodExecutionListenerUtils.java:42) - at net.ttddyy.dsproxy.proxy.StatementProxyLogic.invoke(StatementProxyLogic.java:120) - at net.ttddyy.dsproxy.proxy.jdk.PreparedStatementInvocationHandler.invoke(PreparedStatementInvocationHandler.java:37) - at com.sun.proxy.$Proxy162.executeBatch(Unknown Source) - at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.performExecution(BatchingBatch.java:119) - at org.hibernate.engine.jdbc.batch.internal.BatchingBatch.doExecuteBatch(BatchingBatch.java:105) - at org.hibernate.engine.jdbc.batch.internal.AbstractBatchImpl.execute(AbstractBatchImpl.java:147) - at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.getBatch(JdbcCoordinatorImpl.java:201) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3188) - at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:3728) - at org.hibernate.action.internal.EntityInsertAction.execute(EntityInsertAction.java:91) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:604) - at org.hibernate.engine.spi.ActionQueue.executeActions(ActionQueue.java:478) - at org.hibernate.event.internal.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:361) - at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:40) - at org.hibernate.internal.SessionImpl.doFlush(SessionImpl.java:1493) - at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1479) - at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:308) - at com.sun.proxy.$Proxy99.flush(Unknown Source) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.flushJpaSession(TransactionProcessor.java:999) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.doTransactionWriteOperations(TransactionProcessor.java:921) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.lambda$processTransaction$0(TransactionProcessor.java:379) - at ca.uhn.fhir.jpa.dao.TransactionProcessor$$Lambda$797/1199330225.doInTransaction(Unknown Source) - at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransaction(TransactionProcessor.java:378) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransactionAsSubRequest(TransactionProcessor.java:232) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.transaction(TransactionProcessor.java:110) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:96) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:43) - at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy305.transaction(Unknown Source) - at ca.uhn.fhir.jpa.provider.r4.JpaSystemProviderR4.transaction(JpaSystemProviderR4.java:262) - at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.invokeServerMethod(BaseMethodBinding.java:239) - at ca.uhn.fhir.rest.server.method.TransactionMethodBinding.invokeServer(TransactionMethodBinding.java:119) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:243) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-66" #66 prio=5 os_prio=0 tid=0x00007f3664001800 nid=0x176d runnable [0x00007f36760e4000] - java.lang.Thread.State: RUNNABLE - at java.util.regex.Pattern$BitClass.(Pattern.java:3319) - at java.util.regex.Pattern.clazz(Pattern.java:2486) - at java.util.regex.Pattern.sequence(Pattern.java:2065) - at java.util.regex.Pattern.expr(Pattern.java:1998) - at java.util.regex.Pattern.compile(Pattern.java:1698) - at java.util.regex.Pattern.(Pattern.java:1351) - at java.util.regex.Pattern.compile(Pattern.java:1028) - at java.util.regex.Pattern.matches(Pattern.java:1133) - at java.lang.String.matches(String.java:2121) - at ca.uhn.fhir.util.UrlUtil.parseUrl(UrlUtil.java:317) - at ca.uhn.fhir.rest.server.interceptor.auth.RuleImplOp.applyRule(RuleImplOp.java:257) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.applyRulesAndReturnDecision(AuthorizationInterceptor.java:115) - at ca.cdr.endpoint.fhir.interceptor.CdrAuthorizationInterceptor.applyRulesAndReturnDecision(CdrAuthorizationInterceptor.java:85) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.applyRulesAndFailIfDeny(AuthorizationInterceptor.java:92) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.incomingRequestPreHandled(AuthorizationInterceptor.java:317) - at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.interceptor.executor.InterceptorService$HookInvoker.invoke(InterceptorService.java:497) - at ca.uhn.fhir.interceptor.executor.InterceptorService.doCallHooks(InterceptorService.java:271) - at ca.uhn.fhir.interceptor.executor.InterceptorService.callHooks(InterceptorService.java:260) - at ca.uhn.fhir.rest.server.interceptor.IServerInterceptor$ActionRequestDetails.notifyIncomingRequestPreHandled(IServerInterceptor.java:446) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.notifyInterceptors(BaseHapiFhirDao.java:519) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.doCreate(BaseHapiFhirResourceDao.java:430) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.create(BaseHapiFhirResourceDao.java:166) - at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy302.create(Unknown Source) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.doTransactionWriteOperations(TransactionProcessor.java:667) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.lambda$processTransaction$0(TransactionProcessor.java:379) - at ca.uhn.fhir.jpa.dao.TransactionProcessor$$Lambda$797/1199330225.doInTransaction(Unknown Source) - at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransaction(TransactionProcessor.java:378) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransactionAsSubRequest(TransactionProcessor.java:232) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.transaction(TransactionProcessor.java:110) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:96) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:43) - at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy305.transaction(Unknown Source) - at ca.uhn.fhir.jpa.provider.r4.JpaSystemProviderR4.transaction(JpaSystemProviderR4.java:262) - at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.invokeServerMethod(BaseMethodBinding.java:239) - at ca.uhn.fhir.rest.server.method.TransactionMethodBinding.invokeServer(TransactionMethodBinding.java:119) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:243) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-65" #65 prio=5 os_prio=0 tid=0x00007f3668001800 nid=0x176c runnable [0x00007f36761e5000] - java.lang.Thread.State: RUNNABLE - at java.util.regex.Pattern.closure(Pattern.java:3111) - at java.util.regex.Pattern.sequence(Pattern.java:2136) - at java.util.regex.Pattern.expr(Pattern.java:1998) - at java.util.regex.Pattern.compile(Pattern.java:1698) - at java.util.regex.Pattern.(Pattern.java:1351) - at java.util.regex.Pattern.compile(Pattern.java:1028) - at java.util.regex.Pattern.matches(Pattern.java:1133) - at java.lang.String.matches(String.java:2121) - at ca.uhn.fhir.util.UrlUtil.parseUrl(UrlUtil.java:317) - at ca.uhn.fhir.rest.server.interceptor.auth.RuleImplOp.applyRule(RuleImplOp.java:257) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.applyRulesAndReturnDecision(AuthorizationInterceptor.java:115) - at ca.cdr.endpoint.fhir.interceptor.CdrAuthorizationInterceptor.applyRulesAndReturnDecision(CdrAuthorizationInterceptor.java:85) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.applyRulesAndFailIfDeny(AuthorizationInterceptor.java:92) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.incomingRequestPreHandled(AuthorizationInterceptor.java:317) - at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.interceptor.executor.InterceptorService$HookInvoker.invoke(InterceptorService.java:497) - at ca.uhn.fhir.interceptor.executor.InterceptorService.doCallHooks(InterceptorService.java:271) - at ca.uhn.fhir.interceptor.executor.InterceptorService.callHooks(InterceptorService.java:260) - at ca.uhn.fhir.rest.server.interceptor.IServerInterceptor$ActionRequestDetails.notifyIncomingRequestPreHandled(IServerInterceptor.java:446) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.notifyInterceptors(BaseHapiFhirDao.java:519) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.doCreate(BaseHapiFhirResourceDao.java:430) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.create(BaseHapiFhirResourceDao.java:166) - at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy302.create(Unknown Source) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.doTransactionWriteOperations(TransactionProcessor.java:667) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.lambda$processTransaction$0(TransactionProcessor.java:379) - at ca.uhn.fhir.jpa.dao.TransactionProcessor$$Lambda$797/1199330225.doInTransaction(Unknown Source) - at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransaction(TransactionProcessor.java:378) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransactionAsSubRequest(TransactionProcessor.java:232) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.transaction(TransactionProcessor.java:110) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:96) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:43) - at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy305.transaction(Unknown Source) - at ca.uhn.fhir.jpa.provider.r4.JpaSystemProviderR4.transaction(JpaSystemProviderR4.java:262) - at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.invokeServerMethod(BaseMethodBinding.java:239) - at ca.uhn.fhir.rest.server.method.TransactionMethodBinding.invokeServer(TransactionMethodBinding.java:119) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:243) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-64" #64 prio=5 os_prio=0 tid=0x00007f3654017000 nid=0x176b runnable [0x00007f36762e6000] - java.lang.Thread.State: RUNNABLE - at java.lang.Enum.valueOf(Enum.java:232) - at ca.uhn.fhir.rest.api.RequestTypeEnum.valueOf(RequestTypeEnum.java:23) - at ca.uhn.fhir.util.BundleUtil.toListOfEntries(BundleUtil.java:211) - at ca.uhn.fhir.rest.server.interceptor.auth.RuleImplOp.applyRule(RuleImplOp.java:247) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.applyRulesAndReturnDecision(AuthorizationInterceptor.java:115) - at ca.cdr.endpoint.fhir.interceptor.CdrAuthorizationInterceptor.applyRulesAndReturnDecision(CdrAuthorizationInterceptor.java:85) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.applyRulesAndFailIfDeny(AuthorizationInterceptor.java:92) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.incomingRequestPreHandled(AuthorizationInterceptor.java:317) - at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.interceptor.executor.InterceptorService$HookInvoker.invoke(InterceptorService.java:497) - at ca.uhn.fhir.interceptor.executor.InterceptorService.doCallHooks(InterceptorService.java:271) - at ca.uhn.fhir.interceptor.executor.InterceptorService.callHooks(InterceptorService.java:260) - at ca.uhn.fhir.rest.server.interceptor.IServerInterceptor$ActionRequestDetails.notifyIncomingRequestPreHandled(IServerInterceptor.java:446) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.notifyInterceptors(BaseHapiFhirDao.java:519) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.doCreate(BaseHapiFhirResourceDao.java:430) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.create(BaseHapiFhirResourceDao.java:166) - at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy302.create(Unknown Source) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.doTransactionWriteOperations(TransactionProcessor.java:667) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.lambda$processTransaction$0(TransactionProcessor.java:379) - at ca.uhn.fhir.jpa.dao.TransactionProcessor$$Lambda$797/1199330225.doInTransaction(Unknown Source) - at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransaction(TransactionProcessor.java:378) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransactionAsSubRequest(TransactionProcessor.java:232) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.transaction(TransactionProcessor.java:110) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:96) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:43) - at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy305.transaction(Unknown Source) - at ca.uhn.fhir.jpa.provider.r4.JpaSystemProviderR4.transaction(JpaSystemProviderR4.java:262) - at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.invokeServerMethod(BaseMethodBinding.java:239) - at ca.uhn.fhir.rest.server.method.TransactionMethodBinding.invokeServer(TransactionMethodBinding.java:119) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:243) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"ForkJoinPool.commonPool-worker-3" #59 daemon prio=5 os_prio=0 tid=0x00007f364c005000 nid=0x1766 waiting on condition [0x00007f36769f0000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ef191ee8> (a java.util.concurrent.ForkJoinPool) - at java.util.concurrent.ForkJoinPool.awaitWork(ForkJoinPool.java:1824) - at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1693) - at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) - -"logback-5" #58 daemon prio=5 os_prio=0 tid=0x00007f36e8004000 nid=0x1752 waiting on condition [0x00007f3676bf2000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ee1c7d80> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"logback-4" #57 daemon prio=5 os_prio=0 tid=0x00007f36a4001000 nid=0x171e waiting on condition [0x00007f3676af1000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ee1c7d80> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-53" #53 prio=5 os_prio=0 tid=0x00007f3644009000 nid=0x1714 runnable [0x00007f3676ef5000] - java.lang.Thread.State: RUNNABLE - at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method) - at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269) - at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93) - at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) - - locked <0x00000006fce02990> (a sun.nio.ch.Util$3) - - locked <0x00000006fce029a8> (a java.util.Collections$UnmodifiableSet) - - locked <0x00000006fcb57760> (a sun.nio.ch.EPollSelectorImpl) - at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) - at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:101) - at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.select(ManagedSelector.java:423) - at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:360) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produceTask(EatWhatYouKill.java:357) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:181) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"Scheduler-871410583" #49 prio=5 os_prio=0 tid=0x00007f367c002800 nid=0x1710 waiting on condition [0x00007f36772f9000] - java.lang.Thread.State: TIMED_WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006fce028a0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-48" #48 prio=5 os_prio=0 tid=0x00007f367c001000 nid=0x170f runnable [0x00007f36773f5000] - java.lang.Thread.State: RUNNABLE - at java.lang.Object.hashCode(Native Method) - at java.util.HashMap.hash(HashMap.java:339) - at java.util.HashMap.put(HashMap.java:612) - at java.util.HashSet.add(HashSet.java:220) - at org.springframework.transaction.support.TransactionSynchronizationManager.registerSynchronization(TransactionSynchronizationManager.java:299) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.doCreate(BaseHapiFhirResourceDao.java:476) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.create(BaseHapiFhirResourceDao.java:166) - at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy302.create(Unknown Source) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.doTransactionWriteOperations(TransactionProcessor.java:667) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.lambda$processTransaction$0(TransactionProcessor.java:379) - at ca.uhn.fhir.jpa.dao.TransactionProcessor$$Lambda$797/1199330225.doInTransaction(Unknown Source) - at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransaction(TransactionProcessor.java:378) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransactionAsSubRequest(TransactionProcessor.java:232) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.transaction(TransactionProcessor.java:110) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:96) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:43) - at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy305.transaction(Unknown Source) - at ca.uhn.fhir.jpa.provider.r4.JpaSystemProviderR4.transaction(JpaSystemProviderR4.java:262) - at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.invokeServerMethod(BaseMethodBinding.java:239) - at ca.uhn.fhir.rest.server.method.TransactionMethodBinding.invokeServer(TransactionMethodBinding.java:119) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:243) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"DestroyJavaVM" #47 prio=5 os_prio=0 tid=0x00007f3770014800 nid=0x1611 waiting on condition [0x0000000000000000] - java.lang.Thread.State: RUNNABLE - -"logback-3" #45 daemon prio=5 os_prio=0 tid=0x00007f36e8003000 nid=0x16b8 waiting on condition [0x00007f36c0e8a000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ee1c7d80> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"admin_json.adminJsonEndpointJetty-44" #44 prio=5 os_prio=0 tid=0x00007f3773569000 nid=0x168c waiting on condition [0x00007f3677cfb000] - java.lang.Thread.State: TIMED_WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006fcb6ab50> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) - at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:392) - at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:656) - at org.eclipse.jetty.util.thread.QueuedThreadPool.access$800(QueuedThreadPool.java:46) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:720) - at java.lang.Thread.run(Thread.java:748) - -"admin_json.adminJsonEndpointJetty-43" #43 prio=5 os_prio=0 tid=0x00007f377334e000 nid=0x168b waiting on condition [0x00007f3677dfc000] - java.lang.Thread.State: TIMED_WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006fcb6ab50> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) - at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:392) - at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:656) - at org.eclipse.jetty.util.thread.QueuedThreadPool.access$800(QueuedThreadPool.java:46) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:720) - at java.lang.Thread.run(Thread.java:748) - -"admin_json.adminJsonEndpointJetty-42" #42 prio=5 os_prio=0 tid=0x00007f377334c000 nid=0x168a waiting on condition [0x00007f3677efd000] - java.lang.Thread.State: TIMED_WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006fcb6ab50> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) - at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:392) - at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:656) - at org.eclipse.jetty.util.thread.QueuedThreadPool.access$800(QueuedThreadPool.java:46) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:720) - at java.lang.Thread.run(Thread.java:748) - -"admin_json.adminJsonEndpointJetty-41-acceptor-0@287635b6-ServerConnector@4b0aa281{HTTP/1.1,[http/1.1]}{0.0.0.0:9000}" #41 prio=3 os_prio=0 tid=0x00007f377334a800 nid=0x1689 runnable [0x00007f3677ffe000] - java.lang.Thread.State: RUNNABLE - at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) - at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) - at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) - - locked <0x00000006fd3286d0> (a java.lang.Object) - at org.eclipse.jetty.server.ServerConnector.accept(ServerConnector.java:385) - at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:648) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"admin_json.adminJsonEndpointJetty-40" #40 prio=5 os_prio=0 tid=0x00007f3771148800 nid=0x1688 runnable [0x00007f36c0181000] - java.lang.Thread.State: RUNNABLE - at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method) - at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269) - at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93) - at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) - - locked <0x00000006fd3390a0> (a sun.nio.ch.Util$3) - - locked <0x00000006fd3390b8> (a java.util.Collections$UnmodifiableSet) - - locked <0x00000006fc720b50> (a sun.nio.ch.EPollSelectorImpl) - at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) - at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:101) - at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.select(ManagedSelector.java:423) - at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:360) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produceTask(EatWhatYouKill.java:357) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:181) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:132) - at org.eclipse.jetty.io.ManagedSelector$$Lambda$525/1381274751.run(Unknown Source) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-39" #39 prio=5 os_prio=0 tid=0x00007f3678001000 nid=0x1687 runnable [0x00007f36c027d000] - java.lang.Thread.State: RUNNABLE - at java.util.regex.Pattern.compile(Pattern.java:1669) - at java.util.regex.Pattern.(Pattern.java:1351) - at java.util.regex.Pattern.compile(Pattern.java:1028) - at java.util.regex.Pattern.matches(Pattern.java:1133) - at java.lang.String.matches(String.java:2121) - at ca.uhn.fhir.util.UrlUtil.parseUrl(UrlUtil.java:317) - at ca.uhn.fhir.rest.server.interceptor.auth.RuleImplOp.applyRule(RuleImplOp.java:257) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.applyRulesAndReturnDecision(AuthorizationInterceptor.java:115) - at ca.cdr.endpoint.fhir.interceptor.CdrAuthorizationInterceptor.applyRulesAndReturnDecision(CdrAuthorizationInterceptor.java:85) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.applyRulesAndFailIfDeny(AuthorizationInterceptor.java:92) - at ca.uhn.fhir.rest.server.interceptor.auth.AuthorizationInterceptor.incomingRequestPreHandled(AuthorizationInterceptor.java:317) - at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.interceptor.executor.InterceptorService$HookInvoker.invoke(InterceptorService.java:497) - at ca.uhn.fhir.interceptor.executor.InterceptorService.doCallHooks(InterceptorService.java:271) - at ca.uhn.fhir.interceptor.executor.InterceptorService.callHooks(InterceptorService.java:260) - at ca.uhn.fhir.rest.server.interceptor.IServerInterceptor$ActionRequestDetails.notifyIncomingRequestPreHandled(IServerInterceptor.java:446) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirDao.notifyInterceptors(BaseHapiFhirDao.java:519) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.doCreate(BaseHapiFhirResourceDao.java:430) - at ca.uhn.fhir.jpa.dao.BaseHapiFhirResourceDao.create(BaseHapiFhirResourceDao.java:166) - at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy302.create(Unknown Source) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.doTransactionWriteOperations(TransactionProcessor.java:667) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.lambda$processTransaction$0(TransactionProcessor.java:379) - at ca.uhn.fhir.jpa.dao.TransactionProcessor$$Lambda$797/1199330225.doInTransaction(Unknown Source) - at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:140) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransaction(TransactionProcessor.java:378) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.processTransactionAsSubRequest(TransactionProcessor.java:232) - at ca.uhn.fhir.jpa.dao.TransactionProcessor.transaction(TransactionProcessor.java:110) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:96) - at ca.uhn.fhir.jpa.dao.r4.FhirSystemDaoR4.transaction(FhirSystemDaoR4.java:43) - at sun.reflect.GeneratedMethodAccessor315.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) - at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) - at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:139) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) - at ca.cdr.pers.aspect.InvocationCountingAspect.doBasicProfiling(InvocationCountingAspect.java:36) - at sun.reflect.GeneratedMethodAccessor254.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) - at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) - at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.transaction.interceptor.TransactionInterceptor$$Lambda$360/1581023858.proceedWithInvocation(Unknown Source) - at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295) - at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:93) - at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) - at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) - at com.sun.proxy.$Proxy305.transaction(Unknown Source) - at ca.uhn.fhir.jpa.provider.r4.JpaSystemProviderR4.transaction(JpaSystemProviderR4.java:262) - at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source) - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.lang.reflect.Method.invoke(Method.java:498) - at ca.uhn.fhir.rest.server.method.BaseMethodBinding.invokeServerMethod(BaseMethodBinding.java:239) - at ca.uhn.fhir.rest.server.method.TransactionMethodBinding.invokeServer(TransactionMethodBinding.java:119) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.doInvokeServer(BaseResourceReturningMethodBinding.java:243) - at ca.uhn.fhir.rest.server.method.BaseResourceReturningMethodBinding.invokeServer(BaseResourceReturningMethodBinding.java:380) - at ca.uhn.fhir.rest.server.RestfulServer.handleRequest(RestfulServer.java:997) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.handleRequest(BaseFhirEndpointServlet.java:229) - at ca.uhn.fhir.rest.server.RestfulServer.doPost(RestfulServer.java:345) - at ca.uhn.fhir.rest.server.RestfulServer.service(RestfulServer.java:1655) - at ca.cdr.endpoint.fhir.web.BaseFhirEndpointServlet.service(BaseFhirEndpointServlet.java:362) - at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) - at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1623) - at ca.cdr.api.web.BlockVerbsFilter.doFilter(BlockVerbsFilter.java:47) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) - at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:74) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334) - at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215) - at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178) - at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357) - at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200) - at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:109) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.JettyHealthCheckFilterHttpResponses.doFilter(JettyHealthCheckFilterHttpResponses.java:103) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.endpoint.fhir.web.FhirEndpointErrorTrapFilter.doFilter(FhirEndpointErrorTrapFilter.java:44) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ExceptionLoggerFilter.doFilter(ExceptionLoggerFilter.java:43) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.DefaultResourcesFilter.doFilter(DefaultResourcesFilter.java:56) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.security.SaveModuleInRequestFilter.doFilter(SaveModuleInRequestFilter.java:60) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.IgnoreInvalidAuthorizationHeaderFilter.doFilter(IgnoreInvalidAuthorizationHeaderFilter.java:50) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at ca.cdr.api.web.ClearSecurityFilter.doFilter(ClearSecurityFilter.java:22) - at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) - at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) - at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) - at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) - at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480) - at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) - at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247) - at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) - at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) - at org.eclipse.jetty.server.Server.handle(Server.java:502) - at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364) - at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) - at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) - at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) - at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"fhir_endpoint.fhirEndpointServer-38-acceptor-0@16755ea5-ServerConnector@141f3a7b{HTTP/1.1,[http/1.1]}{0.0.0.0:8000}" #38 prio=3 os_prio=0 tid=0x00007f37733fd800 nid=0x1686 runnable [0x00007f36c0383000] - java.lang.Thread.State: RUNNABLE - at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) - at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) - at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) - - locked <0x00000006fcbf4308> (a java.lang.Object) - at org.eclipse.jetty.server.ServerConnector.accept(ServerConnector.java:385) - at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:648) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"scheduledExecutorService-5" #36 prio=5 os_prio=0 tid=0x00007f3688001800 nid=0x167f waiting on condition [0x00007f36c0785000] - java.lang.Thread.State: TIMED_WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006fc1a3e68> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"scheduledExecutorService-4" #35 prio=5 os_prio=0 tid=0x00007f3772fd5800 nid=0x167d waiting on condition [0x00007f36c0886000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006fc1a3e68> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"scheduledExecutorService-3" #34 prio=5 os_prio=0 tid=0x00007f3772fd3800 nid=0x167c waiting on condition [0x00007f36c0987000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006fc1a3e68> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"scheduledExecutorService-2" #33 prio=5 os_prio=0 tid=0x00007f3772fd2000 nid=0x167b waiting on condition [0x00007f36c0a88000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006fc1a3e68> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"scheduledExecutorService-1" #32 prio=5 os_prio=0 tid=0x00007f3772fd1000 nid=0x167a waiting on condition [0x00007f36c0b89000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006fc1a3e68> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"Scheduler-292911380" #30 prio=5 os_prio=0 tid=0x00007f36b400e800 nid=0x1678 waiting on condition [0x00007f36c138b000] - java.lang.Thread.State: TIMED_WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006f1e2a8d0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"logback-2" #29 daemon prio=5 os_prio=0 tid=0x00007f36e8001800 nid=0x1677 waiting on condition [0x00007f36c148c000] - java.lang.Thread.State: TIMED_WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ee1c7d80> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"pool-3-thread-1" #28 daemon prio=5 os_prio=0 tid=0x00007f377396a800 nid=0x166e runnable [0x00007f36c25fa000] - java.lang.Thread.State: TIMED_WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006f2eda9d0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"admin_web.adminWebEndpointJetty-27" #27 prio=5 os_prio=0 tid=0x00007f3772c28000 nid=0x166b runnable [0x00007f36c38fb000] - java.lang.Thread.State: RUNNABLE - at sun.nio.ch.EPollArrayWrapper.epollWait(Native Method) - at sun.nio.ch.EPollArrayWrapper.poll(EPollArrayWrapper.java:269) - at sun.nio.ch.EPollSelectorImpl.doSelect(EPollSelectorImpl.java:93) - at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86) - - locked <0x00000006f0d83fa8> (a sun.nio.ch.Util$3) - - locked <0x00000006f0d83fc0> (a java.util.Collections$UnmodifiableSet) - - locked <0x00000006f14e78a0> (a sun.nio.ch.EPollSelectorImpl) - at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97) - at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:101) - at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.select(ManagedSelector.java:423) - at org.eclipse.jetty.io.ManagedSelector$SelectorProducer.produce(ManagedSelector.java:360) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produceTask(EatWhatYouKill.java:357) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:181) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) - at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) - at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"admin_web.adminWebEndpointJetty-26" #26 prio=5 os_prio=0 tid=0x00007f3772c26800 nid=0x166a waiting on condition [0x00007f36c39fc000] - java.lang.Thread.State: TIMED_WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006f0a10f88> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) - at org.eclipse.jetty.util.BlockingArrayQueue.poll(BlockingArrayQueue.java:392) - at org.eclipse.jetty.util.thread.QueuedThreadPool.idleJobPoll(QueuedThreadPool.java:656) - at org.eclipse.jetty.util.thread.QueuedThreadPool.access$800(QueuedThreadPool.java:46) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:720) - at java.lang.Thread.run(Thread.java:748) - -"admin_web.adminWebEndpointJetty-24-acceptor-0@32c5c796-ServerConnector@6098d8ee{HTTP/1.1,[http/1.1]}{0.0.0.0:9100}" #24 prio=3 os_prio=0 tid=0x00007f3772c23000 nid=0x1668 runnable [0x00007f36c3bfe000] - java.lang.Thread.State: RUNNABLE - at sun.nio.ch.ServerSocketChannelImpl.accept0(Native Method) - at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:422) - at sun.nio.ch.ServerSocketChannelImpl.accept(ServerSocketChannelImpl.java:250) - - locked <0x00000006f130d360> (a java.lang.Object) - at org.eclipse.jetty.server.ServerConnector.accept(ServerConnector.java:385) - at org.eclipse.jetty.server.AbstractConnector$Acceptor.run(AbstractConnector.java:648) - at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765) - at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683) - at java.lang.Thread.run(Thread.java:748) - -"clustermgr.heartbeat2" #22 prio=5 os_prio=0 tid=0x00007f3772943000 nid=0x1651 waiting on condition [0x00007f36e44fc000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006f0732af8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"clustermgr.heartbeat1" #21 prio=5 os_prio=0 tid=0x00007f3772931000 nid=0x1650 waiting on condition [0x00007f36e45fd000] - java.lang.Thread.State: TIMED_WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006f0732af8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"pool-2-thread-1" #20 daemon prio=5 os_prio=0 tid=0x00007f3772423000 nid=0x164d waiting on condition [0x00007f370c1e9000] - java.lang.Thread.State: TIMED_WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ee9f0940> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"Hibernate Search: ControlServer-2" #19 prio=5 os_prio=0 tid=0x00007f36dc2b1800 nid=0x164c waiting on condition [0x00007f370c8ea000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ee1b1678> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"PostgreSQL-JDBC-SharedTimer-1" #18 daemon prio=5 os_prio=0 tid=0x00007f3771f4b800 nid=0x164b in Object.wait() [0x00007f370cdeb000] - java.lang.Thread.State: TIMED_WAITING (on object monitor) - at java.lang.Object.wait(Native Method) - at java.util.TimerThread.mainLoop(Timer.java:552) - - locked <0x00000006ee9bc070> (a java.util.TaskQueue) - at java.util.TimerThread.run(Timer.java:505) - -"mysql-cj-abandoned-connection-cleanup" #17 daemon prio=5 os_prio=0 tid=0x00007f3771e0b800 nid=0x1648 in Object.wait() [0x00007f370d4ec000] - java.lang.Thread.State: TIMED_WAITING (on object monitor) - at java.lang.Object.wait(Native Method) - at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144) - - locked <0x00000006ee9f0970> (a java.lang.ref.ReferenceQueue$Lock) - at com.mysql.cj.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:85) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"Hibernate Search: ControlServer-1" #16 prio=5 os_prio=0 tid=0x00007f36dc2b0800 nid=0x1647 waiting on condition [0x00007f370d7ed000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ee1b1678> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"smilecdr.control" #15 prio=5 os_prio=0 tid=0x00007f377178e000 nid=0x1646 runnable [0x00007f370e7a3000] - java.lang.Thread.State: RUNNABLE - at java.net.PlainSocketImpl.socketAccept(Native Method) - at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409) - at java.net.ServerSocket.implAccept(ServerSocket.java:545) - at java.net.ServerSocket.accept(ServerSocket.java:513) - at ca.cdr.app.control.ControlServer$ConnectionAcceptor.run(ControlServer.java:113) - -"AsyncAppender-Worker-RUNTIME" #13 daemon prio=5 os_prio=0 tid=0x00007f3771213800 nid=0x1640 waiting on condition [0x00007f37387f8000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ee1bff50> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:403) - at ch.qos.logback.core.AsyncAppenderBase$Worker.run(AsyncAppenderBase.java:289) - -"AsyncAppender-Worker-STDOUT" #12 daemon prio=5 os_prio=0 tid=0x00007f37711f9000 nid=0x163f waiting on condition [0x00007f37388f9000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ee1b77a0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.ArrayBlockingQueue.take(ArrayBlockingQueue.java:403) - at ch.qos.logback.core.AsyncAppenderBase$Worker.run(AsyncAppenderBase.java:289) - -"logback-1" #11 daemon prio=5 os_prio=0 tid=0x00007f37711bd000 nid=0x163e waiting on condition [0x00007f37389fa000] - java.lang.Thread.State: WAITING (parking) - at sun.misc.Unsafe.park(Native Method) - - parking to wait for <0x00000006ee1c7d80> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) - at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) - at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1088) - at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) - at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) - at java.lang.Thread.run(Thread.java:748) - -"Service Thread" #10 daemon prio=9 os_prio=0 tid=0x00007f3770142800 nid=0x1639 runnable [0x0000000000000000] - java.lang.Thread.State: RUNNABLE - -"C1 CompilerThread3" #9 daemon prio=9 os_prio=0 tid=0x00007f377013f800 nid=0x1638 waiting on condition [0x0000000000000000] - java.lang.Thread.State: RUNNABLE - -"C2 CompilerThread2" #8 daemon prio=9 os_prio=0 tid=0x00007f377013d800 nid=0x1637 waiting on condition [0x0000000000000000] - java.lang.Thread.State: RUNNABLE - -"C2 CompilerThread1" #7 daemon prio=9 os_prio=0 tid=0x00007f377013b800 nid=0x1636 waiting on condition [0x0000000000000000] - java.lang.Thread.State: RUNNABLE - -"C2 CompilerThread0" #6 daemon prio=9 os_prio=0 tid=0x00007f3770139800 nid=0x1635 waiting on condition [0x0000000000000000] - java.lang.Thread.State: RUNNABLE - -"Signal Dispatcher" #5 daemon prio=9 os_prio=0 tid=0x00007f3770137800 nid=0x1633 runnable [0x0000000000000000] - java.lang.Thread.State: RUNNABLE - -"Surrogate Locker Thread (Concurrent GC)" #4 daemon prio=9 os_prio=0 tid=0x00007f3770136000 nid=0x1632 waiting on condition [0x0000000000000000] - java.lang.Thread.State: RUNNABLE - -"Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00007f3770102800 nid=0x162b in Object.wait() [0x00007f3739efd000] - java.lang.Thread.State: WAITING (on object monitor) - at java.lang.Object.wait(Native Method) - at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144) - - locked <0x00000006ee1c0a50> (a java.lang.ref.ReferenceQueue$Lock) - at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:165) - at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:216) - -"Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00007f3770100000 nid=0x162a in Object.wait() [0x00007f3739ffe000] - java.lang.Thread.State: WAITING (on object monitor) - at java.lang.Object.wait(Native Method) - at java.lang.Object.wait(Object.java:502) - at java.lang.ref.Reference.tryHandlePending(Reference.java:191) - - locked <0x00000006ee1b77e8> (a java.lang.ref.Reference$Lock) - at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153) - -"VM Thread" os_prio=0 tid=0x00007f37700f6800 nid=0x1629 runnable - -"Gang worker#0 (Parallel GC Threads)" os_prio=0 tid=0x00007f377001a800 nid=0x1613 runnable - -"Gang worker#1 (Parallel GC Threads)" os_prio=0 tid=0x00007f3770028000 nid=0x1614 runnable - -"Gang worker#2 (Parallel GC Threads)" os_prio=0 tid=0x00007f3770029800 nid=0x1615 runnable - -"Gang worker#3 (Parallel GC Threads)" os_prio=0 tid=0x00007f377002b000 nid=0x1617 runnable - -"Gang worker#4 (Parallel GC Threads)" os_prio=0 tid=0x00007f377002d000 nid=0x1619 runnable - -"Gang worker#5 (Parallel GC Threads)" os_prio=0 tid=0x00007f377002e800 nid=0x161b runnable - -"Gang worker#6 (Parallel GC Threads)" os_prio=0 tid=0x00007f3770030800 nid=0x161c runnable - -"Gang worker#7 (Parallel GC Threads)" os_prio=0 tid=0x00007f3770032000 nid=0x161e runnable - -"Concurrent Mark-Sweep GC Thread" os_prio=0 tid=0x00007f37700a3800 nid=0x1625 runnable - -"Gang worker#0 (Parallel CMS Threads)" os_prio=0 tid=0x00007f377009f800 nid=0x1623 runnable - -"Gang worker#1 (Parallel CMS Threads)" os_prio=0 tid=0x00007f37700a1800 nid=0x1624 runnable - -"VM Periodic Task Thread" os_prio=0 tid=0x00007f3770145800 nid=0x163a waiting on condition - -JNI global references: 1788 -