Upload Error when using XNAT Desktop Client

21 views
Skip to first unread message

Soumen Mohanty

unread,
Jan 16, 2026, 10:18:53 AM (5 days ago) Jan 16
to xnat_discussion
Hello, 

I'm facing an error when using XNAT Desktop Client v3.2.5 that says Anonymization Error when uploading data, even when both side-wide and project-wide anonymization are disabled. 

Screenshot 2026-01-16 at 4.20.23 PM.png

I have tried a few of the other solutions (clearing cache, running more higher memory, etc.) that I could find on this group but can't seem to figure out whats going wrong. 
Also, it only happens for certain scans. 

Clicking on more details on the error shows the following, 

Could not call remote function ''. Check that the function signature is correct. Underlying error: Error running instance method org.nrg.dicom.mizer.exceptions.MizerException: org.nrg.transaction.TransactionException: java.lang.ArrayIndexOutOfBoundsException: -1 at org.nrg.dicom.mizer.service.impl.BaseMizerService.anonymize(BaseMizerService.java:275) at org.nrg.dicom.mizer.service.impl.BaseMizerService.anonymize(BaseMizerService.java:244) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) Caused by: org.nrg.transaction.TransactionException: java.lang.ArrayIndexOutOfBoundsException: -1 at org.nrg.transaction.operations.WorkOnCopyOp.run(WorkOnCopyOp.java:51) at org.nrg.transaction.TransactionRunner.runTransaction(TransactionRunner.java:18) at org.nrg.dicom.mizer.service.impl.BaseMizerService.anonymize(BaseMizerService.java:273) ... 5 more Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:424) at java.util.ArrayList.get(ArrayList.java:437) at org.dcm4che2.io.DicomInputStream.readItemValue(DicomInputStream.java:613) at org.dcm4che2.io.DicomInputStream.readValue(DicomInputStream.java:566) at org.dcm4che2.io.DicomInputStream.parse(DicomInputStream.java:518) at org.dcm4che2.io.DicomInputStream.readDicomObject(DicomInputStream.java:415) at org.dcm4che2.io.DicomInputStream.readDicomObject(DicomInputStream.java:423) at org.nrg.dicom.mizer.service.impl.AnonymizeCallOnFileWithPixels.call(AnonymizeCallOnFileWithPixels.java:51) at org.nrg.dicom.mizer.service.impl.AnonymizeCallOnFileWithPixels.call(AnonymizeCallOnFileWithPixels.java:30) at org.nrg.transaction.operations.WorkOnCopyOp.run(WorkOnCopyOp.java:32) ... 7 more Error: Could not call remote function ''. Check that the function signature is correct. Underlying error: Error running instance method org.nrg.dicom.mizer.exceptions.MizerException: org.nrg.transaction.TransactionException: java.lang.ArrayIndexOutOfBoundsException: -1 at org.nrg.dicom.mizer.service.impl.BaseMizerService.anonymize(BaseMizerService.java:275) at org.nrg.dicom.mizer.service.impl.BaseMizerService.anonymize(BaseMizerService.java:244) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) Caused by: org.nrg.transaction.TransactionException: java.lang.ArrayIndexOutOfBoundsException: -1 at org.nrg.transaction.operations.WorkOnCopyOp.run(WorkOnCopyOp.java:51) at org.nrg.transaction.TransactionRunner.runTransaction(TransactionRunner.java:18) at org.nrg.dicom.mizer.service.impl.BaseMizerService.anonymize(BaseMizerService.java:273) ... 5 more Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:424) at java.util.ArrayList.get(ArrayList.java:437) at org.dcm4che2.io.DicomInputStream.readItemValue(DicomInputStream.java:613) at org.dcm4che2.io.DicomInputStream.readValue(DicomInputStream.java:566) at org.dcm4che2.io.DicomInputStream.parse(DicomInputStream.java:518) at org.dcm4che2.io.DicomInputStream.readDicomObject(DicomInputStream.java:415) at org.dcm4che2.io.DicomInputStream.readDicomObject(DicomInputStream.java:423) at org.nrg.dicom.mizer.service.impl.AnonymizeCallOnFileWithPixels.call(AnonymizeCallOnFileWithPixels.java:51) at org.nrg.dicom.mizer.service.impl.AnonymizeCallOnFileWithPixels.call(AnonymizeCallOnFileWithPixels.java:30) at org.nrg.transaction.operations.WorkOnCopyOp.run(WorkOnCopyOp.java:32) ... 7 more at callFunction (/Applications/XNAT-Desktop-Client.app/Contents/Resources/electron.asar/browser/rpc-server.js:259:11) at EventEmitter.(/Applications/XNAT-Desktop-Client.app/Contents/Resources/electron.asar/browser/rpc-server.js:370:5) at EventEmitter.emit (events.js:182:13) at WebContents. (/Applications/XNAT-Desktop-Client.app/Contents/Resources/electron.asar/browser/api/web-contents.js:294:13) at WebContents.emit (events.js:182:13)

Can anyone tell me how to move ahead with trying to debug this or any workarounds? 

Appreciate the help,
Soumen
Reply all
Reply to author
Forward
0 new messages