java.lang.ArrayIndexOutOfBoundsException: 183 183

Pentaho BI Platform Tracking | Peter Mengaziol | 9 years ago
  1. 0

    The "Text File Input" step no longer handles a case of a null last column when a CSV file is read. When I use 3-RC1 it crashes on the second line. This file contains 183 columns but they are not mapped to the end. It used to work correctly in v2.5.0! The first data line has a last column present, the second ends in a comma. The number '183' refers to the column number of the offending field. BTW, I do not use this field, nor do I map it since it is ignored. The error is: ... 2007/10/26 16:01:33 - convert line to row - Normal field found: [>SD_MSTR] 2007/10/26 16:01:33 - convert line to row - Normal field found: [endA] 2007/10/26 16:01:33 - convert line to row - Normal field found: [endB] 2007/10/26 16:01:33 - convert line to row - Normal field found: [endC] 2007/10/26 16:01:33 - convert line to row - End of line empty field found: [] 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Unexpected error : 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : org.pentaho.di.core.exception.KettleException: 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Error converting line 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Error converting line : java.lang.ArrayIndexOutOfBoundsException: 183 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 183 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToRow(TextFileInput.java:753) 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.processRow(TextFileInput.java:1010) 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.run(TextFileInput.java:1416) 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Caused by: org.pentaho.di.core.exception.KettleException: 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Error converting line : java.lang.ArrayIndexOutOfBoundsException: 183 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 183 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToStrings(TextFileInput.java:603) 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToRow(TextFileInput.java:636) 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : ... 2 more 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Caused by: java.lang.ArrayIndexOutOfBoundsException: 183 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToStrings(TextFileInput.java:570) ...

    Pentaho BI Platform Tracking | 9 years ago | Peter Mengaziol
    java.lang.ArrayIndexOutOfBoundsException: 183 183
  2. 0

    The "Text File Input" step no longer handles a case of a null last column when a CSV file is read. When I use 3-RC1 it crashes on the second line. This file contains 183 columns but they are not mapped to the end. It used to work correctly in v2.5.0! The first data line has a last column present, the second ends in a comma. The number '183' refers to the column number of the offending field. BTW, I do not use this field, nor do I map it since it is ignored. The error is: ... 2007/10/26 16:01:33 - convert line to row - Normal field found: [>SD_MSTR] 2007/10/26 16:01:33 - convert line to row - Normal field found: [endA] 2007/10/26 16:01:33 - convert line to row - Normal field found: [endB] 2007/10/26 16:01:33 - convert line to row - Normal field found: [endC] 2007/10/26 16:01:33 - convert line to row - End of line empty field found: [] 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Unexpected error : 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : org.pentaho.di.core.exception.KettleException: 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Error converting line 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Error converting line : java.lang.ArrayIndexOutOfBoundsException: 183 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 183 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToRow(TextFileInput.java:753) 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.processRow(TextFileInput.java:1010) 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.run(TextFileInput.java:1416) 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Caused by: org.pentaho.di.core.exception.KettleException: 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Error converting line : java.lang.ArrayIndexOutOfBoundsException: 183 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 183 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToStrings(TextFileInput.java:603) 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToRow(TextFileInput.java:636) 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : ... 2 more 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Caused by: java.lang.ArrayIndexOutOfBoundsException: 183 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToStrings(TextFileInput.java:570) ...

    Pentaho BI Platform Tracking | 9 years ago | Peter Mengaziol
    java.lang.ArrayIndexOutOfBoundsException: 183 183
  3. 0

    ArrayIndexOutOfBoundsException in weka.classifiers.Classifier.classifyInstance

    Stack Overflow | 4 years ago | user2366997
    java.lang.ArrayIndexOutOfBoundsException: 4 at weka.classifiers.bayes.net.estimate.DiscreteEstimatorBayes.getProbability(DiscreteEstimatorBayes.java:106) at weka.classifiers.bayes.net.estimate.SimpleEstimator.distributionForInstance(SimpleEstimator.java:183) at weka.classifiers.bayes.BayesNet.distributionForInstance(BayesNet.java:386)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins users - Getting exception when trying to build maven project by perforce plugin

    nabble.com | 8 months ago
    java.lang.ArrayIndexOutOfBoundsException: Assertion error: failing to load #10 ASC: lo=10,hi=0,size=10,size2=10 at org.apache.maven.lifecycle.internal.BuilderCommon.handleBuildError(BuilderCommon.java:128) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:95) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
  6. 0

    The "Text File Input" step no longer handles a case of a null last column when a CSV file is read. When I use 3-RC1 it crashes on the second line. This file contains 183 columns but they are not mapped to the end. It used to work correctly in v2.5.0! The first data line has a last column present, the second ends in a comma. The number '183' refers to the column number of the offending field. BTW, I do not use this field, nor do I map it since it is ignored. The error is: ... 2007/10/26 16:01:33 - convert line to row - Normal field found: [>SD_MSTR] 2007/10/26 16:01:33 - convert line to row - Normal field found: [endA] 2007/10/26 16:01:33 - convert line to row - Normal field found: [endB] 2007/10/26 16:01:33 - convert line to row - Normal field found: [endC] 2007/10/26 16:01:33 - convert line to row - End of line empty field found: [] 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Unexpected error : 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : org.pentaho.di.core.exception.KettleException: 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Error converting line 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Error converting line : java.lang.ArrayIndexOutOfBoundsException: 183 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 183 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToRow(TextFileInput.java:753) 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.processRow(TextFileInput.java:1010) 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.run(TextFileInput.java:1416) 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Caused by: org.pentaho.di.core.exception.KettleException: 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Error converting line : java.lang.ArrayIndexOutOfBoundsException: 183 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 183 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToStrings(TextFileInput.java:603) 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToRow(TextFileInput.java:636) 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : ... 2 more 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : Caused by: java.lang.ArrayIndexOutOfBoundsException: 183 2007/10/26 16:01:33 - bank_holdings_XXXXX_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToStrings(TextFileInput.java:570) ...

    Pentaho BI Platform Tracking | 9 years ago | Peter Mengaziol
    java.lang.ArrayIndexOutOfBoundsException: 183 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 183 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : 2007/10/26 16:01:33 - bank_holdings_AEXEO_input.0 - ERROR (version 3.0.0-RC1, build 299003 from 2007/10/01 23:14:52) : at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToRow(TextFileInput.java:753)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      183

      at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToStrings()
    2. org.pentaho.di
      TextFileInput.convertLineToStrings
      1. org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToStrings(TextFileInput.java:570)
      1 frame