McCain has been guilty of some serious judgement lapses in the past.
The most obvious, as a US Senator from Arizona, was his long time close association and friendship with Charles Keating, the head of the former Lincoln Savings And Loan, which was, until the present era and Angelo Mozillo, the largest financial collapse of a bank at taxpayer expense.
McCain has been the beneficial recipient of a lot of political clout and cover during his time in this country's service and I'm just guessing there are several other events in his career where he was just allowed to skate, instead of being held to account for the incident. His grandfather was a US Navy admiral in charge of part of William F Halsey's Third Fleet under Halsey. McCain's father was a sub commandeer during WWII who later became CINCPAC during the Vietnam War.
He does relate one incident in his autobiography "Faith Of Our Fathers" while a midshipman at the Naval Acadamy he left the Academy grounds in his dress whites to spend a weekend afternoon with his girlfriend. He was stopped and offered so many drinks by generous civilians whose path he crossed on the way to his girlfriends house, that by the time he arrived there, he passed out and fell through the screen door while knocking.