EAI TRANSFORM Step Failure

EAI TRANSFORM Step Failure

book

Article ID: KB0070283

calendar_today

Updated On:

Products Versions
TIBCO iProcess Technology Plug-ins 11.8.x, 11.9.x

Description

Symptoms:-
When transmitting XML data, errors related to field mapping are observed, typically within the EAI step due to missing fields. Examination of the EAIJAVA log reveals an error message resembling the following:

[ERROR] 7952a2f16f08050d0000002f7c75222b com.staffware.eaijava.impl.SWGenericPlugin execute() - execute() - SWParserException
java.lang.NullPointerException: null
at com.staffware.eaiframework.handlers.library.fieldmapping.SWFieldMappingHandler.mapFields(SWFieldMappingHandler.java:449) ~[eaiframeworkserver_handlers_library.jar:?]
at com.staffware.eaiframework.handlers.library.fieldmapping.SWFieldMappingHandler.onResponse(SWFieldMappingHandler.java:279) ~[eaiframeworkserver_handlers_library.jar:?]
at com.staffware.frameworks.eaitransform.runtime.SWEAITransformOutputFieldMapping.onResponse(SWEAITransformOutputFieldMapping.java:87) ~[eaitransform_handlers.jar:?]
at com.staffware.eaiframework.runtime.library.engine.SWFramework.executeSync(SWFramework.java:518) ~[eaiframeworkserver_runtime_library.jar:?]
at com.staffware.eaijava.impl.SWGenericPlugin.execute(SWGenericPlugin.java:548) ~[eaijava_runtime_library.jar:?]

Cause:-
The root cause of the failure lies in the inability to perform field mapping due to empty values passed through XML data. Specifically, the "Output Data Mapping" within the EAI STEP anticipates a value for the specified field, leading to failures when encountering empty values.

Environment

TIBCO iProcess Tech Plug-ins

Resolution

11.9.x Version:
For users operating on iProcess 11.9.x, a Technology Plug-in hotfix (Techplugins 11.9.0_HF-004)is available to resolve this issue. The release announcement for this fix can be found here:  https://support.tibco.com/s/article/TIBCO-iProcess-R-Technology-Plug-ins-11-9-0-HotFix-004-is-available

11.8.x Version:
In instances where iProcess 11.8.x is utilized, a workaround involves passing the missing element in XML with a ' '(space) as a value or to upgrade to 11.9 HF 4 or greater.
 

Issue/Introduction

The EAI TRANSFORM step within the TIBCO iProcess Technology plug-ins can encounter failures during field mapping