Bluetooth binding stops after a while with: Native adapter could not be found for address

Good morning

Not the first time this happended on my RPi with the openhabian image…

After a while the internal bluetooth adapter is gone with the message “Native adapter could not be found for address” and I see in the openhab.log:

2022-10-04 07:47:53.162 [ERROR] [core.thing.internal.ThingManagerImpl] - Exception occurred while disposing handler of thing 'bluetooth:bluez:hci0': The maximum number of pending replies per connection has been reached
org.freedesktop.dbus.exceptions.DBusExecutionException: The maximum number of pending replies per connection has been reached
	at jdk.internal.reflect.GeneratedConstructorAccessor188.newInstance(Unknown Source) ~[?:?]
	at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?]
	at java.lang.reflect.Constructor.newInstance(Constructor.java:490) ~[?:?]
	at org.freedesktop.dbus.errors.Error.getException(Error.java:157) ~[?:?]
	at org.freedesktop.dbus.errors.Error.throwException(Error.java:187) ~[?:?]
	at org.freedesktop.dbus.RemoteInvocationHandler.executeRemoteMethod(RemoteInvocationHandler.java:164) ~[?:?]
	at org.freedesktop.dbus.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:228) ~[?:?]
	at com.sun.proxy.$Proxy289.StopDiscovery(Unknown Source) ~[?:?]
	at com.github.hypfvieh.bluetooth.wrapper.BluetoothAdapter.stopDiscovery(BluetoothAdapter.java:292) ~[?:?]
	at org.openhab.binding.bluetooth.bluez.internal.BlueZBridgeHandler.dispose(BlueZBridgeHandler.java:109) ~[?:?]
	at jdk.internal.reflect.GeneratedMethodAccessor94.invoke(Unknown Source) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
	at org.openhab.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:154) [bundleFile:?]
	at org.openhab.core.internal.common.Invocation.call(Invocation.java:52) [bundleFile:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:829) [?:?]

When I reboot the RPi the binding comes back again…

But then the deConz binding is gone with:

Error while connecting: Destroyed container cannot be restarted

Just happended again this morning:

2022-10-04 09:37:01.893 [WARN ] [th.bluez.internal.BlueZBridgeHandler] - Unknown exception
java.lang.NullPointerException: null
at com.github.hypfvieh.bluetooth.wrapper.BluetoothAdapter.isPowered(BluetoothAdapter.java:100) ~[?:?]
at org.openhab.binding.bluetooth.bluez.internal.BlueZBridgeHandler.prepareAdapter(BlueZBridgeHandler.java:134) ~[?:?]
at org.openhab.binding.bluetooth.bluez.internal.BlueZBridgeHandler.initializeAndRefreshDevices(BlueZBridgeHandler.java:162) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
at java.lang.Thread.run(Thread.java:829) [?:?]
2022-10-04 09:37:11.919 [WARN ] [th.bluez.internal.BlueZBridgeHandler] - Unknown exception

Seems highly unreliable this internal RPi bluetooth binding…