Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-231

RPC Methods with no args fail to return the result

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • restconf
    • None
    • Operating System: Mac OS
      Platform: PC

    • 574
    • High

    Description

      In RestConfImpl, when RPC methods that have no input arguments are implemented, they fail to return the result. The implementation returns a valid result object, but somewhere down the line, most likely in RestConfImpl's invokeRPC method, the result object becomes null. The user, as a result, gets a HTTP 204 No Content for their query. There are no exceptions printed out.

      If I change the RPC to accept a dummy input argument, everything else remaining same, things work fine.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mayagarw@cisco.com Mayank Agarwal
              mayagarw@cisco.com Mayank Agarwal
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: