Skip to main content
Kofax

Object reference not set to an instance of an object

307465

Question / Problem: 

No new data showing in KAFC views and Event Listener log getting the error "Object reference not set to an instance of an object?

Answer / Solution: 

No new data is showing in the views and the Event Listener logs is showing the following errors:

 

2019-03-21 09:27:28,944 [9] ERROR [testing.as.local] OnTimer.Error
System.NullReferenceException: Object reference not set to an instance of an object.
   at PADService.InsightDataDBStation.Equal(Info x, Int32 r)
   at PADService.InsightDataDBStation.Save(Session s)
   at PADService.InsightDataDB.Buffer(Session2 s, Boolean doCleanup)
   at PADService.Processor.AddToBatchQueueAndCheckForFinishedAndWrite(Boolean fetchKC)
   at PADService.PADService.OnTimer(Object state)

 

Also the Event Listener logs is filled with many "Duplicated", "Add", "Read" and "Save" but not "Write":

 

2019-03-21 09:27:28,303 [9] INFO  [testing.as.local] Add("{fe86adc8-dcf1-46f2-9819-cd7f53acecdd}", 3/5/2019 7:56:30 AM, 4)
2019-03-21 09:27:28,303 [9] INFO  [testing.as.local] Duplicated("4:201903050754500000000:201903050756300000000")
2019-03-21 09:27:28,303 [9] INFO  [testing.as.local] Add("{e102bbd8-f8a4-4dbf-9878-6cc7f1a5b46f}", 3/5/2019 7:56:30 AM, 5)
2019-03-21 09:27:28,303 [9] INFO  [testing.as.local] Duplicated("5:201903050650390000000:201903050756300000000")

2019-03-21 09:27:32,655 [56] INFO  [testing.as.local] Read("Session20", "{979dd5c6-1d68-4150-ae53-f9f1525382e5}cfe4d35a-6910-44ca-92d4-2db5387c085f", 0)
2019-03-21 09:27:32,655 [56] INFO  [testing.as.local] Read("Session20", "{4b8c551e-df8f-4e22-9e78-726299d64911}01dee18d-673b-4d6a-9635-4bc2b09909e3", 10)
2019-03-21 09:27:32,655 [56] INFO  [testing.colo.as.local] Read("Session20", "{257f454c-2446-4312-bca7-fea9ca1063a3}c77f4719-5fac-4f29-ac69-3224f344dcdb", 66)

2019-03-21 09:28:57,638 [53] INFO  [testing.as.local] Save("{35c15c20-510d-4c96-a98b-0daa1b79c2ca}00b4a7a5-8597-4ae8-b64b-7cca2e535878", 3/21/2019 2:28:57 PM)

 

The problem is related to the Event Listener not able to process duplicate entries (TFS 1164806 and TFS 1258089). This was fixed post Fix Pack 2 for KAFC 2.0: COD 8959 and 9984. Also fixed in Fix Pack 1 for KAFC 2.1.

 

Applies to:  

Product Version Category
KAFC 2.0 Event Listener
KAFC 2.1 Event Listener

 

Author:  Eric Roque

  • Was this article helpful?