Hypocrisy
Hypocrisy is not following a principle while telling someone else that they did not follow a principle. The person who does hypocrisy may not necessarily know that he is not following the principle.