throws an exception if the workflow fails to instantiate a stage