Many people accused Hitler in hypocrisy. Then he killed itself.
Sorry, it's a horrible and non-factual joke. But your theory is still wrong. There is consensus in society that racism is bad and racist with friends of other race is a classical example of hypocrisy. And if by lack of consensus you mean existence of other view then murdering example is wrong because it suppose lack of consensus and your theory is tautology.
>But is racist with with friends of other races really classical example of hypocrisy? I hadn't encountered it
He probably means the classic "I'm not racist, I have black friends and all, but blacks in general do [this and that]".
Which is often considered a classic example of hypocrisy but I don't think it is. In a lot of cases it's not even racism.
E.g a guy could have Mexican friends (in the US or Mexico) but be against mexican illegal immigrants.
This is often taken to mean he is racist, but in actuality he is against illegal immigration, not against a race in general (he might consider that low end jobs are numbered, or that wages in those jobs are getting lower due to increased competition from illegal immigrants, or that lots of hungry, unemployed opportunity seekers from Mexico could resort to crime to feed themselves etc).