ICEmobile
  1. ICEmobile
  2. MOBI-305

Field error in object 'mediaSpotBean'

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 Beta
    • Fix Version/s: 1.1 Final
    • Component/s: Spring
    • Labels:
      None
    • Environment:
      ICEmobile, Spring

      Description

      Field error in object 'mediaSpotBean' on field 'location': rejected value [51.1359481,-114.1526813,,]; codes [methodInvocation.mediaSpotBean.location,methodInvocation.location,methodInvocation.java.lang.String,methodInvocation]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [mediaSpotBean.location,location]; arguments []; default message [location]]; default message [Property 'location' threw exception; nested exception is java.lang.ArrayIndexOutOfBoundsException: 2]
      at org.springframework.web.method.annotation.ModelAttributeMethodProcessor.resolveArgument(ModelAttributeMethodProcessor.java:110)
      at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:74)

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #30419 Wed Aug 08 17:45:41 MDT 2012 ted.goddard try/catch for geolocation string split (MOBI-305)
        Files Changed
        Commit graph MODIFY /icemobile/trunk/icemobile/samples/icemobilespring/src/main/java/org/icemobile/samples/springbasic/MediaSpotBean.java
        Ted Goddard created issue -
        Ted Goddard made changes -
        Field Original Value New Value
        Assignee Steve Maryka [ steve.maryka ] Ted Goddard [ ted.goddard ]
        Hide
        Ted Goddard added a comment -

        Application change using try/catch around geolocation String.split(",")

        Show
        Ted Goddard added a comment - Application change using try/catch around geolocation String.split(",")
        Ted Goddard made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Migration made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Ted Goddard
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: