| | | Junior Member
       
Group: Skelta Workflow/BPM Net Last Login: Friday, November 17, 2006 Posts: 5, Visits: 50 |
| Hi, I tried to develop custom Resource Handler using IResource interface. First of all I implement GetResource() method. I was testing this method without Skelta and It was fine. But I got a NullReferenceException when I integrated the resource handler within Skelta and I tested the handler with ActivityControl. After that I found (after debugging the code) that the method returns right resource. I don't know, what to do now. SkeltaLogConsole is empty.
I have installed .NET 1.1 and .NET 2.0, Skelta Workflow 2004 R2, which is running on .NET 2.0. The web application is running on .NET 2.0 too.
Do you have some example how to implement IResource interface?
Here is the stack: [NullReferenceException: Object reference not set to an instance of an object.] Workflow.NET.Web.ActivityControl.ActivityControl.5fb0176f40b39eeb(Parser ab70ae30c1f965a1, ActionsData 16dec6c4e569f782, String b41a802ca5fde63b) +589 Workflow.NET.Web.ActivityControl.ActivityControl.90d7523e2bebd963() +603 Workflow.NET.Web.ActivityControl.ActivityControl.CreateChildControls() +7754 System.Web.UI.Control.EnsureChildControls() +87 System.Web.UI.Control.PreRenderRecursiveInternal() +41 ... |
| | | | Supreme Being
       
Group: Forum Members Last Login: Friday, February 22, 2008 Posts: 25, Visits: 61 |
| | NullReferenceException could occur for various reasons like not implementing purpose columns etc., We have attached a sample C# source illustrate how to implement IResource interface. Pl download it and try it out. Thanks,
Moderator
|
| |
|
|