Menu

#8 ullPointerException in the method at net.sourceforge.spnego.SpnegoAuthenticator.isLocalhost(SpnegoAuthenticator.java:491)

v1.0 (example)
open
nobody
None
5
2021-05-28
2021-05-28
Ashwini
No

With tomcat 9 and AJP, there is an issue which returns localadress as null. The url for this defect which is not fixed in tomcat is - https://bugzilla.redhat.com/show_bug.cgi?id=918325
With this issue the SpnegoAuthenticator throws NullPointerException in the method at net.sourceforge.spnego.SpnegoAuthenticator.isLocalhost(SpnegoAuthenticator.java:491)

Could you please handle the null check before calling the equals method to compare the LocalAddress and the RemoteAddress?

Discussion


Log in to post a comment.