favoretti/nsnitro — Issue #10: get_json_response fails while the filter request returns no object
Author: anandjeyahar
Created: 2012-01-16 05:55:04+00:00
State: open

if i run
nitro_session_obj.get(self.auth_url + '/'.join(['lbvserver']) + '?' +('filter=ipv46:%s'%Vip)).get_json_response()
passing a ip address that's not associated with a lbvserver on the NetScaler LB, it raises an error in json.loads.

Error: TypeError: sequence item 1: expected string, NoneType found

P.S: Am running this on NetScaler 9.3. with python 2.7