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

java.lang.StringIndexOutOfBoundsException in inbound fileadapter XI2.0

When I want to presess a message in my inbound fileadapter (XI 2.0), I get the following error :

Exception in XML Renderer (format problem?)

java.lang.Exception: ERROR converting document line no. 1 :

java.lang.StringIndexOutOfBoundsException: String index out of range: 369

What I think, is that the record structure does not match the structure as expected.

How can I find out what is wrong (like the 369 position in the errormessage, what does that tell me ?)

below the (partial) adapterconfiguration.





Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2004 at 12:42 PM

    Hi Jan,

    If your last field is 10 long make sure that it is exactly 10 characters long. It could be that your last field is less than this amount, if so add whitespaces until the field length is 10 chars long. Hope this helps,



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      Check how long your string is, it should be as long as you have given in your configuration. if the adapter configuration thinks there are 369 chars but there are only 368 produces this error.You are still using fields of fixed length, your last field should be your last 10 chars (as given in your config).



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.