struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-3134) devmode=false still shows NoSuchMethodException
Date Wed, 09 Jul 2014 19:19:05 GMT

    [ https://issues.apache.org/jira/browse/WW-3134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14056629#comment-14056629
] 

ASF subversion and git services commented on WW-3134:
-----------------------------------------------------

Commit 29bb41db3cc7364c82e01cf9bbf206e50ddb9c46 in struts's branch refs/heads/develop from
[~lukaszlenart]
[ https://git-wip-us.apache.org/repos/asf?p=struts.git;h=29bb41d ]

WW-3134 Reduces noise in the logs


> devmode=false still shows NoSuchMethodException
> -----------------------------------------------
>
>                 Key: WW-3134
>                 URL: https://issues.apache.org/jira/browse/WW-3134
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.1.6
>         Environment: Linux, Tomcat 5.5
>            Reporter: Andi Sachs
>            Assignee: Lukasz Lenart
>             Fix For: 2.3.18
>
>         Attachments: devMode-method-not-found.patch
>
>
> Hello,
> setting devmode to false disables the stack trace for an unknown action, but a stacktrace
for an unknown method is still shown:
> https://xxxxxxxxx/portal/core_welcome!missing.action
> java.lang.NoSuchMethodException: xxxxxx.core.actions.WelcomeAction.missing()
> 	java.lang.Class.getMethod(Class.java:1581)
> 	org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.getActionMethod(AnnotationValidationInterceptor.java:75)
> 	org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:47)
> 	com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
> 	com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122)
> 	com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:236)
> Andi



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message