Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate Item exception #92

Open
ccwhite333 opened this issue Jun 13, 2022 · 0 comments
Open

Duplicate Item exception #92

ccwhite333 opened this issue Jun 13, 2022 · 0 comments

Comments

@ccwhite333
Copy link
Contributor

java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: org.marc.everest.exceptions.DuplicateItemException: Item already exists in the SET
at org.openmrs.module.xdssender.api.service.impl.XdsExportServiceImpl.exportProvideAndRegister(XdsExportServiceImpl.java:102)
at sun.reflect.GeneratedMethodAccessor2011.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:317)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:201)
at com.sun.proxy.$Proxy304.exportProvideAndRegister(Unknown Source)
at org.openmrs.module.xdssender.api.cda.EncounterEventListener.exportEncounter(EncounterEventListener.java:112)
at org.openmrs.module.xdssender.api.cda.EncounterEventListener.onMessage(EncounterEventListener.java:78)
at org.openmrs.event.EventEngine$3.onMessage(EventEngine.java:222)
at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:1229)
at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:134)
at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:205)
at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:122)
at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43)
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)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: org.marc.everest.exceptions.DuplicateItemException: Item already exists in the SET
at org.openmrs.module.xdssender.api.cda.ClinicalDocumentBuilder.buildDocument(ClinicalDocumentBuilder.java:116)
at org.openmrs.module.xdssender.api.service.impl.XdsExportServiceImpl.exportProvideAndRegister(XdsExportServiceImpl.java:61)
... 17 more
Caused by: java.lang.RuntimeException: org.marc.everest.exceptions.DuplicateItemException: Item already exists in the SET
at org.openmrs.module.xdssender.api.cda.DocumentBuilderImpl.generate(DocumentBuilderImpl.java:240)
at org.openmrs.module.xdssender.api.cda.ClinicalDocumentBuilder.buildDocument(ClinicalDocumentBuilder.java:106)
... 18 more
Caused by: org.marc.everest.exceptions.DuplicateItemException: Item already exists in the SET
at org.marc.everest.datatypes.generic.SET.add(SET.java:160)
at org.openmrs.module.xdssender.api.cda.CdaDataUtil.createNameSet(CdaDataUtil.java:610)
at org.openmrs.module.xdssender.api.cda.CdaDataUtil.createRecordTarget(CdaDataUtil.java:508)
at org.openmrs.module.xdssender.api.cda.DocumentBuilderImpl.generate(DocumentBuilderImpl.java:208)
... 19 more

@ccwhite333 ccwhite333 changed the title Duplicate Item exception when trying to send lab order Duplicate Item exception Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant