Apache Trinidad <tr:convertnumber>组件在Apache Tomcat v8 +

时间:2018-01-17 06:10:04

标签: tomcat jsf myfaces trinidad

我正在尝试将运行在Tomcat 7上的Apache Trinidad的现有应用程序迁移到Tomcat 8,并因使用而收到以下错误。

据我所知,特立尼达正在寻求生命支持。该网站充斥着死链接,并且一年半没有更新。

Trinidad convertNumber组件的最初目的是更严格,如果输入的数字无效,则抛出验证错误,即123.23.455

问题: 1. Trinidad EOL还是有计划更新Trinidad以与Tomcat 8规格兼容? 2. MyFaces impl of convertNumber是否提供与Trinidad的convertNumber组件相同的验证?

转换数字组件: <tr:convertNumber maxFractionDigits="4" />

例外: Stacktrace: at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:584) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:481) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:728) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:467) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:392) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:311) at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:368) at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:68) at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:68) at javax.faces.context.ExternalContextWrapper.dispatch(ExternalContextWrapper.java:68) at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:173) at org.apache.myfaces.view.jsp.JspViewDeclarationLanguage.buildView(JspViewDeclarationLanguage.java:96) at org.apache.myfaces.trinidad.view.ViewDeclarationLanguageWrapper.buildView(ViewDeclarationLanguageWrapper.java:94) at org.apache.myfaces.trinidadinternal.application.ViewDeclarationLanguageFactoryImpl$ChangeApplyingVDLWrapper.buildView(ViewDeclarationLanguageFactoryImpl.java:322) at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:66) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:239) ... 28 more Caused by: java.lang.NullPointerException at org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:113) at org.apache.myfaces.trinidadinternal.taglib.convert.ConvertNumberTag._setProperties(ConvertNumberTag.java:303) at org.apache.myfaces.trinidadinternal.taglib.convert.ConvertNumberTag.createConverter(ConvertNumberTag.java:168) at org.apache.myfaces.trinidad.webapp.TrinidadConverterELTag.doStartTag(TrinidadConverterELTag.java:68) at org.apache.jsp.page1_jspx._jspx_meth_tr_005fconvertNumber_005f0(page1_jspx.java:530) at org.apache.jsp.page1_jspx._jspx_meth_tr_005finputText_005f1(page1_jspx.java:497) at org.apache.jsp.page1_jspx._jspx_meth_tr_005fpanelPage_005f0(page1_jspx.java:397) at org.apache.jsp.page1_jspx._jspx_meth_tr_005fform_005f0(page1_jspx.java:356) at org.apache.jsp.page1_jspx._jspx_meth_tr_005fdocument_005f0(page1_jspx.java:237) at org.apache.jsp.page1_jspx._jspx_meth_f_005fview_005f0(page1_jspx.java:199) at org.apache.jsp.page1_jspx._jspService(page1_jspx.java:161) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443) ... 50 more

0 个答案:

没有答案