Any Job with tFileInputEBCDIC fails with a compilation error in Talend Studio 5.6

Problem Description

A Job is create with the tFileInputEBCDIC component in Talend Studio 5.6. The Job fails with the following compilation error:

 

"org.talend.designer.runprocess.ProcessorException: Job compile errors At least job "B10005_TBDOHIS" has a compile errors, please fix and export again. Error Line: 73861 Detail Message: The method readType3(byte[], int, boolean, null) is undefined for the type EBCDICType3. There may be some other errors caused by JVM compatibility. Make sure your JVM setup is similar to the studio."

 

Root Cause

The method readType3 exists in the cobolX.jar file, but the Job is unable to find this method. The cobolX.jar file is loaded to the workspace location Studio_workspace/.Java/lib/ when Studio is building the Job. In this scenario, the cobolX.jar file is corrupted.

 

Solution

Replace the cobolX.jar file located in Studio_workspace/.Java/lib/ with the cobolX.jar file located in Talend-Studio-5.6.3-InstalledLocation\plugins\org.talend.libraries.ebcdic_5.6.3.20160127_1448\lib.

Version history
Revision #:
5 of 5
Last update:
‎09-28-2018 11:58 PM
Updated by: