If you've built less than 5 mineral extractors, it's a feature, to prevent getting stuck if you only build energy generators and not being able to generate any money.
If you've built 5 and still no energy generator, it's a bug.
Though on second thought that number should probably change to 1.