null pointer exception in pub.sap.transport.BAPI:OutboundProcess

Hi All,
I am getting a null pointer exception when trying to send an iDOC to SAP system using

[FONT=Arial Narrow][SIZE=4]

pub.sap.transport.BAPI:OutboundProcess

com.wm.pkg.art.error.DetailedServiceException: [ART.117.4002] Adapter Runtime (Adapter Service): Unable to invoke adapter service pub.sap.transport.BAPI:OutboundProcess.
[SAP.116.9551] Adapter service error: java.lang.NullPointerException - null
at com.wm.pkg.art.error.DetailedServiceException.create(DetailedServiceException.java:125)
at com.wm.pkg.art.error.DetailedServiceException.create(DetailedServiceException.java:116)
at com.wm.pkg.art.error.DetailedServiceException.create(DetailedServiceException.java:103)
at com.wm.pkg.art.ns.AdapterServiceNode.invokeService(AdapterServiceNode.java:388)
at com.wm.pkg.art.ns.ARTNSService.baseInvoke(ARTNSService.java:54)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:630)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:46)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:232)
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:220)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:618)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:535)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:381)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:237)
at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:189)
at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:324)
at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:581)
at com.wm.lang.flow.FlowState.stepIncremental(FlowState.java:491)
at com.wm.lang.flow.FlowState.invoke(FlowState.java:379)
at wm.server.flowimpl.stepFlow(flowimpl.java:183)
at sun.reflect.GeneratedMethodAccessor27.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:413)
at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:630)
at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:46)
at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:44)
at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:232)
at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:51)
at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:220)
at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:30)
at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:618)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:535)
at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:381)
at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:237)
at com.wm.app.b2b.server.comm.DefaultServerRequestHandler.handleMessage(DefaultServerRequestHandler.java:119)
at com.wm.app.b2b.server.HTTPMessageHandler.process(HTTPMessageHandler.java:151)
at com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:176)
at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:307)
at com.wm.util.pool.PooledThread.run(PooledThread.java:112)
at java.lang.Thread.run(Thread.java:595
The same service with same data is working for a different SAP system. This tells me that it may be an issue with SAP set up. Interestingly, I am able to createTID using the same connection alias. It only errors out when i invoke the transport service.

Any help would be appreciated.

thanks

[/size][/font]

Hi Pritam,

If it is SAP Adapter 6.5 check the Adapter fix’s available in advantage site.

Thanks,
Jsree

One more question why you are using this service for sending IDOC?

pub.sap.transport.BAPI:OutboundProcess

we used pub.sap.transport.ALE:OutboundProcess service for sending IDOC.

Thanks,
JSree

Dear,

You need to mention the URL in

sapbc :: SAP Business Connector :: Routing ::Transports::BAPI

Thanks and regards

Hi,

Assuming you are running SAPAdapter not SAPBC,basically you have to invoke this service pub.sap.transport.ALE:OutboundProcess inorder to send IDOC’s to SAP system.

HTH,
RMG