DICOM: add more logging to narrow down NPE