Issue:

In Ephesoft Transact 2019.2, when customizing an export script to export all the metadata into a .csv file, the batch instance is stuck at the export’s cleanup stage. The following error displays: com.ephesoft.dcma.core.exception.ScriptNotFoundException: Failed to load DynaCode class [Ephesoft installed path]:\Ephesoft\SharedFolders\BC70\scripts\ScriptExport.java

This error occurs when the user is using a legacy version of POI jar file.

Solution:

  1. Download the following latest POI file.
  2. Unzip the zip file.
  3. Copy the poi-4.1.1.jar and commons-math3-3.6.1.jar files into the lib folder.
  4. If you do not have any customized built-in packages defined in the export script, skip this step and proceed to step 5.
    1. Open the export script with Eclipse, a third-party application.
    2. Temporarily comment out any customized built-in package to eliminate customized script issues.
  5. Navigate to <Ephesoft installed path>:\Ephesoft\JavaAppServer\temp directory.
  6. Empty this folder.

Note: Skip this step if a pop-up window displays with a message that the file is being used by Ephesoft Transact.

  1. Restart Ephesoft Transact services.
  2. Restart the problematic batch instance from the Batch Instance Management screen.