Revolve Axis

Sometimes when sketch line is used as a revolve axis it revolves and other times it produces error message. In such cases, separate revolve axis is need to fix the error. What is reason for that?

SolidworksParts And Features