Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-2270

io.undertow.servlet.spec.HttpServletRequestImpl NPE thrown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.2.25.Final, 2.3.7.Final
    • None
    • None
    • None

    Description

      We found the change introduced by  ticket cause Fuse/Integration product test failure. More specifically, the new added

      +        requestImpl.setAttribute(ASYNC_MAPPING, requestImpl.getHttpServletMapping());
      

      will call into io.undertow.servlet.spec.HttpServletRequestImpl line 241, the match is null, hence NPE thrown. We can hit this NPE when io.undertow.servlet.spec.AsyncContextImpl is used

      appended a reproducer project(rest-ssl-test.zip) crafted by fmariani@redhat.com to expose this issue. Just run "mvn clean verify" you can see the NPE.

      Attachments

        Issue Links

          Activity

            People

              mshikalw Moulali Shikalwadi
              mshikalw Moulali Shikalwadi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: