HTC One X won't charge
I haven't had this problem with my HTC One X, I have used several adapters and all of them were charging as normal.

I don't know if this will solve the problem, but you could try to do a reset of your phone, to make sure it is not a software related problem. But I guess the problem will still remain after the reset, so in that case, it is pretty sure that it is a hardware related problem of your phone. So you might want to contact HTC support for this problem. I think the only solution will be to swap your defective device with a working one.