2 Replies Latest reply on Sep 24, 2001 3:52 PM by javeed

    NullPointerException when Request.getRemoteUser is called

    javeed Newbie

      Hi
      I get NullPointerException when calling HTTPServeletRequest.getRemoteUser. I am running with jboss-tomcat 2.4.1 (running with tomcat alone works fine).
      Can you guys please help

      Trace:

      java.lang.NullPointerException
      at org.jboss.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:113)
      at org.apache.tomcat.core.ContextManager.doAuthenticate(ContextManager.java:837)
      at org.apache.tomcat.core.RequestImpl.getRemoteUser(RequestImpl.java:341)
      at org.apache.tomcat.facade.HttpServletRequestFacade.getRemoteUser(HttpServletRequestFacade.java:251)
      at com.sdrc._wae.ctrl.RequestContextImpl.(RequestContextImpl.java:161)

      Javeed