www.skelta.com
Home      Members   Calendar   Who's On

Welcome Guest ( Login | Register )
      

Home » BPM.NET 2007/Sharepoint Accelerator 2007 » BPM.NET 2007/Sharepoint Accelerator 2007 » Application Development » The parameter 'addresses' cannot be an empty...


The parameter 'addresses' cannot be an empty...Expand / Collapse
Author
Message
Posted Wednesday, January 30, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, March 05, 2008
Posts: 80, Visits: 277
Hello there.

Can anyone tell me what does this error mean?

I got this from an "innocent" check-list activity that has no apparent reason not to work (is just like a lot of check-lists I have). When this happens the workflow finishes with error and I am unable to resume it.

Here is the error:

Message:
Error while running the Action or Handling the event- ControloErro15 for ExecutionDetailsID=5556

Exception:
System.ArgumentException: The parameter 'addresses' cannot be an empty string.
Parameter name: addresses
at Workflow.NET.Engine.RunTime.PerformActionThread(Object Params)


Thanks for your help.

Best regards,

Rui
Post #458
Posted Wednesday, January 30, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, June 04, 2008
Posts: 131, Visits: 423
Hi,
From the execution details id find the action and check if the To filter has addresses used as filter condition. The value resulting null could give this issue.

e.g: ["addresses"] = [Variable.SubmittedBy.addresses] in this filter if the variable is null at runtime it could give the similar error.

regards,

Moderator
Post #461
Posted Wednesday, January 30, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, March 05, 2008
Posts: 80, Visits: 277
Hi there.

By the "To filter" do you mean actor? In this particular action the actor is assigned directly by its guid (something like ["user_guid"]=["ddee....."]).

Any idea of what else it might be?

Thanks once again for your help.

Best regards,

Rui
Post #465
Posted Wednesday, January 30, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, June 04, 2008
Posts: 131, Visits: 423
Hi,
Can you post the entire exception. The possible causes.

The From Email address or To Email Address not set correctly in the action.

regards,

Moderator

Post #467
Posted Wednesday, January 30, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Today @ 12:17 AM
Posts: 136, Visits: 600

Hi Rui,

 

Can you send the screenshot of the properties of Check-list?

Regards,

Bineesh E Raghavan

Post #468
Posted Wednesday, January 30, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, March 05, 2008
Posts: 80, Visits: 277
Hello once again.

This activity and all the similar ones work perfect on machine A (no problem with activity configuration), however machine B seems to have a problem.

Even though the workflow is the same on both machines it only works on machine B when I disable the e-mail notifications.

I guess this must be some e-mail configuration problem, however I have checked the settings of machine B against the ones in machine A, and everything is the same (except for IP address).

Please find attached an image with the main settings of the activity.

Following is the full error I get when the workflow reaches the mentioned activity:

i - @#@Date - 15:35:09.458@#@ApplicationName - SNITURHFormsRepository@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Workflow.NET.NET2\3.5.0.0__c932f724c984e915\Workflow.NET.NET2.dll@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Getting entity details for entityId:sqlprovider::dd7991e5-5e38-4c5d-b44e-fec56cf3f0bd@#@
i - @#@Date - 15:35:09.458@#@ApplicationName - SNITURHFormsRepository@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Workflow.NET.NET2\3.5.0.0__c932f724c984e915\Workflow.NET.NET2.dll@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Querying provider (sqlprovider) for Getting entity details for Id:dd7991e5-5e38-4c5d-b44e-fec56cf3f0bd@#@
i - @#@Date - 15:35:09.458@#@ApplicationName - SNITURHFormsRepository@#@WorkflowName - UC1.1@#@ExecutionId - 401@#@ExecutionDetailsId - 5710@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Skelta.HWS\3.5.0.0__926ee05bf5158731\Skelta.HWS.dll@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Check for resource availability. Resource -Rui Mendes@#@
i - @#@Date - 15:35:09.458@#@ApplicationName - SNITURHFormsRepository@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Workflow.NET.NET2\3.5.0.0__c932f724c984e915\Workflow.NET.NET2.dll@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Getting entity details for entityId:sqlprovider::dd7991e5-5e38-4c5d-b44e-fec56cf3f0bd@#@
i - @#@Date - 15:35:09.458@#@ApplicationName - SNITURHFormsRepository@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Workflow.NET.NET2\3.5.0.0__c932f724c984e915\Workflow.NET.NET2.dll@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Querying provider (sqlprovider) for Getting entity details for Id:dd7991e5-5e38-4c5d-b44e-fec56cf3f0bd@#@
i - @#@Date - 15:35:09.458@#@ApplicationName - SNITURHFormsRepository@#@WorkflowName - UC1.1@#@ExecutionId - 401@#@ExecutionDetailsId - 5710@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Skelta.HWS\3.5.0.0__926ee05bf5158731\Skelta.HWS.dll@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Calendar not available, resource is considered as available. Resource -Rui Mendes@#@
i - @#@Date - 15:35:09.458@#@ApplicationName - SNITURHFormsRepository@#@WorkflowName - UC1.1@#@ExecutionId - 401@#@ExecutionDetailsId - 5710@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Skelta.HWS\3.5.0.0__926ee05bf5158731\Skelta.HWS.dll@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Total No.Of resources available for the action - 1, ExecutionDetailsId - 5710.@#@
i - @#@Date - 15:35:09.688@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Skelta.HWS.WorkListChannel.Mail\3.5.0.0__5ba0a638cebd92aa\Skelta.HWS.WorkListChannel.Mail.dll@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Checklist2(UC1.1): Waiting to acquire Lock on CheckListEmail.html@#@
i - @#@Date - 15:35:09.688@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Skelta.HWS.WorkListChannel.Mail\3.5.0.0__5ba0a638cebd92aa\Skelta.HWS.WorkListChannel.Mail.dll@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Lock acquired on CheckListEmail.html by: Checklist2(UC1.1)@#@
i - @#@Date - 15:35:09.888@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Skelta.HWS.WorkListChannel.Mail\3.5.0.0__5ba0a638cebd92aa\Skelta.HWS.WorkListChannel.Mail.dll@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Released Lock on CheckListEmail.html by: Checklist2(UC1.1)@#@
i - @#@Date - 15:35:09.948@#@ApplicationName - SNITURHFormsRepository@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Workflow.NET.NET2\3.5.0.0__c932f724c984e915\Workflow.NET.NET2.dll@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Getting entity details for entityId:sqlprovider::dd7991e5-5e38-4c5d-b44e-fec56cf3f0bd@#@
i - @#@Date - 15:35:09.948@#@ApplicationName - SNITURHFormsRepository@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Workflow.NET.NET2\3.5.0.0__c932f724c984e915\Workflow.NET.NET2.dll@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Querying provider (sqlprovider) for Getting entity details for Id:dd7991e5-5e38-4c5d-b44e-fec56cf3f0bd@#@
i - @#@Date - 15:35:09.948@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Skelta.HWS.WorkListChannel.Mail\3.5.0.0__5ba0a638cebd92aa\Skelta.HWS.WorkListChannel.Mail.dll@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Exception while MailWorkItemChannel creation :The parameter 'addresses' cannot be an empty string.
Parameter name: addresses@#@
? - @#@Date - 15:35:09.948@#@ApplicationName - SNITURHFormsRepository@#@WorkflowName - UC1.1@#@ExecutionId - 401@#@ExecutionDetailsId - 5710@#@WorkItemId - 81ee53ea-1403-416d-8f29-bfd293aa08eb@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Skelta.HWS\3.5.0.0__926ee05bf5158731\Skelta.HWS.dll@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - MailWorkList failed with the following error :The parameter 'addresses' cannot be an empty string.
Parameter name: addresses@#@
i - @#@Date - 15:35:09.948@#@ApplicationName - SNITURHFormsRepository@#@WorkflowName - UC1.1@#@ExecutionId - 401@#@ExecutionDetailsId - 5710@#@WorkItemId - 81ee53ea-1403-416d-8f29-bfd293aa08eb@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Skelta.HWS\3.5.0.0__926ee05bf5158731\Skelta.HWS.dll@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Activity of type (Checklist) added for resource - Rui Mendes@#@
i - @#@Date - 15:35:09.948@#@ApplicationName - SNITURHFormsRepository@#@WorkflowName - UC1.1@#@ExecutionId - 401@#@ExecutionDetailsId - 5710@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Skelta.HWS\3.5.0.0__926ee05bf5158731\Skelta.HWS.dll@#@FileName - Context.cs@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Failed to run activity (Checklist2), The parameter 'addresses' cannot be an empty string.
Parameter name: addresses@#@
! - @#@Source - at Skelta.HWS.HWSActivityProviderBase.Run(Int32 ExecutionID, Int32 ExecutionDetailsID, Context CurrentContext, Action CurrentAction, String InlinkOutput, Boolean Retrying, String& Output, String& Url, Object[]& ResourceIds)
at Workflow.NET.Engine.RunTime.PerformActionThread(Object Params)@#@Date - 15:35:09.948@#@ApplicationName - SNITURHFormsRepository@#@WorkflowName - UC1.1@#@ExecutionId - 401@#@ExecutionDetailsId - 5710@#@Module - C:\WINDOWS\assembly\GAC_MSIL\Workflow.NET.NET2\3.5.0.0__c932f724c984e915\Workflow.NET.NET2.dll@#@FileName - RunTime.cs@#@_MachineName - sniturhdevvg, Process - WFEngine.NET2@#@Message - Error while running the Action or Handling the event- Checklist2 for ExecutionDetailsID=5710, - The parameter 'addresses' cannot be an empty string.
Parameter name: addresses@#@

Thanks for your help.

Rui

  Post Attachments 
adresses-error.jpg (75 views, 54.08 KB)
Post #471
Posted Wednesday, January 30, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, June 04, 2008
Posts: 131, Visits: 423
Hi,
Can you cross check if the actor
dd7991e5-5e38-4c5d-b44e-fec56cf3f0bd has valid email address. Also check in the SKVirtualActor table for the email entry for same actor.

The mail channel uses from email address set while creating a repository as the From Address.

regards,


Moderator
Post #472
Posted Wednesday, January 30, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, March 05, 2008
Posts: 80, Visits: 277
Hi there,

On machine B the e-mail value in the table SKVirtualActor was set to null.

On machine A the e-mail value in the table SKVirtualActor was set do a different value than the one existing on our user's view, but it was working well.

I changed the value from null to a valid e-mail address, however it didn't make any difference.

When are these values updated? Will there be any inconsistence in the future due to this different values?

Thanks for your help.

Best regards,

Rui
Post #473
Posted Wednesday, January 30, 2008
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Wednesday, June 04, 2008
Posts: 131, Visits: 423
Hi,
If email is null in machine B it means the resource property email value is null in the resource handler. Mail id is taken from resource handler and not SKVirtual actor table. This virtual actor table value is populated when virtual actor is created. We will be providing a UI in the later release for synchrozing the persisted user data. Please try after ensuring the below steps

1) The email value should not be null for user in resource handler. Mail channel will not work with out a valid email id for assigned actor.

2) The mail channel uses from email address set while creating a repository.Make sure the from email address is not null for the repository from edit view(attached image).


regards,

 


Moderator

  Post Attachments 
1.PNG (83 views, 3.34 KB)

Post #474