Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1629

ResourceServlet.java._setHeaders() can call response.setContentType() with a null contentType resulting in an NPE on Websphere.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.12-core
    • 1.2.13-core
    • None
    • None

    Description

      If a Server, in this case Websphere, tries to load a resource with an unknown file extension, e.g. <file>.cur where ".cur" is the extension, ResourceServlet._setHeaders() will call response.setContentType() with a null contentType. This results an NPE showing up in the Websphere systemOut.log file.

      Attachments

        1. ResourceServlet3.diff
          2 kB
          Gary Kind

        Activity

          People

            matzew Matthias Wessendorf
            garykind Gary Kind
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: