I have a few other questions for you:
How much time do you spend sitting every day?
Do you sleep on your side?
How physically fit and active are you?
How old is your mattress, and is it a spring-coiled mattress?
Any of these issues could contribute to joint pain.