Jump to content

An exception occurred in the background worker thread for email threading: One or more errors occurred.


Josiah

Recommended Posts

  • IPRO Employee

Came across this and wanted to share it as the Errors are confusing.

I got this when running Email Threading. I know my case has extracted text and that Content Analytics is running (Checked the Service, and that Java was running and using Memory in Task Manager)

In Eclipse Admin you will see the following:

8/22/2017 10:38:38: E-mail thread processing started

Log file: C:\Users\testing-jdudley\AppData\Roaming\Eclipse\Eclipse Admin\jmdIpro_EmailThreading.log

8/22/2017 10:38:38: Number of documents to process: 100

8/22/2017 10:38:38: Clearing EmailThreadingProcessed flag for doc ids

8/22/2017 10:38:38: Staging area id: Eclipse_Email_jmdIpro

8/22/2017 10:38:50: Stage 1 - adding documents

8/22/2017 10:38:50: adding 100 documents to the staging area

8/22/2017 10:39:34: Stage 2 - processing

8/22/2017 10:39:46: Stage 3 - retrieving results

8/22/2017 10:39:49: An exception occurred in the background worker thread for email threading: One or more errors occurred.

8/22/2017 10:39:49: 100 documents processed.

8/22/2017 10:39:49: Processing complete

However, nothing is put into the case in Eclipse.

 

Checking CAAT Errors in "C:\CAAT\logs" returned the following:

2017-08-22 10:38:49,897 <<Eclipse_Email_jmdIpro>> WARN ProxyFactory <init>: Method [{0}] is synthetic and is being intercepted by {1}. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.

But no actual Error.

 

Checking Admin Log in "C:\ProgramData\IPRO Tech\Eclipse\Admin" returned the following:

2017-08-22 10:39:49.0411 [5] ERROR Eclipse.Admin.PresentationLayer.HomeTab.ucContentAnalystEmailThreading - One or more errors occurred.* at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)

at Eclipse.Admin.PresentationLayer.HomeTab.ucContentAnalystEmailThreading.GetBatchSize()

at Eclipse.Admin.PresentationLayer.HomeTab.ucContentAnalystEmailThreading.EmailThreadProcess_RetrieveResultsToTransferImportFile(IEnumerable`1 ca_fields, List`1 eclipse_fields, String contentAnalystServer, String transferImportFilePath)

at Eclipse.Admin.PresentationLayer.HomeTab.ucContentAnalystEmailThreading.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e)

 

If you are getting the above error, you will want to check your Eclipse Endpoints for that Admin machine. There are three files that need to be checked:

"C:\Program Files\Ipro Tech\Eclipse\Admin\Eclipse Admin.exe.config"

"C:\Program Files\Ipro Tech\Eclipse\Admin\EclipseOcrImaging\EclipseOcrImaging.exe.config"

"C:\Program Files\Ipro Tech\Eclipse\Admin\File Identification\EclipseFileIdentification.exe.config"

 

For my issue, I notice that my Eclipse Endpoint was set to http://machinename:443/

However, my client wasn't using an SSL for Eclipse and should have been http://machinename:80/

You can locate the correct setting by looking at the site bindings for the Eclipse Site on the IIS machine, or if you have an Admin machine that is able to perform analytics, I would copy their config files into the admin machines that is having issues with Analytics.

 

Once you modified the Config files, close and re-open Admin. A valid Threading should look like the following:

8/22/2017 11:03:35: E-mail thread processing started

Log file: C:\Users\testing-jdudley\AppData\Roaming\Eclipse\Eclipse Admin\jmdIpro_EmailThreading.log

8/22/2017 11:03:37: Number of documents to process: 100

8/22/2017 11:03:37: Clearing EmailThreadingProcessed flag for doc ids

8/22/2017 11:03:37: Staging area id: Eclipse_Email_jmdIpro

8/22/2017 11:03:37: Stage 1 - adding documents

8/22/2017 11:03:37: (re)adding 100 documents to the staging area

8/22/2017 11:03:57: Stage 2 - processing

8/22/2017 11:04:08: Stage 3 - retrieving results

8/22/2017 11:04:17: Stage 4 - Enqueue import job to move data to Eclipse tables

8/22/2017 11:04:18: Import File: \\testing.local\dfs\SupportTestRacks\TST-SUPTRK078\Eclipse\jmdIpro\jmdIpro\Transfer\CAEmailTreading-20170822-1104080379\_TRANSFER.DLF

8/22/2017 11:04:18: Error Load Files will write to: \\testing.local\dfs\SupportTestRacks\TST-SUPTRK078\Eclipse\jmdIpro\jmdIpro\Transfer\CAEmailTreading-20170822-1104080379

8/22/2017 11:04:18: Step: Initializing Status: In Queue

8/22/2017 11:04:24: Step: Initializing Status: In Progress

8/22/2017 11:04:24: Step: Staging Status: In Progress

8/22/2017 11:04:26: Step: Integrating Status: In Progress

8/22/2017 11:04:31: Step: Building Smart Folders Status: In Progress

8/22/2017 11:04:32: Step: Updating Case Properties Status: In Progress

8/22/2017 11:04:33: Import completed, updating processed flags

8/22/2017 11:04:33: 100 documents processed.

8/22/2017 11:04:33: Processing complete

Link to comment
Share on other sites

  • IPRO Employee

Came across this and wanted to share it as the Errors are confusing.

I got this when running Email Threading. I know my case has extracted text and that Content Analytics is running (Checked the Service, and that Java was running and using Memory in Task Manager)

In Eclipse Admin you will see the following:

8/22/2017 10:38:38: E-mail thread processing started

Log file: C:\Users\testing-jdudley\AppData\Roaming\Eclipse\Eclipse Admin\jmdIpro_EmailThreading.log

8/22/2017 10:38:38: Number of documents to process: 100

8/22/2017 10:38:38: Clearing EmailThreadingProcessed flag for doc ids

8/22/2017 10:38:38: Staging area id: Eclipse_Email_jmdIpro

8/22/2017 10:38:50: Stage 1 - adding documents

8/22/2017 10:38:50: adding 100 documents to the staging area

8/22/2017 10:39:34: Stage 2 - processing

8/22/2017 10:39:46: Stage 3 - retrieving results

8/22/2017 10:39:49: An exception occurred in the background worker thread for email threading: One or more errors occurred.

8/22/2017 10:39:49: 100 documents processed.

8/22/2017 10:39:49: Processing complete

However, nothing is put into the case in Eclipse.

 

Checking CAAT Errors in "C:\CAAT\logs" returned the following:

2017-08-22 10:38:49,897 <<Eclipse_Email_jmdIpro>> WARN ProxyFactory <init>: Method [{0}] is synthetic and is being intercepted by {1}. This could indicate a bug. The method may be intercepted twice, or may not be intercepted at all.

But no actual Error.

 

Checking Admin Log in "C:\ProgramData\IPRO Tech\Eclipse\Admin" returned the following:

2017-08-22 10:39:49.0411 [5] ERROR Eclipse.Admin.PresentationLayer.HomeTab.ucContentAnalystEmailThreading - One or more errors occurred.* at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)

at Eclipse.Admin.PresentationLayer.HomeTab.ucContentAnalystEmailThreading.GetBatchSize()

at Eclipse.Admin.PresentationLayer.HomeTab.ucContentAnalystEmailThreading.EmailThreadProcess_RetrieveResultsToTransferImportFile(IEnumerable`1 ca_fields, List`1 eclipse_fields, String contentAnalystServer, String transferImportFilePath)

at Eclipse.Admin.PresentationLayer.HomeTab.ucContentAnalystEmailThreading.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e)

 

If you are getting the above error, you will want to check your Eclipse Endpoints for that Admin machine. There are three files that need to be checked:

"C:\Program Files\Ipro Tech\Eclipse\Admin\Eclipse Admin.exe.config"

"C:\Program Files\Ipro Tech\Eclipse\Admin\EclipseOcrImaging\EclipseOcrImaging.exe.config"

"C:\Program Files\Ipro Tech\Eclipse\Admin\File Identification\EclipseFileIdentification.exe.config"

 

For my issue, I notice that my Eclipse Endpoint was set to http://machinename:443/

However, my client wasn't using an SSL for Eclipse and should have been http://machinename:80/

You can locate the correct setting by looking at the site bindings for the Eclipse Site on the IIS machine, or if you have an Admin machine that is able to perform analytics, I would copy their config files into the admin machines that is having issues with Analytics.

 

Once you modified the Config files, close and re-open Admin. A valid Threading should look like the following:

8/22/2017 11:03:35: E-mail thread processing started

Log file: C:\Users\testing-jdudley\AppData\Roaming\Eclipse\Eclipse Admin\jmdIpro_EmailThreading.log

8/22/2017 11:03:37: Number of documents to process: 100

8/22/2017 11:03:37: Clearing EmailThreadingProcessed flag for doc ids

8/22/2017 11:03:37: Staging area id: Eclipse_Email_jmdIpro

8/22/2017 11:03:37: Stage 1 - adding documents

8/22/2017 11:03:37: (re)adding 100 documents to the staging area

8/22/2017 11:03:57: Stage 2 - processing

8/22/2017 11:04:08: Stage 3 - retrieving results

8/22/2017 11:04:17: Stage 4 - Enqueue import job to move data to Eclipse tables

8/22/2017 11:04:18: Import File: \\testing.local\dfs\SupportTestRacks\TST-SUPTRK078\Eclipse\jmdIpro\jmdIpro\Transfer\CAEmailTreading-20170822-1104080379\_TRANSFER.DLF

8/22/2017 11:04:18: Error Load Files will write to: \\testing.local\dfs\SupportTestRacks\TST-SUPTRK078\Eclipse\jmdIpro\jmdIpro\Transfer\CAEmailTreading-20170822-1104080379

8/22/2017 11:04:18: Step: Initializing Status: In Queue

8/22/2017 11:04:24: Step: Initializing Status: In Progress

8/22/2017 11:04:24: Step: Staging Status: In Progress

8/22/2017 11:04:26: Step: Integrating Status: In Progress

8/22/2017 11:04:31: Step: Building Smart Folders Status: In Progress

8/22/2017 11:04:32: Step: Updating Case Properties Status: In Progress

8/22/2017 11:04:33: Import completed, updating processed flags

8/22/2017 11:04:33: 100 documents processed.

8/22/2017 11:04:33: Processing complete

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...