Error "Object reference not set to an instance of an object" appears apparently at random
Who is this article for?Users of the desktop application
Application server access is required to resolve the issue.
Users of the desktop application may find that it sometimes crashes, apparently at random, with the error message "Object reference not set to an instance of an object". This article describes additional related errors and a solution.
Examples of error messages
The message "Object reference not set to an instance of an object" is a generic error, and may be followed by various other messages within the error text.
Examples are:
source: Pentana.Tng.UI.Smart.Common
target: Void _Lambda$__0()
source: mscorlib
target: System.Object InvokeMethod(System.Object, System.Object[], System.Signature,
Boolean)
message: An error occurred during the Open File workflow
source: Pentana.Tng.UI.Smart.Common
target: Void Workflow_ProgressChanged(System.Object,
Pentana.Tng.Core.WFProgressChangedEventArgs)
The application service log PentanaTngService.log may also contain the text:
1. Exception of type: NullReferenceException - Message: Object reference not set to an
instance of an object.
at Pentana.Tng.Population.WordPopulation.ManipulateNodeFunction(XmlNode node)
The solution
We have found that changing the default settings for the Ideagen Internal Audit (Aura) application pool on the IIS server can cause this problem. In order to resolve, please ensure that the following properties values are set:
| Setting | Value |
|---|---|
| Enable 32-Bit Applications | False |
| Idle Timeout | 20 |
| Idle Timeout action | Terminate |
| Load User Profile | True |