Your loosing me you show an action that start off with an inverse and then a refine edge that later requires a background layer and a background copy with a layer mask.
You also show an Image processor dialog set to process open documents and there are three open documents. The current active document seem to be Untitled-3.tif with a Layer 0 and and active selection but the required Background Layer and Background Copy layer with a layer mask do not exist so the action is bound to fail.
You then show the error message you getting but its not on any of the three document the image processor was run on it on a fourth document with a Layer 0 there is no active selection so I would expect inverse not to work but produce an error message like command inverse is not available. CC might have changes some messages. No pixels selected is the inverse of all layer pixels.
Your testing is invalid.