Resolve DOC1GEN crash in NA Batch in EngageOne Server



There was an issue with DOC1GEN crashing multiple times in NA Batch.

User-added image

The Windows Event Viewer Log reported the error messages below:

Faulting application name: doc1gen.exe, version:, time stamp: 0x597eaa0b
Faulting module name: DOC1PCOM.DLL, version:, time stamp: 0x597eaa08
Exception code: 0xc0000005
Fault offset: 0x00000000000c2186
Faulting process id: 0x38e8
Faulting application start time: 0x01d31b4cb60f2bc0
Faulting application path: C:\eo44\batch\bin\doc1gen\win\doc1gen.exe
Faulting module path: C:\eo44\batch\bin\doc1gen\win\DOC1PCOM.DLL
Report Id: eb60dcb8-b795-410b-a823-37921cd9d97a
Faulting package full name: 
Faulting package-relative application ID:

NA Batch Log showed multiple occurrences of the error below:

[Aug 22 14:45:20]|ERROR|ConsoleAppWrapperImpl|[BatchItemWorker-169]|Input Answer Id: N/A|Input File Name: N/A|Console application error message: Unexpected end of the composition process; GEN9999D <Process ended>
[Aug 22 14:45:20]|ERROR|Doc1ServerDocumentComposer|[BatchItemWorker-169]|Unable to compose document
com.pb.dca.DocumentCompositionException: Unexpected end of the composition process; GEN9999D <Process ended>



This was due to an issue with EngageOne NA-Batch 4.x/DOC1GEN 6.x Generate Server mode sporadically crashes when using Designer "Keep with Next" in EngageOne Batch Intermediate "Neutral" Output. 


UPDATED: April 26, 2018
The fix is provided in EngageOne Generate v6.6.4.77 and later releases.

To deploy the fix, it is required to replace the existing EngageOne Generate files with the files from version

EngageOne Generate files in EngageOne Server 4.4 are located in <EngageOne Install Folder>\batch\bin\doc1gen\win directory.

Ensure a backup of the old files is taken prior to replacing the files.