Hi,
If the stock of the main product is set to zero, and the variants have a stock set to unlimited, the variants will automatically use the stock of the main product as their own stock and thus, the variants will also be out of stock.
And if the "display out of stock products" setting is deactivated in the HikaShop configuration, the variants without stock will be removed automatically from the product page, which will lead to the "no values found" error because the system sees that you have characteristics for the product, but no variants available for the product. And thus a selector cannot be generated.
I suspect that this is your situation.