Inbound file poller for EDI is not processing an EDI file and indicates Malformed EDI document detected error.

Inbound file poller for EDI is not processing an EDI file and indicates Malformed EDI document detected error.

book

Article ID: KB0087147

calendar_today

Updated On:

Products Versions
TIBCO BusinessConnect EDI Protocol Powered by Instream -
Not Applicable -

Description

Resolution:
Description
==========
Inbound file poller for EDI is not processing an inbound EDI file and indicates Malformed EDI document detected error.

The BusinessConnect log shows the following error:

2013 Sep 30 09:07:03:762 GMT -5 BC.BusinessConnect-Interior_Server Error [bw.logger] BW-EXT-LOG-100000  Exception thrown in BMHPreprocess::filterData.  
2013 Sep 30 09:07:03:762 GMT -5 BC.BusinessConnect-Interior_Server Debug [bw.logger] BW-EXT-LOG-300002  java.lang.NullPointerException
    at com.tibco.ax.tibedi.config.HostInfoHelperImpl.&ltinit>(HostInfoHelperImpl.java:66)
    at com.tibco.ax.tibedi.config.HostInfoHelperImpl.&ltinit>(HostInfoHelperImpl.java:84)
    at com.tibco.ax.tibedi.config.HostInfoHelper.&ltinit>(HostInfoHelper.java:24)
    at com.tibco.ax.tibedi.runtime.pf.inbound.BMHPreProcessor.filterData(BMHPreProcessor.java:380)
    at com.tibco.ax.tibedi.runtime.pf.inbound.BMHPreProcessor.executeTask(BMHPreProcessor.java:235)
    at com.tibco.ax.tibedi.runtime.pf.inbound.BMHPreProcessor.Start(BMHPreProcessor.java:68)
    at com.tibco.ax.tibedi.runtime.inbound.EDIBMHService.validateDocument(EDIBMHService.java:143)
    at com.tibco.ax.fw.runtime.inbound.impl.IBBMHService.preProcessMsg(IBBMHService.java:185)
    at com.tibco.ax.fw.runtime.impl.AbstractService.preProcessor(AbstractService.java:290)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.tibco.plugin.gateway.InvokeOperationActivity.sInvokeServiceOp(InvokeOperationActivity.java:246)
    at com.tibco.plugin.gateway.InvokeOperationActivity$OperationThread.run(InvokeOperationActivity.java:376)
    at com.tibco.pe.util.ThreadPool$ThreadPoolThread.run(Unknown Source)

Environment
===========
TIBCO BusinessConnect 5.X.X and 6.X.X

Cause
===========
The error indicates BC is not able to find host and trading partner information.


Resolution
==========
To resolve the issue do the following :

Go to System Settings-&gtGeneral Settings and choose the default host. After that press "save".

Issue/Introduction

Inbound file poller for EDI is not processing an EDI file and indicates Malformed EDI document detected error.