struts-issues mailing list archives

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

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

Hudson commented on WW-3134:
----------------------------

SUCCESS: Integrated in Struts-JDK6-develop #57 (See [https://builds.apache.org/job/Struts-JDK6-develop/57/])
WW-3134 Reduces noise in the logs (lukaszlenart: rev 29bb41db3cc7364c82e01cf9bbf206e50ddb9c46)
* core/src/main/java/org/apache/struts2/interceptor/validation/AnnotationValidationInterceptor.java


> 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