Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9968

System Timezone NullPointerException on Java 17 Tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.17.0, 1.16.1
    • 1.17.0, 1.16.2
    • Tools and Build
    • None

    Description

      Running a build on Java 17 can fail in TestRecordPath due to a NullPointerException when calling System.setProperty() in the setSystemTimezone() method. This can occur when the default return value for the user.timezone System property is null.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h