Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-1453

NoSuchMethodException for primitive types on domain object

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.RC1
    • Component/s: GWT
    • Labels:
      None

      Description

      We shouldn't add boxing yet, but we need to fail gracefully.

      NoSuchMethodException in JsonRequestProcessor if the EnitityProxy uses boxed types, but the domain object uses primitive types:

      Caused by: java.lang.NoSuchMethodException: com.google.gwt.requestfactory.server.SimpleBar.setFindFails(java.lang.Boolean)
          at java.lang.Class.getMethod(Class.java:1605)
          at com.google.gwt.requestfactory.server.JsonRequestProcessor.getEntityDataForRecordWithSettersApplied(JsonRequestProcessor.java:513)
          at com.google.gwt.requestfactory.server.JsonRequestProcessor.constructAfterDvsDataMapAfterCallingSetters(JsonRequestProcessor.java:1069)
          at com.google.gwt.requestfactory.server.JsonRequestProcessor.processJsonRequest(JsonRequestProcessor.java:849)
          at com.google.gwt.requestfactory.server.JsonRequestProcessor.decodeAndInvokeRequest(JsonRequestProcessor.java:224)
      

        Attachments

          Activity

            People

            Assignee:
            rice Daniel Rice
            Reporter:
            rjrjr@google.com Ray Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: