Error Message in Write Line Activity Object reference not set to an instance of an object

hi there , I try to get queue items I got this error message. Does anyone know how to solve this?

Can you show the expression written in WriteLine?

in dispatcher part I added the queue items in orchestrator, now I want to get it back.

RetrievedItem.SpecificContent(“in_month”).ToString
RetrievedItem is the output of get queue items activity

Does your queue item information contain in_month? You get index outside bounds issue when the property is not present.

yes in orchestrator

Are you sure that you have pending items in queue?