EDI Adapter 46

EDI Adapter 4.6 IN IS 4.6 TN 4.6 failed with NullPointer exception trying to process EDI EDIFACT message. Does anyone seen this error before?

2002-09-03 14:13:39 EDT com.wm.lang.flow.FlowException:java.lang.NullPointerException (Flow: wm.b2b.edi:convertToValues (LocalizedException.java:65)
at com.wm.lang.flow.FlowException.(FlowException.java:21)
at com.wm.lang.flow.FlowExit.getFailure(FlowExit.java:201)
at com.wm.lang.flow.FlowState.willExit(FlowState.java:265)
at com.wm.lang.flow.FlowSequence.invoke(FlowSequence.java(Compiled Code))
at com.wm.lang.flow.FlowRoot.invoke(FlowRoot.java:199)
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))
at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code))
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:450)
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
at com.wm.app.b2b.server.Service.doInvoke(Unknown Source)
at com.wm.app.tn.route.RoutingActions.invokeWrapper(RoutingActions.java:794)
at com.wm.app.tn.route.RoutingActions.invoke(RoutingActions.java:708)
at wm.tn.route.route(route.java:583)
at java.lang.reflect.Method.invoke(Native Method)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java(Compiled Code))
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code))
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))
at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code))
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))
at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code))
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java(Compiled Code))
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java(Compiled Code))
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))
at com.wm.lang.flow.FlowState.invoke(FlowState.java(Compiled Code))
at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java(Compiled Code))
at com.wm.app.b2b.server.ServiceManager.invoke(Serv

Igor,

This may be solved by re installing the template of the EDI document you are trying to parse.

rgds
Beena

I did install the template and schemas for EDIFACT. I downloaded EDIFACT 97A template and loaded it in WmEDIforTN/pub/UNEDIFACT directory. I also Loaded Document type for 97A INVRPT in TN As well as loading EDI 4.6 patch for UNEDIFACT and EANCOM standard recognition in EDI 4.6 version of adapater and editn.jar file is loaded as well. What puzzled me is I built 3 other WM 4.6 systems adn all worked and the last one throwing this error? I even reloaded Service Pack 1 in B2B 4.6 that did not help iether.

Logging Console
Set Output Type and Logging Level

Output To Off Console File All
Logging level Emergency Alert Critical Error Warn Notice Info Debug

Clear Log File logfile.txt
Archive Log File

Contents of log file
2003-03-27 12:21:17,349 [B2B HTTP Handler 192.168.1.42] DEBUG - [BASEJBA.5000.0005]MyConnection.open - enter, isOpen? false
2003-03-27 12:21:17,349 [B2B HTTP Handler 192.168.1.42] DEBUG - [BASEJBA.5000.0017]MyConnection.open - using this InitialContext: javax.naming.InitialContext@28a34ab1
2003-03-27 12:21:17,349 [B2B HTTP Handler 192.168.1.42] INFO - [BASEJBA.5000.0003]MyConnection.open - exit, returning true
2003-03-27 12:21:17,349 [B2B HTTP Handler 192.168.1.42] DEBUG - [BASEJBA.5000.0003]DesignTimeHelper.initializeConnection - exit, returning true
2003-03-27 12:21:17,579 [B2B HTTP Handler 192.168.1.42] ERROR - [BASEJBA.1000.0014]JBossLister.collectBindingElements - lookup(xmlhome) threw this: type(javax.naming.CommunicationException), msg(null)
2003-03-27 12:21:17,579 [B2B HTTP Handler 192.168.1.42] ERROR - [BASEJBA.1000.0015]JBossLister.collectBindingElements - previous exception wrapped: msg(java.lang.ClassNotFoundException), rootCause(org.jboss.ejb.plugins.jrmp13.interfaces.HomeProxy (no security manager: RMI class loader disabled))
2003-03-27 12:21:17,589 [B2B HTTP Handler 192.168.1.42] ERROR - [BASEJBA.1000.0010]JBossLister.collectBindingElements - ctx.lookup(xmlhome)() returned null
2003-03-27 12:21:18,050 [B2B HTTP Handler 192.168.1.42] ERROR - [BASEJBA.1000.0014]JBossLister.collectBindingElements - lookup(TopicConnectionFactory) threw this: type(javax.naming.CommunicationException), msg(null)
2003-03-27 12:21:18,050 [B2B HTTP Handler 192.168.1.42] ERROR - [BASEJBA.1000.0015]JBossLister.collectBindingElements - previous exception wrapped: msg(java.rmi.UnmarshalException), rootCause(error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: org.jboss.mq.referenceable.ObjectRefAddr (no security manager: RMI class loader disabled))
2003-03-27 12:21:18,050 [B2B HTTP Handler 192.168.1.42] ERROR - [BASEJBA.1000.0010]JBossLister.collectBindingElements - ctx.lookup(TopicConnectionFactory)() returned null
2003-03-27 12:21:18,060 [B2B HTTP Handler 192.168.1.42] ERROR - [BASEJBA.1000.0014]JBossLister.collectBindingElements - lookup(jmx) threw this: type(javax.naming.CommunicationException), msg(null)
2003-03-27 12:21:18,080 [B2B HTTP Handler 192.168.1.42] ERROR - [BASEJBA.1000.0015]JBossLister.collectBindingElements - previous exception wrapped: msg(java.lang.ClassNotFoundException), rootCause(org.jboss.jmx.server.JMXAdaptorImpl_Stub (no security manager: RMI class loader disabled))
2003-03-27 12:21:18,080 [B2B HTTP Handler 192.168.1.42] ERROR - [BASEJBA.1000.0010]JBossLister.collectBindingElements - ctx.lookup(jmx)() returned null
2003-03-27 12:21:18,080 [B2B HTTP Handler 192.168.1.42] ERROR - [BASEJBA.1000.0014]JBossLister.collectBindingElements - lookup(ConnectionFactory) threw this: type(javax.naming.CommunicationException), msg(null)
2003-03-27 12:21:18,090 [B2B HTTP Handler 192.168.1.42] ERROR - [BASEJBA.1000.0015]JBossLister.collectBindingElements - previous exception wrapped: msg(java.rmi.UnmarshalException), rootCause(error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: org.jboss.mq.referenceable.ObjectRefAddr (no security manager: RMI class loader disable