Description
The input destination data is all on the barrier. 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.
Solution
Ensure that the input destination dataset has at least some cells with valid values. Check the documentation for Cost Path for further information.