Object reference not set to an instance of an object in Advance Assignment 1

Hi Team,

I am trying to resolve the Advance Training Assesment-1 when am trying to Extract the Datatable in https://www.acme-test.com/work-items am facing error “Object reference not set to an instance of an object”

Could someone please help me up in resolving the issue.
{{
“message”: “ExtractDataTable : Object reference not set to an instance of an object.”,
“level”: “Error”,
“logType”: “Default”,
“timeStamp”: “11:00:46”,
“processVersion”: “1.0.6706.35891”,
“fileName”: “ExtractDataTable”,
“jobId”: “00bf87e5-7b68-437b-889d-1f4d1b1e0173”,
“robotName”: “PRASA”
}}

Regards,
Prasanth

1 Like

@Prasanth_kolla Give default value to ExtractDataTable in variable section. I think it will solve your problem.

The DataScrapping did not work accurately at that time see that data is getting scrapped properly. This error means that table has not been initialized before you started using that in some statements or the table is empty and you have used it

can you please help me what can i provide in the default value ? am not sure of the Default value for the Datatable

@Prasanth_kolla “New System.Data.DataTable” give this value to default value in variable declaration. IT may solve your problem.

{
“message”: “Object reference not set to an instance of an object.”,
“level”: “Information”,
“logType”: “User”,
“timeStamp”: “11:59:00”,
“processVersion”: “1.0.0”,
“jobId”: “601c6c69-a9aa-424c-9571-ead4d9f305c3”,
“robotName”: “DMIKKILINENI”,
“machineId”: 0,
“fileName”: “AutoEmail”
}

i got this error can someone assist me

@deepak_mikkilineni youmight have Missed variable assignment in some activity, you might be doing some operations on variable which is null because of previous steps.

I am also having the same error while assingning the filtered dataitems to WIList

Iam also having the same prob while assigning filtered data items to WIList. It says object reference not set to an instance of an object.

Hi @Keerthana_Jegannatha can you take a screen shoot in debug mode ?