* Fixed Device::setHTTPPort() and getHTTPPort() not to abort when the device data is null.