You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by RathinaGanesh MeenakshiSundaram <ra...@gmail.com> on 2006/01/26 19:11:27 UTC

Dispatch Action Error

Hi All,

Iam getting the following DispatchAction error.
Everything works fine and but, once in a while, I see the following error
message in the Server Log..!
Even when I get this error in the log, I don't see any problem with my
application/usage. It just works fine..But, still throws the following error
message to the Server Log.

Does anyone have any idea regarding this..?

Thanks,
Ganesh.

2006-01-24 11:02:46,787 ERROR [org.apache.struts.actions.DispatchAction]
Action[/notes] does not contain method named
java.lang.NoSuchMethodException: com.vrs.crm.actions.NotesAction.(
org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm,
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
    at java.lang.Class.getMethod(Class.java:986)
    at org.apache.struts.actions.DispatchAction.getMethod(
DispatchAction.java:334)
    at org.apache.struts.actions.DispatchAction.dispatchMethod(
DispatchAction.java:266)
    at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java
:216)
    at org.apache.struts.action.RequestProcessor.processActionPerform(
RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(
RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java
:1482)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:157)
    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
ReplyHeaderFilter.java:75)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
ApplicationFilterChain.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
ApplicationFilterChain.java:157)

Re: Dispatch Action Error

Posted by RathinaGanesh MeenakshiSundaram <ra...@gmail.com>.
No, The jsp and Action and everything works fine as they need to be and
renders the jsp fine.
But, once in a while thwors this error to the Server Log.
There is no mistake with the spelling....

Thanks...

On 1/26/06, Srinivas Jadcharla <jd...@gmail.com> wrote:
>
> //java.lang.NoSuchMethodException
>
> May be caused by Spelling mistakes of the method names!!
>
>
> On 1/26/06, RathinaGanesh MeenakshiSundaram <ra...@gmail.com>
> wrote:
> >
> > Hi All,
> >
> > Iam getting the following DispatchAction error.
> > Everything works fine and but, once in a while, I see the following
> error
> > message in the Server Log..!
> > Even when I get this error in the log, I don't see any problem with my
> > application/usage. It just works fine..But, still throws the following
> > error
> > message to the Server Log.
> >
> > Does anyone have any idea regarding this..?
> >
> > Thanks,
> > Ganesh.
> >
> > 2006-01-24 11:02:46,787 ERROR [org.apache.struts.actions.DispatchAction]
> > Action[/notes] does not contain method named
> > java.lang.NoSuchMethodException: com.vrs.crm.actions.NotesAction.(
> > org.apache.struts.action.ActionMapping,
> > org.apache.struts.action.ActionForm,
> > javax.servlet.http.HttpServletRequest,
> > javax.servlet.http.HttpServletResponse)
> >    at java.lang.Class.getMethod(Class.java:986)
> >    at org.apache.struts.actions.DispatchAction.getMethod(
> > DispatchAction.java:334)
> >    at org.apache.struts.actions.DispatchAction.dispatchMethod(
> > DispatchAction.java:266)
> >    at org.apache.struts.actions.DispatchAction.execute(
> DispatchAction.java
> > :216)
> >    at org.apache.struts.action.RequestProcessor.processActionPerform(
> > RequestProcessor.java:484)
> >    at org.apache.struts.action.RequestProcessor.process(
> > RequestProcessor.java:274)
> >    at org.apache.struts.action.ActionServlet.process(ActionServlet.java
> > :1482)
> >    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java
> > :525)
> >    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> >    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > ApplicationFilterChain.java:237)
> >    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > ApplicationFilterChain.java:157)
> >    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
> > ReplyHeaderFilter.java:75)
> >    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > ApplicationFilterChain.java:186)
> >    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > ApplicationFilterChain.java:157)
> >
> >
>
>
> --
> Thanks & Regards
> Srinivas
> 732-648-9421(Cell)
>

Re: Dispatch Action Error

Posted by Srinivas Jadcharla <jd...@gmail.com>.
//java.lang.NoSuchMethodException

May be caused by Spelling mistakes of the method names!!


On 1/26/06, RathinaGanesh MeenakshiSundaram <ra...@gmail.com> wrote:
>
> Hi All,
>
> Iam getting the following DispatchAction error.
> Everything works fine and but, once in a while, I see the following error
> message in the Server Log..!
> Even when I get this error in the log, I don't see any problem with my
> application/usage. It just works fine..But, still throws the following
> error
> message to the Server Log.
>
> Does anyone have any idea regarding this..?
>
> Thanks,
> Ganesh.
>
> 2006-01-24 11:02:46,787 ERROR [org.apache.struts.actions.DispatchAction]
> Action[/notes] does not contain method named
> java.lang.NoSuchMethodException: com.vrs.crm.actions.NotesAction.(
> org.apache.struts.action.ActionMapping,
> org.apache.struts.action.ActionForm,
> javax.servlet.http.HttpServletRequest,
> javax.servlet.http.HttpServletResponse)
>    at java.lang.Class.getMethod(Class.java:986)
>    at org.apache.struts.actions.DispatchAction.getMethod(
> DispatchAction.java:334)
>    at org.apache.struts.actions.DispatchAction.dispatchMethod(
> DispatchAction.java:266)
>    at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java
> :216)
>    at org.apache.struts.action.RequestProcessor.processActionPerform(
> RequestProcessor.java:484)
>    at org.apache.struts.action.RequestProcessor.process(
> RequestProcessor.java:274)
>    at org.apache.struts.action.ActionServlet.process(ActionServlet.java
> :1482)
>    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java
> :525)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:237)
>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:157)
>    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
> ReplyHeaderFilter.java:75)
>    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:186)
>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:157)
>
>


--
Thanks & Regards
Srinivas
732-648-9421(Cell)