The purpose of this study is to assess the safety of the drug (JNJ-24681585 a drug in development for cancer) in patients with advanced or refractory solid malignancies or lymphoma on the maximum dose that can be tolerated by these patients. The absorption, breakdown and elimination of the drug will be studied and in some patients, the effect of the food on these processes will also be examined.