Results 1 to 7 of 7
  1. #1
    hari krishna is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Unhappy HTTP Status 500 - type Exception report - TOM CAT

    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: java.lang.NullPointerException
    org.apache.jasper.servlet.JspServletWrapper.handle JspException(JspServletWrapper.java:527)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:359)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:313)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    root cause
    java.lang.NullPointerException
    org.apache.jsp.views.header_jsp._jspInit(header_js p.java:22)
    org.apache.jasper.runtime.HttpJspBase.init(HttpJsp Base.java:52)
    org.apache.jasper.servlet.JspServletWrapper.getSer vlet(JspServletWrapper.java:159)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:329)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:313)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.29 logs.
    ________________________________________
    Apache Tomcat/6.0.29

    I am Using Eclipse and trying to Launch a Project and this is the error code when I Enter Local host Site "http://localhost:8080/OBRFINAL/"
    :mad::mad::mad::mad::mad:

    I Would be Grateful if someone help on this... I need to Submit my Project and I have very less time.
    Last edited by hari krishna; 10-15-2010 at 01:31 AM. Reason: Typo error

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,755
    Rep Power
    19

    Default

    There's a null pointer on header.jsp (I believe the jsp fles get converted into <filename>_jsp.java)?

    Do you have a header.jsp?

  3. #3
    hari krishna is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Post HTTP Status 500 - type Exception report - TOM CAT

    Yes, I used header.jsp in my project.

  4. #4
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,755
    Rep Power
    19

    Default

    Something in there is throwing a null pointer.
    Can't give you a line as the line given in the exception is probably for the interpreted java file.

  5. #5
    hari krishna is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Post HTTP Status 500 - type Exception report - TOM CAT

    HTTP Status 404 - /OBR/

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

    type Status report

    message /OBR/

    description The requested resource (/OBR/) is not available.


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

    Apache Tomcat/6.0.29

    I Tried in changing some settings on TOMCAT Server, However Now, I could able to Load home page for TOMCAT when i use http://localhost:8080/.
    But when I try to load my Project http://localhost:8080/OBR/, I see above Error, I am not sure where I am Wrong ...

    I really Appreciate your help with previous replies.. I Would Appreciate If you could sort this out for me please.

  6. #6
    hari krishna is offline Member
    Join Date
    Oct 2010
    Posts
    7
    Rep Power
    0

    Unhappy HTTP Status 500 - type Exception report - TOM CAT

    Just to Add, I hope this might help you to understand my problem
    This error page appears every time I try ,no matter what ever I try from Project , Even the header file display with same error message

    When I try to Execute http://localhost:8080/OBR/WebRoot/header.jsp/

    It Will write

    HTTP Status 404 - /OBR/WebRoot/header.jsp/

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

    type Status report

    message /OBR/WebRoot/header.jsp/

    description The requested resource (/OBR/WebRoot/header.jsp/) is not available.


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

    Apache Tomcat/6.0.29
    :confused: I'm Bit Confused Whether the problem is with my coding or any configuration on TOMCAT

  7. #7
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,755
    Rep Power
    19

    Default

    Something in your header.jsp is throwing a null pointer exception.
    Because of this you are getting the 500.
    root cause
    java.lang.NullPointerException
    org.apache.jsp.views.header_jsp._jspInit(header_js p.java:22)

    So, since I don't know what your header.jsp file looks like I cannot say what in there is broken.

Similar Threads

  1. HTTP Status 500(problem)
    By waqar100 in forum NetBeans
    Replies: 1
    Last Post: 06-30-2010, 11:54 AM
  2. HTTP Status 500 - type Exception report
    By sini.sep87 in forum Java Servlet
    Replies: 15
    Last Post: 11-17-2009, 02:18 PM
  3. Replies: 7
    Last Post: 11-11-2009, 08:29 PM
  4. what does this means HTTP Status 500 -
    By gissah in forum New To Java
    Replies: 0
    Last Post: 03-28-2009, 03:27 AM
  5. problem with HTTP Status 404
    By orkun in forum JavaServer Faces (JSF)
    Replies: 1
    Last Post: 02-05-2009, 09:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •