[CONTROLLER-753] null pointer error when GET request for /restconf/operational data fails. Created: 02/Sep/14 Updated: 25/Jul/23 Due: 04/Sep/14 Resolved: 04/Sep/14 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | RichardHill | Assignee: | Tony Tkacik |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Windows |
||
| Attachments: |
|
| External issue ID: | 1664 |
| Description |
|
Where the netconf controller is called 'controller-config_xrvr' a GET request to the URL resulted in a 500 error. We believe that this is because the response times out but this is not clear from the response. However filtering the response to request a smaller subtree resulted in a successful operation. http://localhost:8080/restconf/operational/opendaylight-inventory:nodes/node/<controller-config_xrvr>/yang-ext:mount/ Expected Result Actual Result HTTP STATUS 500 and null pointer error. SUCCESSFUL request for subtree Test Env org.opendaylight.controller.version = 0.1 |
| Comments |
| Comment by RichardHill [ 02/Sep/14 ] |
|
Attachment actual-response.txt has been added with description: actual response |
| Comment by RichardHill [ 02/Sep/14 ] |
|
Attachment opendaylight.log has been added with description: opendaylight logs |
| Comment by RichardHill [ 02/Sep/14 ] |
|
Attachment tomcat0.log has been added with description: tomcat log |
| Comment by RichardHill [ 02/Sep/14 ] |
|
controller-config_xrvr references and XRVR router running netconf. A similar call to see the config data store was successful |
| Comment by Tony Tkacik [ 03/Sep/14 ] |