File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Error with jsp and JavaBeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Error with jsp and JavaBeans" Watch "Error with jsp and JavaBeans" New topic
Author

Error with jsp and JavaBeans

Maria Mina
Greenhorn

Joined: Nov 19, 2005
Posts: 2
hello I really need your help. I am writting some codes using jsp,javabeans and mysql database. I have an error page and I don't know how to solve this problem. It compiles and builds successfully my coding. My first page of my project is working correctly and when I want to link to customers page it loads this error. Can you please help me? It is very important and urgent! Thank you



[ERROR MSG]
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:373)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause

java.lang.NullPointerException
org.apache.jsp.customers_jsp._jspService(org.apache.jsp.customers_jsp:64)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
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.7 logs.

[/ERROR MSG]
mariakmina82@yahoo.com
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410


root cause

java.lang.NullPointerException
org.apache.jsp.customers_jsp._jspService(org.apache.jsp.customers_jsp:64)



Look at line 64 in:
org.apache.jsp.customers_jsp.java
You'll find this file under $CATALINA_HOME/work/Catalina/localhost/{your app name}/...

See if you can figure out which variable is null.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error with jsp and JavaBeans
 
Similar Threads
Pool Manager with MySQL JDBC
JSP two pages
JSP returning old data, database was changed correctly!
Multiple forms in a single JSP page
Online Shopping