Dear Preethy,

Hope you are doing good.

It seems that it is not able to find the element using the XPath. I would request you to use partialLinkText method instead of XPath as:

WebElement hoverElement = driver.findElement(By.partialLinkText("TEXT"));

Please try this and let us know if the issue persist.

I will wait for your response.