Menu

#2 If phones are "Unknown" in system, detail lookup fails

Beta
pending
5
2014-01-12
2012-06-09
Anonymous
No

Function GetDeviceDetails(query) fails with the following exception when devices exist in UCM database that are "Unknown" (not registered since last service reset):
System.NullReferenceException: Object reference not set to an instance of an object. at HSPI_IPPHONEXML.clsAXLAPI.GetDeviceDetails(String query) at HSPI_IPPHONEXML.clsHSWeb.BuildDevicesPage()

Discussion

  • bcstechnologies

    bcstechnologies - 2012-06-13
    • assigned_to: nobody --> bcstechnologies
    • status: open --> open-accepted
     
  • bcstechnologies

    bcstechnologies - 2012-06-13

    It appears when a request is made of the Serviceability API for a device that is "unknown", the API returns 0 results. The code needs to account for a NULL Response and treat it as not found (log the warning, and continue processing)

     
  • bcstechnologies

    bcstechnologies - 2012-06-13
    • status: open-accepted --> open
     
  • bcstechnologies

    bcstechnologies - 2014-01-12
    • status: open --> pending
     

Anonymous
Anonymous

Add attachments
Cancel