Anchor base in error object reference not set to instance object

when I selecting pdf in text I getting error object reference not set to instance object
please help

I was doing in anchor base activite

@447_J_U_S_SANDEEP please show more

Hi @447_J_U_S_SANDEEP

What is the value variable in your workflow?

What is the variable type of get text activity?

Regards
Gokul

can you help me?

@447_J_U_S_SANDEEP yes, but information is not enough which you are giving.

Hello @447_J_U_S_SANDEEP

Usually this errors will occur if you are not initializing a variable or argument. In you workflow, are you calling any other workflow? or are you sure you are gettting error for this Get Text acitvity?

Better to run your process in debug mode and confirm this.

Thanks

I have to do extracting specific element using anchor base activity to extract text in pdf file,
in anchor base activity I use find element activity and get text activity for output I use message box I selected particular value using get text activity
When I was run my project getting error object reference not set to instance object like this

@447_J_U_S_SANDEEP you are not giving variable to get text

Hi @447_J_U_S_SANDEEP

Get Activity Variable Type is String not Int

Change the Variable type of the Get Text activity

Regards
Gokul

Hi @447_J_U_S_SANDEEP

Check the dummy XAML file

AnchorBase.xaml (6.1 KB)

Regards
Gokul

@447_J_U_S_SANDEEP show me get text activity

Run the process in Debug mode and share the error message with us @447_J_U_S_SANDEEP