Uploaded image for project: 'dcm4chee-jpdbi'
  1. JPDBI-1

Incorrect handling for non-existant patient birthdate

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None
    • Environment:
      linux, dcm4chee 2.13.6, jpdbi Rev. 1.18.2.12
    • Sprint:

      Description

      On reading patient's data with birthdate missing a null-pointer Exception on handling Calendar.setTime is thrown. This should be caught and the missing birthdate should at least be substituted by e.g. 00000000

      RICHTER URSULA F java.lang.NullPointerException
      at java.util.Calendar.setTime(Calendar.java:1070)
      at java.text.SimpleDateFormat.format(SimpleDateFormat.java:859)
      at java.text.SimpleDateFormat.format(SimpleDateFormat.java:852)
      at java.text.DateFormat.format(DateFormat.java:316)
      at com.agfa.db.tools.Jpdbi.displayPatient(Unknown Source)
      at com.agfa.db.tools.Jpdbi.display(Unknown Source)
      at com.agfa.db.tools.Jpdbi.<init>(Unknown Source)
      at com.agfa.db.tools.Jpdbi.main(Unknown Source)

        Attachments

          Activity

            People

            • Assignee:
              kianusch Kianusch Sayah Karadji
              Reporter:
              henner.dierks Henner C. Dierks
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: