Separate names with a comma.
Found the solution....... It was happening because some jpeg files got corrupted, and after scrutinizing a bit, i saw only those corrupted files...