Workflow Soluiton

 View Only
  • 1.  Workflow project error

    Posted Aug 20, 2010 05:36 PM
    I've built a custom workflow and I'm not sure what is happening here with this error.   It tells me something is wrong with the Active Directory component but it really doesn't tell me where to look.   Can anyone point me in the right direction on how to troubleshoot this?

    Application Name: GALUpdate Tool
    Process ID: 1532
    Date :Aug-20-2010 04:34:03 PM
    Log Level :Error
    Log Category :LogicBase.ExecutionEngine
    Machine Name: MTKTSTSD7I01
    Message: 
    System.NullReferenceException: Object reference not set to an instance of an object.
       at LogicBase.Components.ActiveDirectory.TaskListTaskSource.RemoveAssignment(String taskID, String trackingID, IData data) in c:\build\projects\WF7RC1B\components\LogicBase.Components.ActiveDirectory\TaskListTaskSource.cs:line 202
       at LogicBase.Core.AbstractEnsembleWorkflowComponent.Finish(String taskID, String workflowID, IData data, String path) in c:\build\projects\WF7RC1B\core\LogicBase.Core\Interfaces\WorkflowImplementations.cs:line 2700
       at LogicBase.Core.Models.Workflow.WorkflowExecutionEngine.ReturnFromWorkflow(Object oparms) in c:\build\projects\WF7RC1B\core\LogicBase.Core\Models\Workflow\WorkflowExecutionEngine.cs:line 549


  • 2.  RE: Workflow project error

    Posted Aug 20, 2010 06:24 PM

    Object reference not set to an instance of an Object is a montrously generic error.  Need to see the project and debug to troubleshoot further.  Might look to make sure that you have a valid AD server configured to connect to.  Try disabling the AD component and see if the app goes away.



  • 3.  RE: Workflow project error
    Best Answer

    Posted Aug 22, 2010 07:28 PM
    99% of the time the "Object Reference" error means you are trying to use a variable with a value set to NULL, and a NULL value is not allowed.

    Judging by the error string, its a variable being used within a Dialog Workflow Component, Assignments Tab, Task Assignment section.

    Good Luck.

    -Aaron


  • 4.  RE: Workflow project error

    Posted Aug 23, 2010 09:40 AM
    Thank you both so much!   Aaron's comment pushed me in the right direction.   It was more so the Task Source Type field somehow it was changed from DefaultTaskSource to TaskListTaskSource.    I'm going to have to read up more on that setting just to understand it.

    Thanks again!


  • 5.  RE: Workflow project error

    Posted Aug 23, 2010 02:27 PM
    I believe most would agree that the Process Manager task type is the most beneficial for use with Workflow.  You can find some great info to get started here:

    http://www.workflowswat.com/workflow-portal

    Best of luck.