Weasis 3.01 unable to open DX dicom image (file attached)

37 views
Skip to first unread message

Rana Asim Wajid

unread,
May 29, 2018, 6:25:51 AM5/29/18
to dcm4che
I'm unable to open the attached dicom image with Weasis 3.01. All other dicom viewers I have tried open the file just fine. Any help would be greatly appreciated.

Nicolas Roduit

unread,
May 30, 2018, 2:28:01 AM5/30/18
to dcm4che
This is because of an invalid patient birthdate. In log:
30.05.2018 08:19:22.170 *ERROR* [Dicom Model-pool-3-thread-1] org.weasis.dicom.util.DateUtil: Format date java.time.DateTimeException: Field Year cannot be printed as the value -1 cannot be negative according to the SignStyle
at java.time.format.DateTimeFormatterBuilder$NumberPrinterParser.format(DateTimeFormatterBuilder.java:2573)
at java.time.format.DateTimeFormatterBuilder$CompositePrinterParser.format(DateTimeFormatterBuilder.java:2179)
at java.time.format.DateTimeFormatter.formatTo(DateTimeFormatter.java:1746)

I apply a fix to handle the error of printing negative year. So in next release, it will display the image despite this issue.

Rana Asim Wajid

unread,
May 30, 2018, 3:35:54 AM5/30/18
to dcm...@googlegroups.com
Much appreciated sir

--
You received this message because you are subscribed to a topic in the Google Groups "dcm4che" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dcm4che/uekzwUgkL_k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at https://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/d/optout.
--

Regards,
Rana Asim Wajid

Reply all
Reply to author
Forward
0 new messages