Hi, I’m using activity ‘Extract data tables from HTML’ (from package ‘UiPathTeam.ExtractDataTablesFromHTML.Activities’ version 2.0.2) to get data tables from email body. When I check ‘add headers’, it runs successfully. But when I uncheck ‘add headers’, there’s error ‘Object reference not set to an instance of an object’. I used this activity in Windows-Legacy process before, but with package version 1.0.3, and it works well. Does anyone know how to fix it?
Welcome to the community
Looks like the datatable is not getting intialized when add headers is unchecked
Try to intialize the datatable variable and then pass it and check…
Cheers
Hi @yucao
The newer version of the UiPathTeam.ExtractDataTablesFromHTML.Activities package might have introduced changes that are not fully compatible or might have bugs that manifest under certain conditions, such as when the Add Headers option is unchecked.
Try to upgrade or downgrade to one version.
it’s an activity which has input ‘emailbody’ and option ‘AddHeaders’, i cannot pass the datatable to it
I want to use this package in Windows version process, so have to use the newest version of this package, but there might be bug in it. Do you know how to reach to the publisher of this package?
try assigning listdt = new datatable