Hue Binding flooding openhab.log with "ID segment contains invalid characters"

Hi there,
troubleshooting some other issues i found the hue binding flooding my events.log.
Lines like the one below appear about every 1-2 minutes … I suppose this is not normal?

Could this be related to:

2021-03-01 06:56:41.281 [ERROR] [y.upnp.internal.UpnpDiscoveryService] - Participant ‘org.openhab.binding.hue.internal.discovery.HueBridgeDiscoveryParticipant’ threw an exception
java.lang.IllegalArgumentException: ID segment ‘24:A8:17:0C:’ contains invalid characters. Each segment of the ID must match the pattern [\w-]*.
at org.openhab.core.common.AbstractUID.validateSegment( ~[bundleFile:?]
at org.openhab.core.common.AbstractUID.( ~[bundleFile:?]
at org.openhab.core.common.AbstractUID.( ~[bundleFile:?]
at org.openhab.core.thing.UID.( ~[bundleFile:?]
at org.openhab.core.thing.ThingUID.( ~[bundleFile:?]
at org.openhab.binding.hue.internal.discovery.HueBridgeDiscoveryParticipant.getThingUID( ~[?:?]
at org.openhab.core.config.discovery.upnp.internal.UpnpDiscoveryService.remoteDeviceRemoved( [bundleFile:?]
at org.jupnp.registry.RemoteItems$ [bundleFile:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker( [?:?]
at java.util.concurrent.ThreadPoolExecutor$ [?:?]
at [?:?]

Are you using the hue binding with a hue bridge ?

Was there an update of your hue bridge that could explain why suddenly it provides different data ?

My change you linked is certainly not the cause of your problem.
The problem is a lack of data check provided by the hue bridge, certainly because it was not planed that the hue bridge changed that. But one time again, are you really using a hue bridge ?

Looks like you are also using (or have installed) Hue Emulation which is causing the problem with the Hue binding.

This issue is fixed in the 3.1 snapshot/milestone, but in the advanced settings for Hue Emulation you will need to delete “Unique Bridge ID” and restart OH for the problem to go away. After doing this you will have to repair the Hue Emulation.

i did have Hue Emulation enabled and was intending to use it in future. (because my alarm clock can link with hue devices but not directly with openhab or node-red :slight_smile: )
Thanks for your help and the fix for the future version.
I’ll have a look at the log files later but i suspect uninstalling the hue emulation will do the trick for now.