Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3665

NullPointerException in ResourceStreamResource when lastModifiedTime is null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5-RC4
    • wicket
    • None

    Description

      When stream.lastModifiedTime() is null (which is the case for many streams), ResourceStreamResource will throw a NullPointerException at line 93. The attached patch fixes this.

      Attachments

        1. npe-fix.diff
          0.8 kB
          Emond Papegaaij

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            papegaaij Emond Papegaaij
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: