com.sap.aii.af.sdk.xi.lang.BinaryIndexOutOfBoundsException:二进制索引超出范围:-2

2020-09-21 07:18发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


您好,

将发票从Ariba推送到PI时,我们遇到以下错误。

有人可以请教吗?

xml版本=" 1.0"编码=" UTF-8"?> SOAP:Server 服务器错误 XIAdapter ADAPTER.JAVA_EXCEPTION <![CDATA [com.sap.aii.af.sdk.xi.lang.BinaryIndexOutOfBoundsException:二进制索引超出范围:- 2 at com.sap.aii.af.sdk.xi.lang.Binary.byteAt(Binary.java:506)at com.sap.aii.af.sdk.xi.net.MIMEInputSource.decodeParts(MIMEInputSource.java:565 )com.sap.aii.af.sdk.xi.net.MIMEInputSource.readBody(MIMEInputSource.java:391)com.sap.aii.af.sdk.xi.net.MIMEServletInputSource.parse(MIMEServletInputSource.java:58) )的com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:348)在javax.servlet.http.HttpServlet.service(HttpServlet.java:754)在javax.servlet.http.HttpServlet处。 com.sap.engine.services上的service(HttpServlet.java:847)。 com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)位于com.sap.engine.services.servlets_jsp.server上的servlets_jsp.server.Invokable.invoke(Invokable.java:152)。 com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)处的HttpHandlerImpl.runServlet(HttpHandlerImpl.java:466)com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet( com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)上的RequestAnalizer.java:441)com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java: 38)在com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)在com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) .sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)在com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.proce com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)处的ss(ApplicationSelector.java:278)com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker。 java:81)在com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)在com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) 在com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)在com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)在com.sap com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)的com.sap.engine.services的.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) com.sap.engine.services上的.httpserver.chain.ServerFilter.process(ServerFilter.java:12)。com.sap.engine.services.httpserver.filters上的.httpserver.chain.AbstractChain.process(AbstractChain.java:78) 。监控过滤 com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)的r.process(MonitoringFilter.java:29)com.sap.engine.services.httpserver.chain.AbstractChain.process( com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)的AbstractChain.java:78)com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java: 12)在com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)在com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)处的.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12) .services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)at com.sap.engine.service]]> <![CDATA [s.httpserver.chain.ServerFilter.process(ServerFilter.java:12)at com.sap.engine.services.httpserver.ch 位于com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)的ain.AbstractChain.process(AbstractChain.java:78),位于com.sap.engine.services.httpserver.server.Processor $ FCAProcessorThread.process(Processor.java:269)位于com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)位于com.sap.engine.core.thread.execution.Executable。 在com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)在com.sap.engine.core.thread.execution.CentralExecutor $ SingleThread.run( CentralExecutor.java:328)]]>

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


您好,

将发票从Ariba推送到PI时,我们遇到以下错误。

有人可以请教吗?

xml版本=" 1.0"编码=" UTF-8"?> SOAP:Server 服务器错误 XIAdapter ADAPTER.JAVA_EXCEPTION <![CDATA [com.sap.aii.af.sdk.xi.lang.BinaryIndexOutOfBoundsException:二进制索引超出范围:- 2 at com.sap.aii.af.sdk.xi.lang.Binary.byteAt(Binary.java:506)at com.sap.aii.af.sdk.xi.net.MIMEInputSource.decodeParts(MIMEInputSource.java:565 )com.sap.aii.af.sdk.xi.net.MIMEInputSource.readBody(MIMEInputSource.java:391)com.sap.aii.af.sdk.xi.net.MIMEServletInputSource.parse(MIMEServletInputSource.java:58) )的com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:348)在javax.servlet.http.HttpServlet.service(HttpServlet.java:754)在javax.servlet.http.HttpServlet处。 com.sap.engine.services上的service(HttpServlet.java:847)。 com.sap.engine.services.servlets_jsp.server.Invokable.invoke(Invokable.java:38)位于com.sap.engine.services.servlets_jsp.server上的servlets_jsp.server.Invokable.invoke(Invokable.java:152)。 com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:210)处的HttpHandlerImpl.runServlet(HttpHandlerImpl.java:466)com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet( com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:430)上的RequestAnalizer.java:441)com.sap.engine.services.servlets_jsp.filters.DSRWebContainerFilter.process(DSRWebContainerFilter.java: 38)在com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:81)在com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) .sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)在com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.proce com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)处的ss(ApplicationSelector.java:278)com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker。 java:81)在com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)在com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) 在com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)在com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)在com.sap com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)的com.sap.engine.services的.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) com.sap.engine.services上的.httpserver.chain.ServerFilter.process(ServerFilter.java:12)。com.sap.engine.services.httpserver.filters上的.httpserver.chain.AbstractChain.process(AbstractChain.java:78) 。监控过滤 com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)的r.process(MonitoringFilter.java:29)com.sap.engine.services.httpserver.chain.AbstractChain.process( com.sap.engine.services.httpserver.filters.SessionSizeFilter.process(SessionSizeFilter.java:26)的AbstractChain.java:78)com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java: 12)在com.sap.engine.services.httpserver.filters.MemoryStatisticFilter.process(MemoryStatisticFilter.java:57)在com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78) com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:78)处的.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12) .services.httpserver.filters.DSRHttpFilter.process(DSRHttpFilter.java:43)at com.sap.engine.service]]> <![CDATA [s.httpserver.chain.ServerFilter.process(ServerFilter.java:12)at com.sap.engine.services.httpserver.ch 位于com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:475)的ain.AbstractChain.process(AbstractChain.java:78),位于com.sap.engine.services.httpserver.server.Processor $ FCAProcessorThread.process(Processor.java:269)位于com.sap.engine.services.httpserver.server.rcm.RequestProcessorThread.run(RequestProcessorThread.java:56)位于com.sap.engine.core.thread.execution.Executable。 在com.sap.engine.core.thread.execution.Executable.run(Executable.java:101)在com.sap.engine.core.thread.execution.CentralExecutor $ SingleThread.run( CentralExecutor.java:328)]]>

付费偷看设置
发送
1条回答
Bunny_CDM
1楼-- · 2020-09-21 07:47

即使我们有同样的问题。 来自Ariba的发票方案应通过PI流入ECC

Ariba-> SOAP(同步)-> PI-> RFC(同步)-> ECC(同步)

XPI检查器显示此内容

com.sap.aii.af.sdk.xi.lang.BinaryIndexOutOfBoundsException:二进制索引超出范围:com.sap.aii.af.sdk.xi.lang.Binary.byteAt(Binary.java: 506)com.sap.aii.af.sdk.xi.net.MIMEInputSource.decodeParts(MIMEInputSource.java:565)com.sap.aii.af.sdk.xi.net.MIMEInputSource.readBody(MIMEInputSource.java: 391)

一周热门 更多>