Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

dcm4chee-arc 5.29.1 - Index 0 out of bounds for length 0 error

122 views
Skip to first unread message

Ruben Cruz

unread,
Sep 21, 2023, 7:43:04 AM9/21/23
to dcm4che
Hi,

I've successfully installed dcm4chee-arc 5.29.1 but I'm seeing the following error when send some stuies via STORE.

I don't know what could be causing this ERROR. Does anyone have any idea of what could be missing?

Thanks,
Rúben Cruz

2023-09-21 12:28:12,739 INFO  [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-32) AET1<-AET2(3) >> A-ASSOCIATE-RQ
2023-09-21 12:28:12,739 INFO  [org.dcm4che3.net.Association] (EE-ManagedExecutorService-default-Thread-32) AET1<-AET2(3) << A-ASSOCIATE-AC
2023-09-21 12:28:12,794 INFO  [org.dcm4che3.net.Dimse] (EE-ManagedExecutorService-default-Thread-32) AET1<-AET2(3) >> 1:C-STORE-RQ[pcid=5, prior=0
  cuid=1.2.840.10008.5.1.4.1.1.1.2 - Digital Mammography X-Ray Image Storage - For Presentation
  iuid=1.2.840.113681.2886917281.1669966796.7744.36198 - ?
  tsuid=1.2.840.10008.1.2.4.70 - JPEG Lossless, Non-Hierarchical, First-Order Prediction (Process 14 [Selection Value 1])]
2023-09-21 12:28:12,872 INFO  [org.dcm4chee.arc.patient.impl.PatientServiceEJB] (EE-ManagedExecutorService-default-Thread-32) AET1<-AET2(3): Create Patient[pk=2, id=PatientID[pk=2, id=ID-00001, issuer=CM\T\2.16.124.113638.1.3.3\T\ISO], name=ANONYMIZED_0000000]
2023-09-21 12:28:12,887 INFO  [org.dcm4chee.arc.store.impl.StoreServiceEJB] (EE-ManagedExecutorService-default-Thread-32) Illegal code item in Sequence (0008,1032):
(0008,0100) SH [] CodeValue
(0008,0104) LO [MAMOGRAFIA BILATERAL, 2 INCIDENCIAS POR MAMA] CodeMeaning

2023-09-21 12:28:12,891 INFO  [org.dcm4chee.arc.store.impl.StoreServiceEJB] (EE-ManagedExecutorService-default-Thread-32) AET1<-AET2(3): Create Study[pk=2, uid=1.2.826.0.1.3680043.9.4911.113.20221202.83512.1823811000, id=0100000915303490]
2023-09-21 12:28:12,900 INFO  [org.dcm4chee.arc.store.impl.StoreServiceEJB] (EE-ManagedExecutorService-default-Thread-32) AET1<-AET2(3): Create Series[pk=2, uid=1.2.840.113681.2886917281.1669966796.7744.36197, no=71100000, mod=MG]
2023-09-21 12:28:12,902 INFO  [org.dcm4chee.arc.store.impl.StoreServiceEJB] (EE-ManagedExecutorService-default-Thread-32) AET1<-AET2(3): Create Instance[pk=10, uid=1.2.840.113681.2886917281.1669966796.7744.36198, class=1.2.840.10008.5.1.4.1.1.1.2, no=2]
2023-09-21 12:28:12,903 INFO  [org.dcm4chee.arc.store.impl.StoreServiceEJB] (EE-ManagedExecutorService-default-Thread-32) AET1<-AET2(3): Create Location[pk=10, systemID=fs1, path=2023/09/21/BB937BD1/D38D552A/D38D552B, tsuid=1.2.840.10008.1.2.4.70, size=2877484, status=OK, objectType=DICOM_FILE]
2023-09-21 12:28:12,913 INFO  [org.dcm4chee.arc.store.impl.StoreServiceImpl] (EE-ManagedExecutorService-default-Thread-32) AET1<-AET2(3): Updated DB in 68 ms
2023-09-21 12:28:12,917 ERROR [org.jboss.as.ejb3.invocation] (EE-ManagedExecutorService-default-Thread-32) WFLYEJB0034: Jakarta Enterprise Beans Invocation failed on component StoreServiceEJB for method public void org.dcm4chee.arc.store.impl.StoreServiceEJB.checkDuplicatePatientCreated(org.dcm4chee.arc.store.StoreContext,org.dcm4che3.data.IDWithIssuer,org.dcm4chee.arc.store.impl.UpdateDBResult,java.util.Date): javax.ejb.EJBException: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:268)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:390)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:160)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
    at org.jboss...@3.1.9.Final//org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:81)
    at org.jboss.as...@26.1.1.Final//org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.security.IdentityOutflowInterceptor.processInvocation(IdentityOutflowInterceptor.java:73)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.security.SecurityDomainInterceptor.processInvocation(SecurityDomainInterceptor.java:44)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:438)
    at org.wildfly.secu...@1.19.0.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:633)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:57)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:191)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:81)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear.dcm4chee-arc-store-5.29.1.jar//org.dcm4chee.arc.store.impl.StoreServiceEJB$$$view23.checkDuplicatePatientCreated(Unknown Source)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.jboss...@3.1.9.Final//org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:410)
    at org.jboss...@3.1.9.Final//org.jboss.weld.module.ejb.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:134)
    at org.jboss...@3.1.9.Final//org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)
    at org.jboss...@3.1.9.Final//org.jboss.weld.module.ejb.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:68)
    at org.jboss...@3.1.9.Final//org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:106)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear.dcm4chee-arc-store-5.29.1.jar//org.dcm4chee.arc.store.impl.StoreServiceEJB$Proxy$_$$_Weld$EnterpriseProxy$.checkDuplicatePatientCreated(Unknown Source)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear.dcm4chee-arc-store-5.29.1.jar//org.dcm4chee.arc.store.impl.StoreServiceImpl.postUpdateDB(StoreServiceImpl.java:306)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear.dcm4chee-arc-store-5.29.1.jar//org.dcm4chee.arc.store.impl.StoreServiceImpl.store(StoreServiceImpl.java:218)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear.dcm4chee-arc-store-5.29.1.jar//org.dcm4chee.arc.store.impl.StoreServiceImpl.store(StoreServiceImpl.java:190)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear.dcm4chee-arc-store-5.29.1.jar//org.dcm4chee.arc.store.impl.StoreServiceImpl$Proxy$_$$_WeldClientProxy.store(Unknown Source)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear//org.dcm4chee.arc.store.scp.CStoreSCP.store(CStoreSCP.java:36)
    at org.dcm...@5.29.1//org.dcm4che3.net.service.BasicCStoreSCP.onDimseRQ(BasicCStoreSCP.java:72)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.jboss...@3.1.9.Final//org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)
    at org.jboss...@3.1.9.Final//org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:106)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear//org.dcm4che3.net.service.DicomService$297285715$Proxy$_$$_WeldClientProxy.onDimseRQ(Unknown Source)
    at org.dcm...@5.29.1//org.dcm4che3.net.service.DicomServiceRegistry.onDimseRQ(DicomServiceRegistry.java:86)
    at org.dcm...@5.29.1//org.dcm4che3.net.ApplicationEntity.onDimseRQ(ApplicationEntity.java:491)
    at org.dcm...@5.29.1//org.dcm4che3.net.Association.onDimseRQ(Association.java:750)
    at org.dcm...@5.29.1//org.dcm4che3.net.PDUDecoder.decodeDIMSE(PDUDecoder.java:467)
    at org.dcm...@5.29.1//org.dcm4che3.net.Association.handlePDataTF(Association.java:733)
    at org.dcm...@5.29.1//org.dcm4che3.net.State$4.onPDataTF(State.java:108)
    at org.dcm...@5.29.1//org.dcm4che3.net.Association.onPDataTF(Association.java:729)
    at org.dcm...@5.29.1//org.dcm4che3.net.PDUDecoder.nextPDU(PDUDecoder.java:177)
    at org.dcm...@5.29.1//org.dcm4che3.net.Association$2.run(Association.java:566)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.concurrent.ControlPointUtils$ControlledRunnable.run(ControlPointUtils.java:125)
    at org.wildfly.secu...@1.19.0.Final//org.wildfly.security.auth.server.SecurityIdentity.runAsConsumer(SecurityIdentity.java:376)
    at org.wildfly.secu...@1.19.0.Final//org.wildfly.security.auth.server.Scoped.runAsConsumer(Scoped.java:112)
    at org.wildfly.secu...@1.19.0.Final//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:60)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.concurrent.SecurityIdentityUtils.lambda$doIdentityWrap$1(SecurityIdentityUtils.java:63)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at org.glassfish.javax.enterprise.concurrent//org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.run(ManagedFutureTask.java:117)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)
    at org.glassfish.javax.enterprise.concurrent//org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:227)
Caused by: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
    at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
    at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
    at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
    at java.base/java.util.Objects.checkIndex(Objects.java:372)
    at java.base/java.util.ArrayList.get(ArrayList.java:459)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear.dcm4chee-arc-store-5.29.1.jar//org.dcm4chee.arc.store.impl.StoreServiceEJB.checkDuplicatePatientCreated(StoreServiceEJB.java:1827)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
    at org.jboss.as...@26.1.1.Final//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:79)
    at org.jboss.as...@26.1.1.Final//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:89)
    at org.jboss.as...@26.1.1.Final//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:102)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:40)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:56)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:254)
    ... 78 more

2023-09-21 12:28:12,918 WARN  [org.dcm4chee.arc.store.impl.StoreServiceImpl] (EE-ManagedExecutorService-default-Thread-32) AET1<-AET2(3): Failed to remove duplicate created Patient[pk=2, id=PatientID[pk=2, id=ID-00001, issuer=CM\T\2.16.124.113638.1.3.3\T\ISO], name=ANONYMIZED_0000000]:
: javax.ejb.EJBException: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:268)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:390)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:160)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
    at org.jboss...@3.1.9.Final//org.jboss.weld.module.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:81)
    at org.jboss.as...@26.1.1.Final//org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:89)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:47)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.security.IdentityOutflowInterceptor.processInvocation(IdentityOutflowInterceptor.java:73)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.security.SecurityDomainInterceptor.processInvocation(SecurityDomainInterceptor.java:44)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.deployment.processors.StartupAwaitInterceptor.processInvocation(StartupAwaitInterceptor.java:22)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:67)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:60)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:438)
    at org.wildfly.secu...@1.19.0.Final//org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:633)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:57)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:198)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:191)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:81)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear.dcm4chee-arc-store-5.29.1.jar//org.dcm4chee.arc.store.impl.StoreServiceEJB$$$view23.checkDuplicatePatientCreated(Unknown Source)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.jboss...@3.1.9.Final//org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:410)
    at org.jboss...@3.1.9.Final//org.jboss.weld.module.ejb.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:134)
    at org.jboss...@3.1.9.Final//org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56)
    at org.jboss...@3.1.9.Final//org.jboss.weld.module.ejb.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:68)
    at org.jboss...@3.1.9.Final//org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:106)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear.dcm4chee-arc-store-5.29.1.jar//org.dcm4chee.arc.store.impl.StoreServiceEJB$Proxy$_$$_Weld$EnterpriseProxy$.checkDuplicatePatientCreated(Unknown Source)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear.dcm4chee-arc-store-5.29.1.jar//org.dcm4chee.arc.store.impl.StoreServiceImpl.postUpdateDB(StoreServiceImpl.java:306)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear.dcm4chee-arc-store-5.29.1.jar//org.dcm4chee.arc.store.impl.StoreServiceImpl.store(StoreServiceImpl.java:218)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear.dcm4chee-arc-store-5.29.1.jar//org.dcm4chee.arc.store.impl.StoreServiceImpl.store(StoreServiceImpl.java:190)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear.dcm4chee-arc-store-5.29.1.jar//org.dcm4chee.arc.store.impl.StoreServiceImpl$Proxy$_$$_WeldClientProxy.store(Unknown Source)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear//org.dcm4chee.arc.store.scp.CStoreSCP.store(CStoreSCP.java:36)
    at org.dcm...@5.29.1//org.dcm4che3.net.service.BasicCStoreSCP.onDimseRQ(BasicCStoreSCP.java:72)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.jboss...@3.1.9.Final//org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:38)
    at org.jboss...@3.1.9.Final//org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:106)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear//org.dcm4che3.net.service.DicomService$297285715$Proxy$_$$_WeldClientProxy.onDimseRQ(Unknown Source)
    at org.dcm...@5.29.1//org.dcm4che3.net.service.DicomServiceRegistry.onDimseRQ(DicomServiceRegistry.java:86)
    at org.dcm...@5.29.1//org.dcm4che3.net.ApplicationEntity.onDimseRQ(ApplicationEntity.java:491)
    at org.dcm...@5.29.1//org.dcm4che3.net.Association.onDimseRQ(Association.java:750)
    at org.dcm...@5.29.1//org.dcm4che3.net.PDUDecoder.decodeDIMSE(PDUDecoder.java:467)
    at org.dcm...@5.29.1//org.dcm4che3.net.Association.handlePDataTF(Association.java:733)
    at org.dcm...@5.29.1//org.dcm4che3.net.State$4.onPDataTF(State.java:108)
    at org.dcm...@5.29.1//org.dcm4che3.net.Association.onPDataTF(Association.java:729)
    at org.dcm...@5.29.1//org.dcm4che3.net.PDUDecoder.nextPDU(PDUDecoder.java:177)
    at org.dcm...@5.29.1//org.dcm4che3.net.Association$2.run(Association.java:566)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.concurrent.ControlPointUtils$ControlledRunnable.run(ControlPointUtils.java:125)
    at org.wildfly.secu...@1.19.0.Final//org.wildfly.security.auth.server.SecurityIdentity.runAsConsumer(SecurityIdentity.java:376)
    at org.wildfly.secu...@1.19.0.Final//org.wildfly.security.auth.server.Scoped.runAsConsumer(Scoped.java:112)
    at org.wildfly.secu...@1.19.0.Final//org.wildfly.security.auth.server.Scoped.runAs(Scoped.java:60)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.concurrent.SecurityIdentityUtils.lambda$doIdentityWrap$1(SecurityIdentityUtils.java:63)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at org.glassfish.javax.enterprise.concurrent//org.glassfish.enterprise.concurrent.internal.ManagedFutureTask.run(ManagedFutureTask.java:117)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:829)
    at org.glassfish.javax.enterprise.concurrent//org.glassfish.enterprise.concurrent.ManagedThreadFactoryImpl$ManagedThread.run(ManagedThreadFactoryImpl.java:227)
Caused by: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
    at java.base/jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64)
    at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70)
    at java.base/jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248)
    at java.base/java.util.Objects.checkIndex(Objects.java:372)
    at java.base/java.util.ArrayList.get(ArrayList.java:459)
    at deployment.dcm4chee-arc-ear-5.29.1-mysql.ear.dcm4chee-arc-store-5.29.1.jar//org.dcm4chee.arc.store.impl.StoreServiceEJB.checkDuplicatePatientCreated(StoreServiceEJB.java:1827)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:566)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:509)
    at org.jboss.as...@26.1.1.Final//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.delegateInterception(Jsr299BindingsInterceptor.java:79)
    at org.jboss.as...@26.1.1.Final//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:89)
    at org.jboss.as...@26.1.1.Final//org.jboss.as.weld.interceptors.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:102)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:40)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:53)
    at org.jbo...@26.1.1.Final//org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.component.pool.PooledInstanceInterceptor.processInvocation(PooledInstanceInterceptor.java:51)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:56)
    at org.jboss....@1.7.0.Final//org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:422)
    at org.jbos...@26.1.1.Final//org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:254)
    ... 78 more





Marco Cruz

unread,
Sep 28, 2023, 5:44:36 AM9/28/23
to dcm4che
Anyone can give us an idea of what may cause this error message?

Vrinda Nayak

unread,
Sep 28, 2023, 8:20:15 AM9/28/23
to dcm4che
The code resulting in the specified error did not handle the case if list of patients (checked for duplicate patient record creation) is empty - resulting in 
Caused by: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0

It has been refactored as part of this issue. Please upgrade your archive version and retry.

Ga Rt

unread,
May 21, 2024, 5:54:56 AM5/21/24
to dcm4che
Hello guys, i'm facing the same issue on 5.29.2. I could upgrade the version, but this is a bit difficult since the database is massive and belongs to a customer. 850 000 studies, and stopping the PACS 
involve some preparation steps. Does this issue imply loss of data ? Duplication of patients, studies or instance ? What exactly happens in the database ?

Ruben Cruz

unread,
May 21, 2024, 7:37:52 AM5/21/24
to dcm4che
Hi Ga Rt,

As far as I know it doesn't cause any problems or loss of data. It's just a message generated when the dcm4chee searches for duplicate patients and the list returns null/empty.

Ga Rt

unread,
May 21, 2024, 8:23:47 AM5/21/24
to dcm4che
Hi, thank you Ruben, this is a relief. Do you know or have you noticed if there is any impact on the database though ? Any duplication, any issue related to the database?

Ruben Cruz

unread,
May 21, 2024, 9:08:04 AM5/21/24
to dcm4che
On database no. Only the log files that will increase a bit more because of the messages...

Ga Rt

unread,
May 21, 2024, 10:53:56 AM5/21/24
to dcm4che
Thank you mate :D
Reply all
Reply to author
Forward
0 new messages