Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: java.lang.StringIndexOutOfBoundsException: String index out of range: 2573

  1. #1
    Join Date
    Aug 2015
    Posts
    313

    Default java.lang.StringIndexOutOfBoundsException: String index out of range: 2573

    Hi Sir,Madam,

    It is my assumption, I'm facing an silly issue and tried from side very well but there is no luck towards me. could you please help me on my scenario. Loading my data using below approach and i am facing issue @ Text file input step. whenever i kept format as # for integer column it is throwing as below error.

    (Table input -> Text file output).ktr
    (Text file input -> Table output).ktr


    2017/06/06 10:12:49 - prod serial enttlmnt Text file Input.0 - Error converting line : java.lang.StringIndexOutOfBoundsException: String index out of range: 2573
    2017/06/06 10:12:49 - prod serial enttlmnt Text file Input.0 - String index out of range: 2573
    2017/06/06 10:12:49 - prod serial enttlmnt Text file Input.0 -

    Please ask me if you need any info from my end.

    below image information is defined @ Text file input step
    Name:  Format_1.jpg
Views: 203
Size:  25.7 KB

    Thank you
    Last edited by santhi; 06-06-2017 at 07:19 AM.

  2. #2
    Join Date
    Aug 2015
    Posts
    313

    Default

    Hi Sir,Madam,

    I missed one more point here. I don't have any issues in Development environment, everything is working fine but issue is with my production environment only.

    Whatever the etl assets is exist in Dev and Production both are same, I'm not sure why i'm facing issue in Production environment only...

    as per my observation below are differences(red colored) , please help on this issue.

    Dev machine and Java details
    ---------------------------------------
    Windows server 2008 R2 Data center, 64 bit OS
    Java version "1.7.0_79"
    spoon.bat (if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=512m")

    Production machine and Java details
    ---------------------------------------
    Windows server 2008 R2 Data center, 64 bit OS
    Java version "1.8.0_121"
    spoon.bat(if "%PENTAHO_DI_JAVA_OPTIONS%"=="" set PENTAHO_DI_JAVA_OPTIONS="-Xms2048m" "-Xmx4096m" "-XX:MaxPermSize=512m" "-Dfile.encoding=utf8")

    Thanks

  3. #3
    Join Date
    Aug 2015
    Posts
    313

    Default

    Hi All,

    I am confirming that, issue is with only java version. when i degraded from JAVA 1.8 to 1.7 then working well.

    Thanks
    Last edited by santhi; 06-06-2017 at 10:12 AM.

  4. #4
    Join Date
    Aug 2015
    Posts
    313

    Default

    Hi All,

    I am wrong again, today etl is failed even though degraded from Java 1.8 to java 1.7 version. i need to look into detail if anyone already faced the same problem please help on this.

    Thank you
    Last edited by santhi; 06-07-2017 at 02:54 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.