If you use the Nexus alot while charging it will get extremely hot.

If its getting EXTREMELY hot just charging without use, it might be a hardware error.