Error when opening workflow projects: System.NullReferenceException

Posted by Pavanyadav under WWF on 7/23/2014 | Points: 10 | Views : 811 | Status : [Member] | Replies : 4
hi Folks,

i am working for .net Support. we have one .net project using Microsoft Windows Workflow Fundation(WWF).

I am new to Windows Workflow Fundation(WWF).
In Production we are getting "Object reference not set to an instance an object ". we could not able to replicate in DEV environment.

we are suspecting the cause is because of Workflow. No where we not able find the rootcause.
please help me to identify either some service need to enable related to workflow or what needs to do.




Responses

Posted by: Bandi on: 7/24/2014 [Member] [MVP] Platinum | Points: 25
Posted by: Pavanyadav on: 7/24/2014 [Member] Starter | Points: 25

Up
0
Down
thank you for your response.. my application using only .net and deployed in windows server 2008 R2 Enterprise, there will be no interaction or usage sharpoint. From blog even after for benefit of doubt i went to Mycomputer -> Properties -> Advanced-> Environmental Variables and click on "OK" without changing anything. please provide some more help.

in Event Log i am seeing below errors

Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7a5f8
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18229, time stamp: 0x51fb1116
Exception code: 0xe0434352
Fault offset: 0x0000c41f
Faulting process id: 0x1264
Faulting application start time: 0x01cec5e67bb1cf3e
Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: cdcca500-32cc-11e3-b0c2-005056b12125



Application: w3wp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: BusinessObjects.ThirdParty.OOC.OB.AssertionFailed
Stack:
at BusinessObjects.ThirdParty.OOC.OB.Assert.assert(Boolean)
at BusinessObjects.ThirdParty.OOC.OB.GIOPClientWorkerThreaded+ReceiverThread.Run()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.runTryCode(System.Object)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()


your help is appreciated. Thanks in Advance.

Pavanyadav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Pavanyadav on: 7/24/2014 [Member] Starter | Points: 25

Up
0
Down
thank you for your response.. my application using only .net and deployed in windows server 2008 R2 Enterprise, there will be no interaction or usage sharpoint. From blog even after for benefit of doubt i went to Mycomputer -> Properties -> Advanced-> Environmental Variables and click on "OK" without changing anything. please provide some more help.

in Event Log i am seeing below errors

Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7a5f8
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18229, time stamp: 0x51fb1116
Exception code: 0xe0434352
Fault offset: 0x0000c41f
Faulting process id: 0x1264
Faulting application start time: 0x01cec5e67bb1cf3e
Faulting application path: C:\Windows\SysWOW64\inetsrv\w3wp.exe
Faulting module path: C:\Windows\syswow64\KERNELBASE.dll
Report Id: cdcca500-32cc-11e3-b0c2-005056b12125



Application: w3wp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: BusinessObjects.ThirdParty.OOC.OB.AssertionFailed
Stack:
at BusinessObjects.ThirdParty.OOC.OB.Assert.assert(Boolean)
at BusinessObjects.ThirdParty.OOC.OB.GIOPClientWorkerThreaded+ReceiverThread.Run()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.runTryCode(System.Object)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode, CleanupCode, System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()


your help is appreciated. Thanks in Advance.

Pavanyadav, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Pavanyadav on: 7/24/2014 [Member] Starter | Points: 25

Up
0
Down
Hi folks,

i confirmed that it causing becuase of "before intializing the wfRuntime from HttpContext.Current.Application[WorkflowRuntimeCacheKey]
wfRuntime is null" please share your thought to fix this issue.

Pavanyadav, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response