Struts Problem Report

Struts has detected an unhandled exception:

Messages:
  • No compatible overloaded variation was found; can't convert (unwrap) the 1st argument to the desired Java type. The FTL type of the argument values were: extended_hash+string (java.time.LocalDateTime wrapped into f.e.b.StringModel). The matching overload was searched among these members: net.stonescape.core.user.AuthAccount.getGMTDateFormat(Object, boolean), net.stonescape.core.user.AuthAccount.getGMTDateFormat(Date) ---- Tip: You seem to use BeansWrapper with incompatibleImprovements set below 2.3.21. If you think this error is unfounded, enabling 2.3.21 fixes may helps. See version history for more. ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${authAccount.getGMTDateFormat(member... [in template "forum/viewThread.ftl" at line 274, column 78] - Reached through: @pg.item [in template "forum/viewThread.ftl" at line 142, column 1] - Reached through: @pg.pager url="/forum/viewThread.do" ... [in template "forum/viewThread.ftl" at line 65, column 1] ----
  • File: freemarker/ext/beans/OverloadedMethods.java
    Line number: 107

    Stacktraces

    freemarker.core._TemplateModelException: No compatible overloaded variation was found; can't convert (unwrap) the 1st argument to the desired Java type. The FTL type of the argument values were: extended_hash+string (java.time.LocalDateTime wrapped into f.e.b.StringModel). The matching overload was searched among these members: net.stonescape.core.user.AuthAccount.getGMTDateFormat(Object, boolean), net.stonescape.core.user.AuthAccount.getGMTDateFormat(Date) ---- Tip: You seem to use BeansWrapper with incompatibleImprovements set below 2.3.21. If you think this error is unfounded, enabling 2.3.21 fixes may helps. See version history for more. ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${authAccount.getGMTDateFormat(member... [in template "forum/viewThread.ftl" at line 274, column 78] - Reached through: @pg.item [in template "forum/viewThread.ftl" at line 142, column 1] - Reached through: @pg.pager url="/forum/viewThread.do" ... [in template "forum/viewThread.ftl" at line 65, column 1] ----
        freemarker.ext.beans.OverloadedMethods.getMemberAndArguments(OverloadedMethods.java:107)
        freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:59)
        freemarker.core.MethodCall._eval(MethodCall.java:65)
        freemarker.core.Expression.eval(Expression.java:81)
        freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:96)
        freemarker.core.DollarVariable.accept(DollarVariable.java:59)
        freemarker.core.Environment.visit(Environment.java:326)
        freemarker.core.Environment.visit(Environment.java:368)
        freemarker.core.Environment.visitAndTransform(Environment.java:460)
        freemarker.core.UnifiedCall.accept(UnifiedCall.java:103)
        freemarker.core.Environment.visit(Environment.java:362)
        freemarker.core.IteratorBlock$IterationContext.executedNestedContentForCollOrSeqListing(IteratorBlock.java:291)
        freemarker.core.IteratorBlock$IterationContext.executeNestedContent(IteratorBlock.java:271)
        freemarker.core.IteratorBlock$IterationContext.accept(IteratorBlock.java:242)
        freemarker.core.Environment.visitIteratorBlock(Environment.java:595)
        freemarker.core.IteratorBlock.acceptWithResult(IteratorBlock.java:107)
        freemarker.core.IteratorBlock.accept(IteratorBlock.java:93)
        freemarker.core.Environment.visit(Environment.java:362)
        freemarker.core.Environment.visitAndTransform(Environment.java:460)
        freemarker.core.UnifiedCall.accept(UnifiedCall.java:103)
        freemarker.core.Environment.visit(Environment.java:326)
        freemarker.core.Environment.visit(Environment.java:332)
        freemarker.core.Environment.process(Environment.java:305)
        freemarker.template.Template.process(Template.java:378)
        org.apache.struts2.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:166)
        org.apache.struts2.result.StrutsResultSupport.execute(StrutsResultSupport.java:204)
        com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:375)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:279)
        org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:250)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:179)
        com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)
        org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:49)
        com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.doIntercept(ConversionErrorInterceptor.java:142)
        com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        net.stonescape.core.interceptor.ParametersBlockingInterceptor.doIntercept(ParametersBlockingInterceptor.java:93)
        com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:137)
        com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:201)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:67)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        org.apache.struts2.interceptor.DateTextFieldInterceptor.intercept(DateTextFieldInterceptor.java:133)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:89)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:101)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:142)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:160)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:175)
        com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:99)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        org.apache.struts2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:121)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:167)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:203)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:196)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        net.stonescape.core.member.interceptor.DefaultStateInterceptor.intercept(DefaultStateInterceptor.java:282)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
        org.apache.struts2.factory.StrutsActionProxy.execute(StrutsActionProxy.java:48)
        org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:574)
        org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:79)
        org.apache.struts2.dispatcher.filter.StrutsExecuteFilter.doFilter(StrutsExecuteFilter.java:86)
        org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        com.opensymphony.sitemesh.webapp.SiteMeshFilter.obtainContent(SiteMeshFilter.java:129)
        com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:77)
        org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        org.apache.struts2.dispatcher.filter.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:92)
        org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        net.stonescape.core.catalina.TimerFilter.doFilter(TimerFilter.java:39)
        org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)
        org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
        org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
        org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
        org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
        org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
        org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
        org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
        org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
        org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:394)
        org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
        org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:853)
        org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1587)
        org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        java.base/java.lang.Thread.run(Thread.java:829)