How to find out what “Unknown” program is in the dock

I see a program called “Unknown” as an icon in the dock and not sure what it is. I wasn’t paying attention when it appeared but I cannot switch to it or close it using the context menu. How do I find out what this program is?

screenshot of the Unknown program icon in the dock

Not sure if it matters but this happened under Wayland. I haven’t tried X.