I am getting Null pointer Exception while fetching data from the excel sheet [duplicate]

Code: public class ContactUsFormTest { WebDriver driver; @BeforeMethod public void run() { System.setProperty(“webdriver.chrome.driver”, “Driver Path”); driver=new ChromeDriver(); …