• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

connection problem?

 
Patrick Mallahan
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34870
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic