The attached pipeline cannot be deployed, and fails with a bad java.util.NoSuchElementException.
The actual failure happens in the SmartWorkflow, when we try to add programs to the workflow. There is a planner bug such that there is no element in an iterator when we expect there to be. In situations like this, we should at least fail with a user readable error that there was a planner error and to contact the CDAP team. Of course, we should fix the actual planner bug as well.