Skip to Content
author's profile photo Former Member
Former Member

java.lang.ArrayIndexOutOfBoundsException

Hi All

We have a sender RFC adapter and it is throwing the above exception when ever data is pushed from R/3.

We observerd that we are getting this error when data is sent in one of the table structure of the RFC.

I have stopped/started the adapter, reimported the RFC structure.

Nothing worked.

<b>Exact Error : - Error: 2007-01-04 18:28:53 PST: java.lang.ArrayIndexOutOfBoundsException: 24</b>

Any suggestions would be greatly appreciated.

Thanks and Regards

NagaKishore V

null

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Jan 05, 2007 at 04:44 AM

    Hi,

    Do you have some UDF in XI uin your mapping? This looks like some problem with some custom code. Check your UDF's and test your mapping using this blog and see if you get the same error and then debug the same,

    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios

    Regards

    Bhavesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2007 at 04:52 AM

    Hi,

    Usually, u wl get this kind of error bcoz of ur mapping. Plz chck ur mapping prgrm exclusively text functions like substring and UDFs.

    regards

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2007 at 04:56 AM

    Hi,

    It could be that you have tested your mpping in your IR before, but it wouldnt be for all conditions... So as suggested in the Blog provided by Bhavesh just do the test of your mapping again.... It could be something to do with context.... So just check ur context set also.

    Regards,

    Abhy

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2007 at 01:23 PM

    Hi Kishore,

    This is exception raised mostly, in user defined functions only, there might be a situation in runtime where you are trying to access an element of an array which dosent exist, please send the userdefined functions, so that we can have a more clear picture of it.

    Cheers

    Nagesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 05, 2007 at 01:26 PM

    Hi Kishore,

    This is exception raised mostly, in user defined functions only, there might be a situation in runtime where you are trying to access an element of an array which dosent exist, please send the userdefined functions, so that we can have a more clear picture of it.

    Cheers

    Nagesh

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi All

      I solved the problem. There was a mismatch in the RFC Destination and RFC adapter settings. In the RFC Destination I have not set the unicode flag. But in communciation channel for RFC i have set the unicode flag.

      I have set the unicode flag at the both the places and issue was solved.

      Regards

      NagaKishore V

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.