How to extract different table data from scanned pdf

As said, i used generate dt activity and passed firstTable variable in input and created a dt to store it and then used output dt activity to see as output and used msg box to print.

but got error as object reference not set to an instance.