wood burning stoves 2.0*
The moose likes JSP and the fly likes Getting http 500 error with null pointer exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Getting http 500 error with null pointer exception" Watch "Getting http 500 error with null pointer exception" New topic
Author

Getting http 500 error with null pointer exception

dhaval thakor
Ranch Hand

Joined: Aug 27, 2012
Posts: 53

hello,

I have checked my code many time to make sure that whether page contains any variable or object with null reference but i dint find anything wrong..
I am integrating payment gateway to my website. Payment process going good but after payment transferred
ccavenue (which is payment gateway) it returns to redirecturl.jsp page but here i am getting http 500 error with null pointer exception.
Please help me to solve out this problem.
Thanks in advance.


Kathleen Angeles
Ranch Hand

Joined: Aug 06, 2012
Posts: 122

Which command caused it? Debug it.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12760
    
    5
Since JSP is converted to the Java code for a servlet, the stack trace for your NPE will only make sense if you look at the corresponding servlet code.

Flailing around in the JSP code will not help. Find out where your server stores the servlet code and get the stack trace from the logs. If you are using tomcat, the "work" and "logs" directories are the place to start.

Bill
dhaval thakor
Ranch Hand

Joined: Aug 27, 2012
Posts: 53

Thanks for your replies dear..

I solved the problem actually there was problem in coding some thing missing..
Now it works fine..

Thanks again.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting http 500 error with null pointer exception
 
Similar Threads
problem in running a servlet
tiles and <sx:autocompleter>
HTML does not print properly - table width exceeding 100%?
Communication between Two web application Problem.
Error comes whilke compiling the jsp page