ICEmobile
  1. ICEmobile
  2. MOBI-279

Spring demo: BindException in tabs demo

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 Beta
    • Fix Version/s: 1.1 Beta
    • Component/s: Spring
    • Labels:
      None
    • Environment:
      n/a

      Description

      Occasional server side error:

      org.springframework.validation.BindException: org.springframework.validation.BeanPropertyBindingResult: 1 errors
      Field error in object 'tabsetBean' on field 'tabsetOne': rejected value []; codes [typeMismatch.tabsetBean.tabsetOne,typeMismatch.tabsetOne,type
      rk.context.support.DefaultMessageSourceResolvable: codes [tabsetBean.tabsetOne,tabsetOne]; arguments []; default message [tabsetOne]]; default m
      ang.String' to required type 'int' for property 'tabsetOne'; nested exception is java.lang.NumberFormatException: For input string: ""]
              at org.springframework.web.method.annotation.ModelAttributeMethodProcessor.resolveArgument(ModelAttributeMethodProcessor.java:110)
              at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.
              at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:155)
              at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:117)
              at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.jav
              at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.j
              at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:5
              at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
              at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:900)
              at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:827)
              at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
              at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:999)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:565)
              at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1812)
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
              at java.lang.Thread.run(Thread.java:662)

        Activity

        Hide
        Philip Breau added a comment -

        Revision: 30206
        Author: philip.breau
        Date: July-24-12 2:35:33 PM
        Message:
        MOBI-279 - BindingException when clicking submit before selecting a tab


        Modified : /icemobile/trunk/icemobile/samples/icemobilespring/src/main/java/org/icemobile/samples/springbasic/TabsetBean.java

        Show
        Philip Breau added a comment - Revision: 30206 Author: philip.breau Date: July-24-12 2:35:33 PM Message: MOBI-279 - BindingException when clicking submit before selecting a tab Modified : /icemobile/trunk/icemobile/samples/icemobilespring/src/main/java/org/icemobile/samples/springbasic/TabsetBean.java

          People

          • Assignee:
            Philip Breau
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: