| Products | Versions |
|---|---|
| BusinessConnect EDI Protocol | 6.11 |
The newer versions of the Instream protocol need extra configuration when processing TEXT files. Without modification, users will see this type of error when processing inbound TEXT files:
The EDI document was processed successfully but encountered transactions with conversion errors.Instream validation error. Return Code : 140; Message : null. Total number of interchange(s) processed = 1. Total number of interchange(s) rejected = 1. Total number of transaction(s) processed = 0. Total number of transaction(s) rejected = 0 |
You will also see exceptions like this in the log:
67
2026 Jul 14 22:39:04:439 GMT +0000 BW.BusinessConnect-Interior_Server Error [Level] BW-EXT-LOG-100000 tibcobc Cannot invoke "com.tibco.ax.fw.cfg.pprofiles.IParticipant.getEnabledProtocols()" because "this.partner" is null
2026 Jul 14 22:39:04:441 GMT +0000 BW.BusinessConnect-Interior_Server Debug [Level] BW-EXT-LOG-300002 tibcobc java.lang.NullPointerException: Cannot invoke "com.tibco.ax.fw.cfg.pprofiles.IParticipant.getEnabledProtocols()" because "this.partner" is null
at com.tibco.ax.tibedi.config.PartnerInfoHelperImpl.<init>(PartnerInfoHelperImpl.java:116)
at com.tibco.ax.tibedi.config.PartnerInfoHelper.<init>(PartnerInfoHelper.java:27)
at com.tibco.ax.tibedi.config.PartnerInfoHelper.<init>(PartnerInfoHelper.java:31)
at com.tibco.ax.tibedi.runtime.pf.inbound.BMHPreProcessor.convertDataToUTF8(BMHPreProcessor.java:419)
at com.tibco.ax.tibedi.runtime.pf.inbound.BMHPreProcessor.executeTask(BMHPreProcessor.java:383)
at com.tibco.ax.tibedi.runtime.pf.inbound.BMHPreProcessor.Start(BMHPreProcessor.java:91)
all platforms
To resolve the issue, place the FlatFileInitialDetector.csv file in the $TIBCO_HOME/bc/7.<x>/protocols/tibedi/config directory as usual. Then, do the following modification:
Go to the $INSTREAM_HOME/9.4/bin directory on your machine and look for the file fsdir.ini (it may be $fsdir.ini on Windows systems).
Edit it, and look for a line that looks like this:
:PARTNERAUTOMATIONFLAT="/home/dmanoogi/tibco/instream/9.4/DemoData/FFTPAdemo/MyFlatFilePartnerAutomation.csv"
Copy the line and paste it right below the line above. Modify it to look like this (make sure to take out the colon at the beginning of the line):
PARTNERAUTOMATIONFLAT="/home/dmanoogi/tibco/bc/7.5/protocols/tibedi/config/FlatFileInitialDetector.csv"
Modify the bolded type to suit your environment.
Restart the BC engine, and transactions should process correctly.
The BusinessConnect EDI Protocol needs additional configuration when using newer versions of Instream when processing TEXT documents.