Describe the bug. What happened?
- Create UNC share with CT.dcm
- Open Weasis
- Drag&Drop file via UNC path into Weasis Viewport (i.e. \Hostname\Share\CT.dcm)
- Error message with log output
CT.dcm.zip
What version of Weasis are you running?
4.6.6
On which system the problem occurs?
Windows
Relevant log output
13.02.2026 13:36:27.525 *ERROR* [DicomModelLoader-1] org.weasis.dicom.codec.DicomMediaIO: Cannot read DICOM:java.lang.IllegalStateException: uri: file://Hostname/Share/CT.dcm?offset=2218&length=33536
at org.dcm4che3.data.BulkData.getFile(BulkData.java:147)
at org.dcm4che3.data.BulkData.openStream(BulkData.java:165)
at org.dcm4che3.data.BulkData.toBytes(BulkData.java:193)
Additional contextual elements
Using dcmdump from dcm4che, dumping the file with UNC paths works normally. This seems like an edge case with unescaping the file URI.
Describe the bug. What happened?
CT.dcm.zip
What version of Weasis are you running?
4.6.6
On which system the problem occurs?
Windows
Relevant log output
Additional contextual elements
Using dcmdump from dcm4che, dumping the file with UNC paths works normally. This seems like an edge case with unescaping the file URI.