Disconnect is called independent of the connection status. It fails, and thus blocks device deletion.
agile-core | 14:21:25.798 [Thread-3] ERROR i.a.devicemanager.DeviceManagerImp - Unable to delete device: bleA0E6F8B6F200
agile-core | iot.agile.exception.AgileNoResultException: BLE Device not connected: CC2650 SensorTag
agile-core | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
agile-core | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
agile-core | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
agile-core | at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
agile-core | at org.freedesktop.dbus.Error.getException(Unknown Source)
agile-core | at org.freedesktop.dbus.Error.throwException(Unknown Source)
agile-core | at org.freedesktop.dbus.RemoteInvocationHandler.executeRemoteMethod(Unknown Source)
agile-core | at org.freedesktop.dbus.RemoteInvocationHandler.invoke(Unknown Source)
agile-core | at com.sun.proxy.$Proxy6.Stop(Unknown Source)
agile-core | at iot.agile.devicemanager.DeviceManagerImp.Delete(DeviceManagerImp.java:188)
agile-core | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
agile-core | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
agile-core | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
agile-core | at java.lang.reflect.Method.invoke(Method.java:498)
agile-core | at org.freedesktop.dbus.AbstractConnection$1.run(Unknown Source)
agile-core | at org.freedesktop.dbus.AbstractConnection$_workerthread.run(Unknown Source)
Disconnect is called independent of the connection status. It fails, and thus blocks device deletion.
agile-core | 14:21:25.798 [Thread-3] ERROR i.a.devicemanager.DeviceManagerImp - Unable to delete device: bleA0E6F8B6F200 agile-core | iot.agile.exception.AgileNoResultException: BLE Device not connected: CC2650 SensorTag agile-core | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) agile-core | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) agile-core | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) agile-core | at java.lang.reflect.Constructor.newInstance(Constructor.java:423) agile-core | at org.freedesktop.dbus.Error.getException(Unknown Source) agile-core | at org.freedesktop.dbus.Error.throwException(Unknown Source) agile-core | at org.freedesktop.dbus.RemoteInvocationHandler.executeRemoteMethod(Unknown Source) agile-core | at org.freedesktop.dbus.RemoteInvocationHandler.invoke(Unknown Source) agile-core | at com.sun.proxy.$Proxy6.Stop(Unknown Source) agile-core | at iot.agile.devicemanager.DeviceManagerImp.Delete(DeviceManagerImp.java:188) agile-core | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) agile-core | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) agile-core | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) agile-core | at java.lang.reflect.Method.invoke(Method.java:498) agile-core | at org.freedesktop.dbus.AbstractConnection$1.run(Unknown Source) agile-core | at org.freedesktop.dbus.AbstractConnection$_workerthread.run(Unknown Source)