Return-Path: X-Original-To: apmail-struts-user-archive@www.apache.org Delivered-To: apmail-struts-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8324511654 for ; Thu, 27 Mar 2014 10:10:08 +0000 (UTC) Received: (qmail 51013 invoked by uid 500); 27 Mar 2014 10:10:06 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 50555 invoked by uid 500); 27 Mar 2014 10:10:04 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 50539 invoked by uid 99); 27 Mar 2014 10:10:03 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 10:10:03 +0000 Received: from localhost (HELO mail-yk0-f178.google.com) (127.0.0.1) (smtp-auth username lukaszlenart, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2014 10:10:02 +0000 Received: by mail-yk0-f178.google.com with SMTP id 79so2026358ykr.23 for ; Thu, 27 Mar 2014 03:10:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=C9XErZAyIr7bTxSV17PTL67/I2H4o1Go1xmCfEVDs9Y=; b=RKuejLnTmUF+YZHIvx5gNdnDvsfmB2ejbGa5cGmy4LR5eefmpxEB0VwkZTfAccgBVV iaju6fAgynW3Or0fcpTRJL1vCyHDc2Rvr6pocJpe3vEki/ZAWpoYkM5BB3RPO/b1Bp9C g66RH4EtOGLyOZ8bi9/LtRH6yGL+E5C4K62eAbay0QFZNz6SC24fEscHUhRnMRLv5iHb aNX+YujqCQzgK1s7U8IIxj3cn/5Gl9/sHVOXVCzlbxuVPNmLDmLePWSISzbLMVxrmWDc yUfQTiEUYhvZkUw5XeBZPLBwQJ6zls1yVKQTXmM1fyLwJhcDUPpmshErgjuDVtn7D9Ws iFIw== X-Received: by 10.236.181.4 with SMTP id k4mr32771yhm.129.1395915001677; Thu, 27 Mar 2014 03:10:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.170.75.131 with HTTP; Thu, 27 Mar 2014 03:09:41 -0700 (PDT) In-Reply-To: References: From: Lukasz Lenart Date: Thu, 27 Mar 2014 11:09:41 +0100 Message-ID: Subject: Re: Required attribute on s:select & s:file To: Struts Users Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable required was renamed to requiredLabel https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.3.12.0 2014-03-26 22:37 GMT+01:00 : > We upgraded from struts 2.3.8 to 2.3.16. > Now any page that has a s:select or s:file tag with required=3D"true" doe= s not display. > > s:textfield works fine > > We are running Websphere 8 > > Can anyone corroborate? > > Stacktrace follows: > [3/26/14 15:43:10:599 CDT] 00000185 SystemOut O WebContainer : 18 DEB= UG freemarker.cache - "template/~~~css_xhtml/control.ftl"["en_US",UTF-8,pa= rsed] using cached since wsjar:file:/C:/java/wksp/scriptsapp2/ScriptsWeb/W= ebContent/WEB-INF/lib/struts2-core-2.3.16.jar!/template/css_xhtml/control.f= tl didn't change. > [3/26/14 15:43:10:603 CDT] 00000185 ServletWrappe E com.ibm.ws.webcontain= er.servlet.ServletWrapper service SRVE0014E: Uncaught service() exception r= oot cause /encounter/encounterUpload.jsp: com.ibm.websphere.servlet.error.S= ervletErrorReport: java.lang.NoSuchMethodError: org/apache/struts2/views/js= p/ui/FileTag.setRequired(Ljava/lang/String;)V > at org.apache.jasper.runtime.PageContextImpl.handlePageException(Pa= geContextImpl.java:695) > at com.ibm._jsp._encounterUpload._jspService(_encounterUpload.java:= 109) > at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:668) > at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr= apper.java:1230) > at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser= vletWrapper.java:779) > at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser= vletWrapper.java:478) > at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest= (ServletWrapperImpl.java:178) > at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleR= equest(GenericServletWrapper.java:122) > at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrappe= r.handleRequest(AbstractJSPExtensionServletWrapper.java:205) > at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(We= bAppFilterChain.java:136) > at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp= FilterChain.java:79) > at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebA= ppFilterManager.java:960) > at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters= (WebAppFilterManager.java:1064) > at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(= WebAppRequestDispatcher.java:1385) > at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(W= ebAppRequestDispatcher.java:194) > at org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(= ServletDispatcherResult.java:164) > at org.apache.struts2.dispatcher.StrutsResultSupport.execute(Struts= ResultSupport.java:186) > at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(De= faultActionInvocation.java:371) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:275) > at org.apache.struts2.interceptor.DeprecationInterceptor.intercept(= DeprecationInterceptor.java:41) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.in= tercept(DebuggingInterceptor.java:256) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.d= oIntercept(DefaultWorkflowInterceptor.java:167) > at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.inte= rcept(MethodFilterInterceptor.java:98) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at com.opensymphony.xwork2.validator.ValidationInterceptor.doInterc= ept(ValidationInterceptor.java:265) > at org.apache.struts2.interceptor.validation.AnnotationValidationIn= terceptor.doIntercept(AnnotationValidationInterceptor.java:68) > at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.inte= rcept(MethodFilterInterceptor.java:98) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.i= ntercept(ConversionErrorInterceptor.java:138) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doInte= rcept(ParametersInterceptor.java:249) > at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.inte= rcept(MethodFilterInterceptor.java:98) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doInte= rcept(ParametersInterceptor.java:249) > at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.inte= rcept(MethodFilterInterceptor.java:98) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.= intercept(StaticParametersInterceptor.java:191) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(= MultiselectInterceptor.java:73) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(Che= ckboxInterceptor.java:91) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(F= ileUploadInterceptor.java:252) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.inter= cept(ModelDrivenInterceptor.java:100) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor= .intercept(ScopedModelDrivenInterceptor.java:141) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercep= t(ChainingInterceptor.java:145) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doInterce= pt(PrepareInterceptor.java:171) > at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.inte= rcept(MethodFilterInterceptor.java:98) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I1= 8nInterceptor.java:139) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at org.apache.struts2.interceptor.ServletConfigInterceptor.intercep= t(ServletConfigInterceptor.java:164) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(A= liasInterceptor.java:193) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.= intercept(ExceptionMappingInterceptor.java:189) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at gov.ks.dcf.scripts.web.security.LoginInterceptor.intercept(Login= Interceptor.java:98) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at gov.ks.dcf.scripts.web.security.PersistenceInterceptor.intercept= (PersistenceInterceptor.java:55) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at org.apache.struts2.interceptor.RolesInterceptor.intercept(RolesI= nterceptor.java:125) > at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultAc= tionInvocation.java:246) > at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionPr= oxy.java:54) > at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatche= r.java:562) > at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction= (ExecuteOperations.java:77) > at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteF= ilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) > at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(Fi= lterInstanceWrapper.java:195) > at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp= FilterChain.java:91) > at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebA= ppFilterManager.java:960) > at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters= (WebAppFilterManager.java:1064) > at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:= 3763) > at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.j= ava:304) > at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.= java:976) > at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContai= ner.java:1662) > at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLin= k.java:200) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscr= imination(HttpInboundLink.java:453) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRe= quest(HttpInboundLink.java:515) > at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequ= est(HttpInboundLink.java:306) > at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complet= e(HttpICLReadCallback.java:84) > at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureComp= leted(AioReadCompletionListener.java:175) > at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyn= cFuture.java:217) > at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncC= hannelFuture.java:161) > at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138) > at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204) > at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHand= ler.java:775) > at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1700) > Caused by: java.lang.NoSuchMethodError: org/apache/struts2/views/jsp/ui/F= ileTag.setRequired(Ljava/lang/String;)V > at com.ibm._jsp._encounterUpload._jspx_meth_s_file_0(_encounterUplo= ad.java:225) > at com.ibm._jsp._encounterUpload._jspx_meth_s_form_0(_encounterUplo= ad.java:321) > at com.ibm._jsp._encounterUpload._jspService(_encounterUpload.java:= 101) > ... 93 more > > [3/26/14 15:43:10:608 CDT] 00000185 SystemErr R java.lang.NullPointer= Exception > [3/26/14 15:43:10:608 CDT] 00000185 SystemErr R at org.apache.jaspe= r.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1030) > [3/26/14 15:43:10:609 CDT] 00000185 SystemErr R at org.apache.jaspe= r.runtime.PageContextImpl.include(PageContextImpl.java:527) > [3/26/14 15:43:10:609 CDT] 00000185 SystemErr R at org.apache.strut= s2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.jav= a:132) > [3/26/14 15:43:10:609 CDT] 00000185 SystemErr R at org.apache.strut= s2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186) > [3/26/14 15:43:10:609 CDT] 00000185 SystemErr R at com.opensymphony= .xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:= 371) > [3/26/14 15:43:10:609 CDT] 00000185 SystemErr R at com.opensymphony= .xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:275) > [3/26/14 15:43:10:609 CDT] 00000185 SystemErr R at gov.ks.dcf.scrip= ts.web.security.LoginInterceptor.intercept(LoginInterceptor.java:98) > [3/26/14 15:43:10:609 CDT] 00000185 SystemErr R at com.opensymphony= .xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) > [3/26/14 15:43:10:609 CDT] 00000185 SystemErr R at gov.ks.dcf.scrip= ts.web.security.PersistenceInterceptor.intercept(PersistenceInterceptor.jav= a:55) > [3/26/14 15:43:10:610 CDT] 00000185 SystemErr R at com.opensymphony= .xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) > [3/26/14 15:43:10:610 CDT] 00000185 SystemErr R at org.apache.strut= s2.interceptor.RolesInterceptor.intercept(RolesInterceptor.java:125) > [3/26/14 15:43:10:610 CDT] 00000185 SystemErr R at com.opensymphony= .xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) > [3/26/14 15:43:10:610 CDT] 00000185 SystemErr R at org.apache.strut= s2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54) > [3/26/14 15:43:10:610 CDT] 00000185 SystemErr R at org.apache.strut= s2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:562) > [3/26/14 15:43:10:610 CDT] 00000185 SystemErr R at org.apache.strut= s2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) > [3/26/14 15:43:10:610 CDT] 00000185 SystemErr R at org.apache.strut= s2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepar= eAndExecuteFilter.java:99) > [3/26/14 15:43:10:610 CDT] 00000185 SystemErr R at com.ibm.ws.webco= ntainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:19= 5) > [3/26/14 15:43:10:611 CDT] 00000185 SystemErr R at com.ibm.ws.webco= ntainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91) > [3/26/14 15:43:10:611 CDT] 00000185 SystemErr R at com.ibm.ws.webco= ntainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:960) > [3/26/14 15:43:10:611 CDT] 00000185 SystemErr R at com.ibm.ws.webco= ntainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1= 064) > [3/26/14 15:43:10:611 CDT] 00000185 SystemErr R at com.ibm.ws.webco= ntainer.webapp.WebApp.handleRequest(WebApp.java:3763) > [3/26/14 15:43:10:611 CDT] 00000185 SystemErr R at com.ibm.ws.webco= ntainer.webapp.WebGroup.handleRequest(WebGroup.java:304) > [3/26/14 15:43:10:611 CDT] 00000185 SystemErr R at com.ibm.ws.webco= ntainer.WebContainer.handleRequest(WebContainer.java:976) > [3/26/14 15:43:10:612 CDT] 00000185 SystemErr R at com.ibm.ws.webco= ntainer.WSWebContainer.handleRequest(WSWebContainer.java:1662) > [3/26/14 15:43:10:612 CDT] 00000185 SystemErr R at com.ibm.ws.webco= ntainer.channel.WCChannelLink.ready(WCChannelLink.java:200) > [3/26/14 15:43:10:612 CDT] 00000185 SystemErr R at com.ibm.ws.http.= channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.j= ava:453) > [3/26/14 15:43:10:612 CDT] 00000185 SystemErr R at com.ibm.ws.http.= channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:= 515) > [3/26/14 15:43:10:612 CDT] 00000185 SystemErr R at com.ibm.ws.http.= channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:30= 6) > [3/26/14 15:43:10:612 CDT] 00000185 SystemErr R at com.ibm.ws.http.= channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:= 84) > [3/26/14 15:43:10:612 CDT] 00000185 SystemErr R at com.ibm.ws.tcp.c= hannel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionList= ener.java:175) > [3/26/14 15:43:10:612 CDT] 00000185 SystemErr R at com.ibm.io.async= .AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) > [3/26/14 15:43:10:613 CDT] 00000185 SystemErr R at com.ibm.io.async= .AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) > [3/26/14 15:43:10:613 CDT] 00000185 SystemErr R at com.ibm.io.async= .AsyncFuture.completed(AsyncFuture.java:138) > [3/26/14 15:43:10:613 CDT] 00000185 SystemErr R at com.ibm.io.async= .ResultHandler.complete(ResultHandler.java:204) > [3/26/14 15:43:10:613 CDT] 00000185 SystemErr R at com.ibm.io.async= .ResultHandler.runEventProcessingLoop(ResultHandler.java:775) > [3/26/14 15:43:10:613 CDT] 00000185 SystemErr R at com.ibm.io.async= .ResultHandler$2.run(ResultHandler.java:905) > [3/26/14 15:43:10:613 CDT] 00000185 SystemErr R at com.ibm.ws.util.= ThreadPool$Worker.run(ThreadPool.java:1700) > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org