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

NPE calling isUserInRole if no SecurityContext established.

    Details

    • Type: Task
    • Status: Pull Request Sent (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2.1.4.Final
    • Component/s: Servlet
    • Labels:
      None

      Description

      The following NPE is encountered with no established SecurityContext:

       

      Caused by: java.lang.NullPointerExceptionCaused by: java.lang.NullPointerException at io.undertow.servlet.spec.HttpServletRequestImpl.isUserInRole(HttpServletRequestImpl.java:321) at org.jboss.resteasy.plugins.server.servlet.ServletSecurityContext.isUserInRole(ServletSecurityContext.java:27) 

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                dlofthouse Darran Lofthouse
                Reporter:
                dlofthouse Darran Lofthouse
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: