Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SGWT Mobile: NPE if endRow is missing from fetch response

    Using SGWT mobile 1.0.

    The NPE is due to com.smartgwt.mobile.client.data.DSResponse.getEndRow() that does not expect "endRow" attribute to be missing when casting it to Integer.

    Code:
    java.lang.NullPointerException: null
        at com.smartgwt.mobile.client.data.ResultSet$1.execute(ResultSet.java:158)
        at com.smartgwt.mobile.client.data.DataSource$1.onResponseReceived(DataSource.java:1120)
        at com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:287)
        at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:395)

    #2
    SGWT mobile version: 1.0 06/05/2012 09:30 -0700
    SGWT 3.0p
    GWT 2.4
    Any browser

    Comment

    Working...
    X