Open the element in Mask backend module, and you should notice that no fields are listed - the error appears in an ajax request and should be visible in the console.
Naturally this can be avoided by just using live mode instead, and the fields will be listed properly.
As it's a warning it only really appears when debug mode is on.
This appears to happen when you try to open a Mask Element in the Mask backend module after migrating it to the current version.
A simple Mask element from TYPO3 9 that uses the core "image" field triggers that warning.
Here is a sample mask.json I exported from a TYPO3 9 version:
The exact steps are:
Naturally this can be avoided by just using live mode instead, and the fields will be listed properly.
Greetings Nitori