I'm having the same bug multiple people are reporting here. Purchasing a building or research doesn't just lock up that amount of resources, it actively prevents any further resources of those type from generating.
For example, if I have 300/400 wood stored and buy something using wood, then my wood remains at 300/400 until the building has finished construction.