When trading with a stone mason villager, and selecting the option to trade 20 stone blocks for an emerald, it shows as if you don't have stone in your inventory, even if you do. When holding up the stone block, the villager will present an emerald like normal, but when attempting to trade, the issue occurs.
Thank you for your report!
However, this issue has been closed as a Duplicate of MCPE-48421.
Please add a vote and any new information to the main ticket, which will be updated accordingly.
If you have not, you might like to make use of the search feature before making a new ticket, as it's likely that the issue has been reported already.
Quick Links:📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki