aspose file tools*
The moose likes JSP and the fly likes I am struggling with this error since 1 week Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "I am struggling with this error since 1 week" Watch "I am struggling with this error since 1 week" New topic
Author

I am struggling with this error since 1 week

mayur shewalkar
Greenhorn

Joined: Apr 13, 2011
Posts: 1
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.handleJspException(JspServletWrapper.java:512) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause
java.lang.NullPointerException com.dts.dae.dao.SecurityDAO.loginCheck(SecurityDAO.java:106) org.apache.jsp.LoginAction_jsp._jspService(LoginAction_jsp.java:82) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
Sean Clark
Rancher

Joined: Jul 15, 2009
Posts: 377

Hey,

So what is the line of code that is in SecurityDAO.java at line number 106?

Sean


I love this place!
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3071
    
  33

As said by Sean, If you dont show us the code, we cant really help you


Mohamed Sanaulla | My Blog
Mala Gupta
Author
Ranch Hand

Joined: Sep 27, 2002
Posts: 251
    
    9
Mayur,

HTTP Status 500 -


Is this question related to the Java Programmer's exam (SCJP/ OCP JP)? Your query/ issue will be resolved more quickly if you post it in the relevant forum.

cheers
Mala


Author of Manning's OCA Java SE 7 Programmer I Certification Guide and OCP Java SE 7 Programmer II Certification Guide
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18570
    
    8

Mala Gupta wrote:Your query/ issue will be resolved more quickly if you post it in the relevant forum.


Yes, indeed. Moved to the JSP forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I am struggling with this error since 1 week