James O'Connor has received a blow with the news he is likely to need thigh surgery and faces months on the sidelines.