Robotic Process Automation (RPA)

 View Only
Expand all | Collapse all

Apply Email Search Filer not working

  • 1.  Apply Email Search Filer not working

    Posted Thu June 10, 2021 08:39 AM
    when I apply email search filter and use for each loop to read email messages, it returns the following error. 

    System.NullReferenceException: Object reference not set to an instance of an object.
    at WDG.Automation.Base.MailKitClientBase`1.<EnsureClientConnected>d__23.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Base.ImapClient.<InternalFetchMessages>d__11.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Base.MailClientBase.<FetchMessages>d__81.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Base.MailClientBase.qGV3egaU5w8VEMGEf8g.<MoveNextAsync>d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Base.ForeachCommand.<Execute>d__23.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.ErrorHandler.siGoeLgDn4jTHyxEYZh(Object )
    at WDG.Automation.Language.ErrorHandler.wcxFopw8BV(Exception )
    at WDG.Automation.Language.ErrorHandler.HandleExecutionExceptionIfNeeded(Exception exception, IAutomationCommand command)
    at WDG.Automation.Language.CommandInterpreter.<Run>d__12.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext()

    ------------------------------
    Nisala Chamath Jayasinghe
    ------------------------------


  • 2.  RE: Apply Email Search Filer not working

    Bot Builder
    Posted Mon June 14, 2021 04:03 AM
    Hello Nisala, 

    Could you post a screenshot from the script or paste the script here for detailed examination.

    Regards,

    ------------------------------
    Stefan Stefanov
    ------------------------------