[CONTROLLER-231] RPC Methods with no args fail to return the result Created: 24/Mar/14 Updated: 25/Jul/23 Resolved: 15/May/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | restconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Mayank Agarwal | Assignee: | Mayank Agarwal |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Mac OS |
||
| Issue Links: |
|
||||||||
| External issue ID: | 574 | ||||||||
| Priority: | 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. |
| Comments |
| Comment by Mayank Agarwal [ 17/Apr/14 ] |
|
Gerrit Patch: https://git.opendaylight.org/gerrit/#/c/6190/ |