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

NPE calling isUserInRole if no SecurityContext established.

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.2.0.Final
    • None
    • Servlet
    • None

      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) 

              darran.lofthouse@redhat.com Darran Lofthouse
              darran.lofthouse@redhat.com Darran Lofthouse
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: