Board at null

My Board says "Board at null not available" when I try to open the console. Can someone please help me

Do you have a port selected from Tools -> port menu?