Announcement Announcement Module
Collapse
No announcement yet.
Spring validation error Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring validation error

    root cause
    freemarker.template.TemplateModelException: Method public org.springframework.web.servlet.support.BindStatus org.springframework.web.servlet.support.RequestCon text.getBindStatus(java.lang.String) throws java.lang.IllegalStateException threw an exception when invoked on org.springframework.web.servlet.support.RequestCon text@49d7fb83 with arguments of types [java.lang.String,]
    freemarker.ext.beans.OverloadedMethodModel.exec(Ov erloadedMethodModel.java:134)
    freemarker.core.MethodCall._getAsTemplateModel(Met hodCall.java:93)
    freemarker.core.Expression.getAsTemplateModel(Expr ession.java:89)
    freemarker.core.Assignment.accept(Assignment.java: 90)
    freemarker.core.Environment.visit(Environment.java :209)
    freemarker.core.IfBlock.accept(IfBlock.java:82)
    freemarker.core.Environment.visit(Environment.java :209)
    freemarker.core.MixedContent.accept(MixedContent.j ava:92)
    freemarker.core.Environment.visit(Environment.java :209)
    freemarker.core.Macro$Context.runMacro(Macro.java: 168)
    freemarker.core.Environment.visit(Environment.java :602)
    freemarker.core.UnifiedCall.accept(UnifiedCall.jav a:106)
    freemarker.core.Environment.visit(Environment.java :209)
    freemarker.core.MixedContent.accept(MixedContent.j ava:92)
    freemarker.core.Environment.visit(Environment.java :209)
    freemarker.core.Macro$Context.runMacro(Macro.java: 168)
    freemarker.core.Environment.visit(Environment.java :602)
    freemarker.core.UnifiedCall.accept(UnifiedCall.jav a:106)
    freemarker.core.Environment.visit(Environment.java :209)
    freemarker.core.Macro$Context.runMacro(Macro.java: 168)
    freemarker.core.Environment.visit(Environment.java :602)
    freemarker.core.UnifiedCall.accept(UnifiedCall.jav a:106)
    freemarker.core.Environment.visit(Environment.java :209)
    freemarker.core.MixedContent.accept(MixedContent.j ava:92)
    freemarker.core.Environment.visit(Environment.java :209)
    freemarker.core.Environment.process(Environment.ja va:189)
    freemarker.template.Template.process(Template.java :237)
    org.springframework.web.servlet.view.freemarker.Fr eeMarkerView.processTemplate(FreeMarkerView.java:3 66)
    org.springframework.web.servlet.view.freemarker.Fr eeMarkerView.doRender(FreeMarkerView.java:283)
    org.springframework.web.servlet.view.freemarker.Fr eeMarkerView.renderMergedTemplateModel(FreeMarkerV iew.java:233)
    org.springframework.web.servlet.view.AbstractTempl ateView.renderMergedOutputModel(AbstractTemplateVi ew.java:167)
    org.springframework.web.servlet.view.AbstractView. render(AbstractView.java:262)
    org.springframework.web.servlet.DispatcherServlet. render(DispatcherServlet.java:1157)
    org.springframework.web.servlet.DispatcherServlet. doDispatch(DispatcherServlet.java:927)
    org.springframework.web.servlet.DispatcherServlet. doService(DispatcherServlet.java:827)
    org.springframework.web.servlet.FrameworkServlet.p rocessRequest(FrameworkServlet.java:882)
    org.springframework.web.servlet.FrameworkServlet.d oPost(FrameworkServlet.java:789)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:641)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:722)
    org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 311)
    org.springframework.security.web.access.intercept. FilterSecurityInterceptor.invoke(FilterSecurityInt erceptor.java:116)
    org.springframework.security.web.access.intercept. FilterSecurityInterceptor.doFilter(FilterSecurityI nterceptor.java:83)
    org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 323)
    org.springframework.security.oauth.provider.filter .OAuthProviderProcessingFilter.doFilter(OAuthProvi derProcessingFilter.java:182)
    org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 323)
    org.springframework.security.oauth.provider.filter .OAuthProviderProcessingFilter.doFilter(OAuthProvi derProcessingFilter.java:202)
    org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 323)
    org.springframework.security.web.authentication.Ab stractAuthenticationProcessingFilter.doFilter(Abst ractAuthenticationProcessingFilter.java:182)
    org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 323)
    org.springframework.security.oauth.provider.filter .OAuthProviderProcessingFilter.doFilter(OAuthProvi derProcessingFilter.java:202)
    org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 323)
    org.springframework.security.web.access.ExceptionT ranslationFilter.doFilter(ExceptionTranslationFilt er.java:113)
    org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 323)
    org.springframework.security.web.session.SessionMa nagementFilter.doFilter(SessionManagementFilter.ja va:101)
    org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 323)
    org.springframework.security.web.authentication.An onymousAuthenticationFilter.doFilter(AnonymousAuth enticationFilter.java:113)
    org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 323)
    org.springframework.security.web.servletapi.Securi tyContextHolderAwareRequestFilter.doFilter(Securit yContextHolderAwareRequestFilter.java:54)
    org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 323)
    org.springframework.security.web.savedrequest.Requ estCacheAwareFilter.doFilter(RequestCacheAwareFilt er.java:45)
    org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 323)
    org.springframework.security.web.authentication.Ab stractAuthenticationProcessingFilter.doFilter(Abst ractAuthenticationProcessingFilter.java:182)
    org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 323)
    org.springframework.security.web.authentication.lo gout.LogoutFilter.doFilter(LogoutFilter.java:105)
    org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 323)
    org.springframework.security.web.context.SecurityC ontextPersistenceFilter.doFilter(SecurityContextPe rsistenceFilter.java:87)
    org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 323)
    org.springframework.security.web.access.channel.Ch annelProcessingFilter.doFilter(ChannelProcessingFi lter.java:144)
    org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java: 323)
    org.springframework.security.web.FilterChainProxy. doFilter(FilterChainProxy.java:173)
    org.springframework.web.filter.DelegatingFilterPro xy.invokeDelegate(DelegatingFilterProxy.java:346)
    org.springframework.web.filter.DelegatingFilterPro xy.doFilter(DelegatingFilterProxy.java:259)
    org.tuckey.web.filters.urlrewrite.NormalRewrittenU rl.doRewrite(NormalRewrittenUrl.java:213)
    org.tuckey.web.filters.urlrewrite.RuleChain.handle Rewrite(RuleChain.java:171)
    org.tuckey.web.filters.urlrewrite.RuleChain.doRule s(RuleChain.java:145)
    org.tuckey.web.filters.urlrewrite.UrlRewriter.proc essRequest(UrlRewriter.java:92)
    org.tuckey.web.filters.urlrewrite.UrlRewriteFilter .doFilter(UrlRewriteFilter.java:381)
    org.springframework.orm.jpa.support.OpenEntityMana gerInViewFilter.doFilterInternal(OpenEntityManager InViewFilter.java:147)
    org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:76)
    org.springframework.orm.jpa.support.OpenEntityMana gerInViewFilter.doFilterInternal(OpenEntityManager InViewFilter.java:147)
    org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:76)
    se.mcmd.flod.larp.web.interceptors.HttpsCookieFilt er.doFilter(HttpsCookieFilter.java:104)
    org.springframework.web.filter.CharacterEncodingFi lter.doFilterInternal(CharacterEncodingFilter.java :88)
    org.springframework.web.filter.OncePerRequestFilte r.doFilter(OncePerRequestFilter.java:76)




    This is the problem am facing when am doing validations for my ftl page.

    please hep me out this problem guys.
    thanks.
Working...
X