Re: Null pointer when calling getRemoteAddr in exception handling
2012/8/20 Peter Cipov : > Hello, > I have encountered ambiguous feature/bug of request > > ...servlet code ... > > throw new LoginException(String.format("Login failed for user %s from IP %s > (%s)", > principalName, > request.getRemoteAddr(), > type
Null pointer when calling getRemoteAddr in exception handling
Hello, I have encountered ambiguous feature/bug of request ...servlet code ... throw new LoginException(String.format("Login failed for user %s from IP %s (%s)", principalName, request.getRemoteAddr(), type ), ex); .. t