SAP Knowledge Base Article - Preview

3365179 - Mails can't be picked up and throws the error java.lang.IndexOutOfBoundsException

Symptom

Configured Mail Sender channel and while processing the message below error occurs,

Also XPI example 100 trace looks like,
Exception caught during processing mail message [0]java.lang.IndexOutOfBoundsException: bitIndex < 0: -61 
[EXCEPTION]
java.lang.IndexOutOfBoundsException: bitIndex < 0: -61
at java.util.BitSet.get(BitSet.java:623)
at com.sap.aii.af.sdk.xi.lang.Binary.readbase64bytes(Binary.java:394)
at com.sap.aii.af.sdk.xi.lang.Binary.<init>(Binary.java:249)
at com.sap.aii.af.sdk.xi.lang.Binary.<init>(Binary.java:213)
at com.sap.aii.af.sdk.xi.net.IMAPClientConnection.getBinaryFromMimeMessage(IMAPClientConnection.java:797)
at com.sap.aii.af.sdk.xi.net.IMAPClientConnection.getBinaryContent(IMAPClientConnection.java:772)
at com.sap.aii.af.sdk.xi.net.IMAPClientConnection.parseOAuthMails(IMAPClientConnection.java:635)
at com.sap.aii.af.sdk.xi.srt.xmb.XMBIMAPInitiatorServiceImpl$MailClientTask.invoke(XMBIMAPInitiatorServiceImpl.java:607)
at com.sap.aii.af.lib.scheduler.JobBroker$Worker.run(JobBroker.java:529)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:185)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:302)


Read more...

Environment

  • SAP NetWeaver 7.50
  • SAP Process Integration 

Product

SAP NetWeaver all versions

Keywords

bitIndex, java.lang.IndexOutOfBoundsException, Mail Sender channel. , KBA , BC-XI-CON-MAI , Mail Adapter , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.