Get Transaction Item: Object reference not set to an instance of an object

Hi guys,

I am trying to get a transaction item from a queue using the ERFramework and when I am executing the GetTransaction, its giving me the following error:


I am having items in the queue as follows.Any particular reason for this?


Hi @Asiri

Make sure whether the following is available.
In the REFramework, output of the get transaction item is set to out_Transaciontitem argument.
Make sure the config file has the correct queue name “uidemo” under the values column of settings page.
Also make sure you are providing the proper name reference for the queue which you have mentioned in the config

let know if this helps

Hi Lahiru,

I checked the above you mentioned and all in place.I’ll do more debugging and post if I can find any hint.


1 Like

Sure… let know how it goes…

Hi guys,

I have the same issue.
Do you have any news ?

Thx !

Hi @Lucas @Asiri,

The error is because you are executing the queue which is empty.
It is task of Dispatcher to fill in the queue, and Dispatcher is a separate sequence not a part of a main file.

Added the entire sequence of Dispatcher in InitAllApplications - right at the start and then run the main file. You won’t get the error. Let me know how it goes.

1 Like

I have the same name, but the problem still prevails
Thanks in advance