jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes ERROR org.apache.struts.util.RequestUtils 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 "ERROR org.apache.struts.util.RequestUtils" Watch "ERROR org.apache.struts.util.RequestUtils" New topic
Author

ERROR org.apache.struts.util.RequestUtils

mani nataraj
Greenhorn

Joined: Dec 20, 2010
Posts: 12
I am working in StrutsFramework. We are using iPlanetserver in unix environment. I am facing problem like

ERROR org.apache.struts.util.RequestUtils - Error creating form bean of class sample.SampleForm
java.lang.NullPointerException

at org.apache.struts.config.FormBeanConfig.createActionForm(FormBeanConfig.java:212)
at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:292)
at org.apache.struts.util.RequestUtils.createActionForm(RequestUtils.java:191)
at org.apache.struts.action.RequestProcessor.processActionForm(RequestProcessor.java:331)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:202)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)
170466455 [Thread-47] DEBUG org.apache.struts.action.RequestProcessor - Looking for Action instance for class sampleWebForwardAction
170466455 [Thread-47] DEBUG org.apache.struts.action.RequestProcessor - Creating new Action instance
170466460 [Thread-47] ERROR org.apache.struts.action.RequestProcessor - No action instance for path /servlet/success could be created
java.lang.ClassNotFoundException: sampleWebForwardAction
at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at org.apache.struts.util.RequestUtils.applicationClass(RequestUtils.java:117)
at org.apache.struts.util.RequestUtils.applicationInstance(RequestUtils.java:143)
at org.apache.struts.action.RequestProcessor.processActionCreate(RequestProcessor.java:292)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:230)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:919)
at com.iplanet.server.http.servlet.WebApplication.service(WebApplication.java:1061)
at com.iplanet.server.http.servlet.NSServletRunner.ServiceWebApp(NSServletRunner.java:981)

can you give me the solution as soon as possible.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8836
    
    7

mani nataraj wrote:
java.lang.ClassNotFoundException: sampleWebForwardAction


It looks like you are missing a class.


can you give me the solution as soon as possible.


Please be patient. We are all volunteers here, answering questions in our free time.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
mani nataraj
Greenhorn

Joined: Dec 20, 2010
Posts: 12
Joe Ess wrote:
mani nataraj wrote:
java.lang.ClassNotFoundException: sampleWebForwardAction


It looks like you are missing a class.


can you give me the solution as soon as possible.


Please be patient. We are all volunteers here, answering questions in our free time.



All the files are updated one. We don't missing any file. But only the problem is configuration setup. I don't know why its happening.
 
 
subject: ERROR org.apache.struts.util.RequestUtils
 
Similar Threads
class not found
file uploading error
ServletException: BeanUtils.populate
how to pass object from jsp to action class in struts???
cannot get to the Action class with TilesRequestProcessor