In websphere (version 6 sp11) on request.getHeaderNames method call, i get this exception
java.lang.NullPointerException
at com.ibm.ws.webcontainer.srt.SRTServletRequest.getHeaderNames(SRTServletRequest.java:345)
at ....
I dont have source code for SRTServletRequest.
Has anybody faced this problem?
Finally, I have got the answer, thanks everyone for helping me out. the issue was: 1. a developer has saved a request in class field and 2. by the time class level request field is accessed, some other thread started and ended, hence destroy call and nullPointer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With