Exception when inexistent path passed