Example of json file that would raise an exception:
{
"Address": {
"Customertype": null,
"City": "ROUND ROCK",
"AddressType": "Billing",
"PostalCode": "78664",
"CompletePostalCode": "78664",
"Country": "US",
"CustomerAccountType": "",
"OrganizationName": null,
"StateCode": "T",
"LineTwo": "",
"CountryCode": "US",
"LineOne": "1 DELL WAY",
"ProvinceName": "T",
"State": "T"
}
}
Beggining of call stack:
Unhandled exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at System.Object.GetType()
at ConvertJsonToGherkinExampleTable.Core.TableConverter.Resolvers.HeaderResolver.Resolve(Dictionary`2 json) in /home/runner/work/ConvertJsonToGherkinExampleTable/ConvertJsonToGherkinExampleTable/src/ConvertJsonToGherkinExampleTable.Core/TableConverter/Resolvers/HeaderResolver.cs:line 12