Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4849

NullPointerException at org.openmrs.util.Format#format(Date, Locale, Format.FORMAT_TYPE)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Could
    • Resolution: Fixed
    • None
    • Core 2.1.0
    • None
    • Low

    Description

      org.openmrs.util.Format#format(Date, Locale, Format.FORMAT_TYPE) should return null when one of its argument is null, rather than returning an empty string or throwing a NullPointerException.

      Gliffy Diagrams

        Attachments

          Activity

            People

              ldf92 Dengfeng Li
              ldf92 Dengfeng Li
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 30 minutes
                  30m
                  Remaining:
                  Remaining Estimate - 30 minutes
                  30m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified