According to UK aviation authority (CAA) both Virgin Atlantic pilots had been sleeping in cockpit on a long-haul Airbus A330 flight back to UK. The airplane had been on an auto-pilot during the incident.
It is quite unbelievable that UK aviation laws allow someone to have a nap while in a cockpit, but obviously not all the cockpit members should be napping at the same time.
The CAA later reverted their statement that both pilot would have been napping simultaneously to rather that they were under extreme fatigue. According to both CNN and Daily Mail both pilots would have only had five hours of sleep in the two nights before the flight.
The air travel is extremely safe, but there is a concern that the cockpit crews don’t always have long enough rest periods between flights to operate them safely.
It is quite obvious for anyone that five hours in two nights is not enough to operate an aircraft without fatigue or napping.