On click : Null Pointer

I am trying to automate in which I am using
webElement.click();
and receiving null pointer exception .
Logs
java.lang.NullPointerException
at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:279)
at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:83)

That would happen if webElement is null. You should add a check for null before doing the click(), log an error if webElement is null.