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

null pointer error when GET request for /restconf/operational data fails.

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • netconf
    • None
    • Operating System: Windows
      Platform: PC

    • 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
      HTTP STATUS 200 and a JSON or XML reporesentation of the tre.

      Actual Result

      HTTP STATUS 500 and null pointer error.

      SUCCESSFUL request for subtree

      http://localhost:8080/restconf/operational/opendaylight-inventory:nodes/node/controller-config_xrvr/yang-ext:mount/Cisco-IOS-XR-aaa-locald-admin-cfg:aaa/Cisco-IOS-XR-aaa-locald-admin-cfg:usernames

      Test Env

      org.opendaylight.controller.version = 0.1
      org.opendaylight.controller.build.scm.version = d04b6dc0d4f1eb7e53b95048d41bd11ff35a3fa9
      org.opendaylight.controller.build.user = jenkins-controller
      org.opendaylight.controller.build.workspace = **********
      org.opendaylight.controller.build.timestamp = 1406427010958
      org.opendaylight.controller.build.machine = **********
      ~

      Attachments

        1. tomcat0.log
          13 kB
        2. opendaylight.log
          768 kB
        3. actual-response.txt
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tony.tkacik@gmail.com Tony Tkacik
            ricjhill@gmail.com RichardHill
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: