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

io.undertow.servlet.spec.HttpServletRequestImpl NPE thrown

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: