The problem might be as a result of inconsistent/dissimilar projections. Therefore, in solving this problem, you need to ensure that both the vector file (your shapefile) and the image are in the same projection coordinate system, also ensure that you indicate the correct Datum and the UTM Zone (in the case where you are using the UTM Projection).
In addition, you can check the Geoprocessing icon and then go to Results to know the exact error definition.