*
The moose likes Struts and the fly likes struts hibernate javax.servlet.ServletException: java.lang.NullPointerException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts hibernate javax.servlet.ServletException: java.lang.NullPointerException" Watch "struts hibernate javax.servlet.ServletException: java.lang.NullPointerException" New topic
Author

struts hibernate javax.servlet.ServletException: java.lang.NullPointerException

oussama jlassi
Greenhorn

Joined: Dec 23, 2011
Posts: 25
i use struts1.3.10 hibernate4 in tomcat6
i want to list table test but when i run localhost/strutsh/hib1.do i get
Etat HTTP 500 -

type Rapport d'exception

message

description Le serveur a rencontré une erreur interne () qui l'a empêché de satisfaire la requête.

exception

javax.servlet.ServletException: java.lang.NullPointerException
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
cause mère

java.lang.NullPointerException
Hib1Action.execute(Hib1Action.java:32)
org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
note La trace complète de la cause mère de cette erreur est disponible dans les fichiers journaux de Apache Tomcat/6.0.35.

Apache Tomcat/6.0.35


Hib1Action.java
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts hibernate javax.servlet.ServletException: java.lang.NullPointerException
 
Similar Threads
tomcat cannot display jsp struts
Getting Problem in display tag with struts
issue in calling the Action class
Problem with the form.
logic:iterate problem