get_local_device throws an exception with 13.x

I have a Java code works on top of IConrol library which works fine with 11.x and 12.x but I am seeing the following error when I contacts new F5 13.x.

Java Code: interfaces.getManagementDevice().get_local_device();

Exception: [Exception caught in Management::urn:iControl:Management/Device::get_local_device() Exception: Common::OperationFailed primary_error_code : 16908342 (0x01020036) secondary_error_code : 0 error_string : The local device was not found

Any help would appreceated

https://devcentral.f5.com/questions/version-112-synchronize_to_group_v2-problem