Unable to submit edi doc from WmEDI URL (EDI Module)

Hi,

Unable to submit a document from [url]http://localhost:5555/WmEDI/[/url] URL.
I have created Sender and receiver profile’s. Got the below error, please advice o[SIZE=1]n this as where I have missed something.



wm.tn.doc:recognize

java.lang.NullPointerException

java.lang.NullPointerException
at com.wm.data.ValuesEmulator.get(ValuesEmulator.java:20)
at wm.b2b.editn.EDIEnvelopeDocType$EnvelopeStatus.shouldGenerateFA(Unknown Source)
at wm.b2b.editn.EDIEnvelopeDocType.createEnvelope(Unknown Source)
at com.wm.app.tn.doc.BizDocTypeReg.recognizeAndCreate(BizDocTypeReg.java:525)
at wm.tn.docimpl.recognize(docimpl.java:1151)
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.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:439)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManag…
[/SIZE]

unable to see the error Can you attach a screen shot??

What exact URL are you posting to?upload some TN screen shots.

Please make sure the EDI X12 file you submitting in proper file format (especially delimiters part) and the particular EDI document type is already installed in TN.

HTH,
RMG

the NullPointerException happened when
it’s checking shouldGenerateFA
Did you create the default agreement for EDI?
if yes, Check you setting on FA.

java.lang.NullPointerException
at com.wm.data.ValuesEmulator.get(ValuesEmulator.java:20)
at wm.b2b.editn.EDIEnvelopeDocType$EnvelopeStatus.shouldGenerateFA(Unknown Source)
at wm.b2b.editn.EDIEnvelopeDocType.createEnvelope(Unknown Source)

good catch by Tong Wang.

Can you check more if the default TPA or partner specific TPA is causing FA error for the sender/receiver you are posting EDI file?

HTH,
RMG