The input destination does not contain valid values. The input destination data must consist of cells that have valid values, and the remaining cells must be assigned NoData. Note that 0 (zero) is a valid value.
Ensure that the input destination dataset has at least some cells with valid values. Check the documentation for Cost Path for further information.