aspose file tools*
The moose likes JDBC and the fly likes connection problem? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "connection problem?" Watch "connection problem?" New topic
Author

connection problem?

Patrick Mallahan
Ranch Hand

Joined: Apr 22, 2005
Posts: 69
tomcat 5.0.30 sql 4.1.12-standard

I am getting the following error report after I try logging into my site, I tested to see if it was because of connection problems and its not its connecting fine, but i still get 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.service(JspServletWrapper.java:372)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause

java.lang.NullPointerException
com.aga.timeentry.database.tables.INTERNAL_TIME.loadHoursForPeriod(INTERNAL_TIME.java:130)
com.aga.timeentry.database.TimeHandler.loadSummary(TimeHandler.java:381)
org.apache.jsp.welcome_jsp._jspService(welcome_jsp.java:130)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache Tomcat/5.0.30 logs.
Apache Tomcat/5.0.30
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30294
    
150

Patrick,
java.lang.NullPointerException
com.aga.timeentry.database.tables.INTERNAL_TIME.loadHoursForPeriod(INTERNAL_TIME.java:130)

This is the key to the error message. What code do you have in the loadHoursForPeriod method? What is on line 130?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: connection problem?