meso compounds, or when enantiomers are in a racemic mixture. also i am not certain diastereomers are necessarily optically active since I believe they include geometric isomers with alkenes. Chiral atoms are needed for optical activity. I am doing this from memory and not checking my sources so feel free to correct me if I am wrong.
Good luck!
Verónia