We’re currently running into an issue with a rogue BPM that’s causing two major issues. It’s throwing a Null Reference Exception both when posting invoices and for creating some jobs in MRP. The problem is that I cannot find what directive is causing this error. Is there a way to trace what BPMs are running on the server? Or can someone point me in the right direction on tracking this down?
Did you manage to read the inner exception of the error through the system event viewer, possibly you can able to see which business method is causing the issue
I was going to suggest you just run a trace. When looking at the trace window you can see Server Options and BPM tracing. I turned it on, but I didn’t see any mention of the custom method directive I created in the trace log. I wonder what that flag is for if not for identifying BPMs that fire. Either way, I say turn on everything in tracing and see if you can find your BPM that way. Good luck!
@mlrainsford You can turn on the serverlog in EAC. I also do a WriteEntry start and end in most of my bpms, so I can easily see in the event viewer what bpm in running.
Ice.Diagnostics.Log.WriteEntry("Start try adding a mtl Q record ");
Ice.Diagnostics.Log.WriteEntry("Exit try adding a mtl Q record ");