Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
#Automation
Hi All
I am having a flat file when i run that file against schema i am getting the following Error
java.lang.StringIndexOutOfBoundsException: String index out of range: -1 Can Anyone Help me out why this error occuring Thanks Kumar
Are you using ‘getIndex’ anywhere? This error usually means you’re searching a string for ‘xyz’ and it doesn’t find ‘xyz’.
Hope this helps.
Hi gill
No i am not using any getIndex sometimes its processing with some flatfiles. In services when i am using this schema i am not getting any problem I am not knowing whats the exact reason for this error.
Can you step through the service and find out which flow is causing the error?
when i am running the file through schema its throwing this error
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
kumar,
Can you elaborate it little more? Give your schema definition and file you are parsing.