Error "Item already contained by Sequence" when receiving study

47 views
Skip to first unread message

Clédio Moreira Paiva

unread,
Sep 10, 2021, 4:46:27 PM9/10/21
to dcm4che
Hello,

Im using:
dcm4chee-arc-psql:5.22.1-secure-ui - dockerized version with docker-compose on linux

im facing the following error when i try to receive an specific study:

2021-09-10 17:12:55,098 INFO  [org.dcm4chee.arc.store.impl.StoreServiceEJB] (EE-ManagedExecutorService-default-Thread-683) PACS<-CT108221(713): Query for MWL Items with MergeMWLQueryParam{accessionNumber='117988', studyIUID='null', spsID='null'}
2021-09-10 17:12:55,099 INFO  [org.dcm4chee.arc.store.impl.StoreServiceEJB] (EE-ManagedExecutorService-default-Thread-683) PACS<-CT108221(713): Found 2 matching MWL Items
2021-09-10 17:12:55,101 INFO  [org.dcm4chee.arc.store.impl.StoreServiceImpl] (EE-ManagedExecutorService-default-Thread-683) PACS<-CT108221(713): Unexpected Exception: : java.lang.IllegalArgumentException: Item already contained by Sequence
        at org.dcm4...@5.22.1//org.dcm4che3.data.Attributes.setParent(Attributes.java:253)

My system has an attribute coercion rule instructed at this post:

It seems that the coercion rule try to search a entry in MWL using AccessionNumber condition, and at the error message we can see that dcm4chee found 2 entries for this particular acession number. I think that this can be the root cause of the problem.

Searching in github, i found this issue, that seems to be related to my error:


I see that seems to be a bug that was solved in dcm4chee dcm4chee-arc-psql:5.24.0

So maybe i can correct this situation just updating my dcm4chee ?

In case of i really need to update my dcm4chee, there is some guide to help me to update from dcm4chee-arc-psql:5.22.1-secure-ui - dockerized version with docker-compose to the latest version ?

Vrinda Nayak

unread,
Sep 13, 2021, 3:59:10 AM9/13/21
to dcm4che
This issue has been fixed in archive version 5.24.0

CPaiva

unread,
Sep 13, 2021, 11:19:00 PM9/13/21
to dcm4che
Thanks ! i just wanted to make sure that this is the solution, before this delicated process of update. Thanks again.
Reply all
Reply to author
Forward
0 new messages