HTTP Status 500 - java.lang.NullPointerException

Hello ,

I SM 7. 11 java tomcat 5 1. 5. 2 and the web application works but the survey eventhough not be properly configured.

HTTP Status 500 - java.lang.NullPointerException


type Exception report

message java.lang.NullPointerException

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.handleJspException(JspServletWrapper.java:502)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:430)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)

 

root cause

java.lang.NullPointerException
	com.enesima.dao.PreguntaDao.findAll(PreguntaDao.java:26)
	com.enesima.web.delegate.Delegado.mensajesFindAll(Delegado.java:27)
	com.enesima.web.bean.MensajeBean.<init>(MensajeBean.java:15)
	org.apache.jsp.acepta_jsp._jspService(acepta_jsp.java:76)
	org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:723)