Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-13-2007, 02:19 PM
Member
 
Join Date: Dec 2007
Posts: 9
priyanka_t is on a distinguished road
HTTP stauts error
Hey guys, how to fix this error


HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet .java:810)


root cause

java.lang.NullPointerException
org.apache.jsp.web.jsp.familyhistory_jsp._jspServi ce(familyhistory_jsp.java:144)
org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet .java:810)
org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet .java:810)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.26 logs.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-13-2007, 03:21 PM
Member
 
Join Date: Jun 2007
Location: Bali, ID
Posts: 90
wsaryada is on a distinguished road
Can you post you familyhistory.jsp?
__________________
Website:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
- Blog:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 12-14-2007, 01:37 PM
Member
 
Join Date: Dec 2007
Posts: 32
felixtfelix is on a distinguished road
It is saying NullPointerException. Means that you are assiging or using any object which is having a null value.
You can fix it in two ways
1. You have to put consecutive System.out.println() in your jsps whereever you suspect the error. then you can see the console upto what statements printed. Then you can find the statement which cause error.
2. Go to the work\Catalina\localhost\<application_name> of your tomcate installation find the file familyhistory_jsp inside somewhere of it. Then go to the line number 144 as per your stack. you can get that statement which cause errot. This will require aditional knowledge of sevlet and compilation of jsp into servelet as well.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 12-17-2007, 10:10 AM
Member
 
Join Date: Dec 2007
Posts: 9
priyanka_t is on a distinguished road
thnx alot, i have fixed the problem
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Http Sessions manasa JavaServer Pages (JSP) and JSTL 1 03-29-2008 11:51 AM
i need help in http process sureshjava New To Java 0 01-29-2008 05:56 AM
use ftp instead of http gabriel Java Servlet 1 08-06-2007 07:06 PM
Error HTTP 404 Eric JavaServer Pages (JSP) and JSTL 1 07-05-2007 09:20 PM
Socks via HTTP 1.2 JavaBean Java Announcements 0 06-26-2007 10:40 PM


All times are GMT +3. The time now is 10:46 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org