did barney go to jail
Barney is a fictional dinosaur, and he never went to jail in the show. The person who played Barney also did not go to jail. There were several Internet rumors that he was involved with drugs, and punched a crew member, but these were not true.
The Barney you are reffering to is the purple dinosaur. It has been reported that the actor did go to jail. He punched his producer and was in possesion of illegal drugs.