Ha check wether that element is actually present or not i.e id",then after u can give some waiting time and u can use get attribute instead of get text value function ...@Boney ..
exmple:
if(Element!=null){
if (Element.isDisplayed)
{
System.out.println("Element is displayed");
}else{
System.out.println("Element is not displayed");
}
}else{
System.out.println("Element is not visible");
}