Hello,
I have been trying to write a small sample custom workflow so I can get my head around modification forms and how I can use them for a project I have.
I have created a workflow and InfoPath forms (Initiation, 2 task forms, 1 modification) form. The wf compiles fine but when I go to start the workflow on a document I get an error message "unknown error" and the workflow doesn't even start - I know because I put a breakpoint at the start of the onWorkflowActivated method and it's not hit.
This leads me to believe that something in my initiation form caused this (but have no idea what).
Looking at the sharepoint logs the only consistent message that appears when I get this error is:
07/10/2008 15:10:14.99 w3wp.exe (0x12AC) 0x0108 Windows SharePoint Services General 8dzz High Exception Type: System.NullReferenceException Exception Message: Object reference not set to an instance of an object.
So it looks like something in my InfoPath form is causing the error but I have no idea what!
So is there a way of getting more/better info from the logs?
Or is there a way of determing what in my form is causing this problem (assuming it's even my form causing the problem).
I have rebuilt my form so many times and I cannot see what cause this null exception