Generally the things that look the most like bone cancer on X-ray are fungal disease (which is uncommon but also has a fairly bad prognosis if it is in the bone) and congenital defects. Usually bone cancer (osteosarcoma) is not in the joint so not often confused with arthritis however there are other cancers that can be in the bone at the joint and then it is hard to tell.