Hyperlinks not working to jsp page only from word and excel when directly clicked
posted 3 years ago
I'm facing an issue with the Hyperlinks which direct to a jsp page which is using frame-set in it.
When we directly click on the hyperlink I find to get a Null pointer Exception(In logs) but when I copy paste the hyperlink directly into browser I don't find any Exception and Page opens up normally.
I have put debug statements to identify where are we getting Exception, but all the logs till the last statement in the try block are getting printed and the continuing to the completion of Catch block.
Any Idea why would the null pointer exception be thrown only when we click from the Word and Excel sheets, The link is also working fine from any HTML anchor tag.