java - Troubleshoot JSP nullpointer exception problem -
I'm doing, I'm looking at a very old project and try to recover some of the projects which JSP pages of this project Is related to zero indicator exception. The JSP page is throwing an exception like a zero pointer like the sample given below.
/e2fo/tools/user/search/searchUser.jsp exception was thrown: java.lang.NullPointerException com.ibm._jsp._searchUser_5F_TA._jspService (_searchUser_5F.java:207)
now that reproduce the problem are not eligible to serve, only need to put me up to see the exception, where there might be problems. As I understand, JSP pages are compiled into Java Srwolet and therefore the exception is displayed in the stack file .java servlet file is an intermediate file and we do not get to see it, I'm running 6.1 Web page. In this case, how to determine the JSP file from the server or how to set the row number?
The last time I went to this, the intermediate file was run when I saw. I had to introduce a deliberate compiler error did, JSP to go around it and run it again. When it kills that exception, then Servlet saves the source so that you can correct the code error.
I was trying to just put down to:
& lt; % Novariable.toString (); & Gt%;
Comments
Post a Comment