[CONTROLLER-1279] checkRpcResponse - CancellationException Created: 27/Apr/15 Updated: 25/Jul/23 Resolved: 07/May/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | restconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jozef Gloncak | Assignee: | Jan Hajnar |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 3068 |
| Description |
|
If in RestconfImpl in method checkRpcResponse is future cancelled then calling response.get() cauce CancellationException which isn't caught. |
| Comments |
| Comment by Jozef Gloncak [ 28/Apr/15 ] |
|
In ExecutionException branch there is also check on CancellationException but in my case CancellationException wasn't inner but outer. |
| Comment by Jan Hajnar [ 29/Apr/15 ] |
|
patch for missing case in restconf exception handling: original openflow issue that caused this exception still needs to be investigated. |