Skip to content
Advertisement

Tag: data-driven

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

This question already has answers here: What is a NullPointerException, and how do I fix it? (12 answers) Closed 2 years ago. Code: } I am fetching the data from the excel sheet while performing test I am getting below error. Error: [Utils] [ERROR] [Error] java.lang.NullPointerException at dataDrivenFramework.dataDrivenFramework.ExcelDataConfig.getData(ExcelDataConfig.java:31) at dataDrivenFramework.dataDrivenFramework.ContactUsFormTest.formData(ContactUsFormTest.java:63) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) Here

Advertisement