java.lang.ArrayIndexOutOfBoundsException: 13 2013/09/20 08:59:14 - Regex Evaluation.0 - at org.pentaho.di.trans.steps.regexeval.RegexEval.processRow(RegexEval.java:145) 2013/09/20 08:59:14 - Regex Evaluation.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2013/09/20 08:59:14 - Regex Evaluation.0 - at java.lang.Thread.run(Thread.java:724) Second when the output fields do NOT exist, the Regex Evaluation steps gives the following error and fails. In 4.4.0.0 the output fields did not have to exist and you could still check the "Replace previous fields" option and the step would still work. ERROR (version 5.0.0.1, build 1 from 2013-09-11_16-51-19 by buildguy) : Unexpected error ERROR (version 5.0.0.1, build 1 from 2013-09-11_16-51-19 by buildguy) : org.pentaho.di.core.exception.KettleStepException: org.pentaho.di.core.exception.KettleStepException: We cannot find result field to replace [result] We cannot find result field to replace [result]

Pentaho BI Platform Tracking | Chris Deptula | 3 years ago
  1. 0

    There are 2 errors in 5.0 that did not occur in 4.4.0.0 with the Regex evaluation step when Replace previous fields is checked. First when the output fields do exist, the Regex Evaluation step gives the following error and fails so you cannot replace previous fields: 2013/09/20 08:59:14 - Regex Evaluation.0 - ERROR (version 5.0.0.1, build 1 from 2013-09-11_16-51-19 by buildguy) : java.lang.ArrayIndexOutOfBoundsException: 13 2013/09/20 08:59:14 - Regex Evaluation.0 - at org.pentaho.di.trans.steps.regexeval.RegexEval.processRow(RegexEval.java:145) 2013/09/20 08:59:14 - Regex Evaluation.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2013/09/20 08:59:14 - Regex Evaluation.0 - at java.lang.Thread.run(Thread.java:724) Second when the output fields do NOT exist, the Regex Evaluation steps gives the following error and fails. In 4.4.0.0 the output fields did not have to exist and you could still check the "Replace previous fields" option and the step would still work. 2013/09/20 08:43:20 - Regex Evaluation.0 - ERROR (version 5.0.0.1, build 1 from 2013-09-11_16-51-19 by buildguy) : Unexpected error 2013/09/20 08:43:20 - Regex Evaluation.0 - ERROR (version 5.0.0.1, build 1 from 2013-09-11_16-51-19 by buildguy) : org.pentaho.di.core.exception.KettleStepException: 2013/09/20 08:43:20 - Regex Evaluation.0 - org.pentaho.di.core.exception.KettleStepException: 2013/09/20 08:43:20 - Regex Evaluation.0 - We cannot find result field to replace [result] 2013/09/20 08:43:20 - Regex Evaluation.0 - 2013/09/20 08:43:20 - Regex Evaluation.0 - 2013/09/20 08:43:20 - Regex Evaluation.0 - We cannot find result field to replace [result] 2013/09/20 08:43:20 - Regex Evaluation.0 - 2013/09/20 08:43:20 - Regex Evaluation.0 - 2013/09/20 08:43:20 - Regex Evaluation.0 - at org.pentaho.di.trans.steps.regexeval.RegexEvalMeta.getFields(RegexEvalMeta.java:507) 2013/09/20 08:43:20 - Regex Evaluation.0 - at org.pentaho.di.trans.steps.regexeval.RegexEval.processRow(RegexEval.java:83) 2013/09/20 08:43:20 - Regex Evaluation.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2013/09/20 08:43:20 - Regex Evaluation.0 - at java.lang.Thread.run(Thread.java:724) 2013/09/20 08:43:20 - Regex Evaluation.0 - Caused by: org.pentaho.di.core.exception.KettleStepException: 2013/09/20 08:43:20 - Regex Evaluation.0 - We cannot find result field to replace [result] 2013/09/20 08:43:20 - Regex Evaluation.0 - 2013/09/20 08:43:20 - Regex Evaluation.0 - at org.pentaho.di.trans.steps.regexeval.RegexEvalMeta.getFields(RegexEvalMeta.java:473) 2013/09/20 08:43:20 - Regex Evaluation.0 - ... 3 more

    Pentaho BI Platform Tracking | 3 years ago | Chris Deptula
    java.lang.ArrayIndexOutOfBoundsException: 13 2013/09/20 08:59:14 - Regex Evaluation.0 - at org.pentaho.di.trans.steps.regexeval.RegexEval.processRow(RegexEval.java:145) 2013/09/20 08:59:14 - Regex Evaluation.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2013/09/20 08:59:14 - Regex Evaluation.0 - at java.lang.Thread.run(Thread.java:724) Second when the output fields do NOT exist, the Regex Evaluation steps gives the following error and fails. In 4.4.0.0 the output fields did not have to exist and you could still check the "Replace previous fields" option and the step would still work. ERROR (version 5.0.0.1, build 1 from 2013-09-11_16-51-19 by buildguy) : Unexpected error ERROR (version 5.0.0.1, build 1 from 2013-09-11_16-51-19 by buildguy) : org.pentaho.di.core.exception.KettleStepException: org.pentaho.di.core.exception.KettleStepException: We cannot find result field to replace [result] We cannot find result field to replace [result]
  2. 0

    There are 2 errors in 5.0 that did not occur in 4.4.0.0 with the Regex evaluation step when Replace previous fields is checked. First when the output fields do exist, the Regex Evaluation step gives the following error and fails so you cannot replace previous fields: 2013/09/20 08:59:14 - Regex Evaluation.0 - ERROR (version 5.0.0.1, build 1 from 2013-09-11_16-51-19 by buildguy) : java.lang.ArrayIndexOutOfBoundsException: 13 2013/09/20 08:59:14 - Regex Evaluation.0 - at org.pentaho.di.trans.steps.regexeval.RegexEval.processRow(RegexEval.java:145) 2013/09/20 08:59:14 - Regex Evaluation.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2013/09/20 08:59:14 - Regex Evaluation.0 - at java.lang.Thread.run(Thread.java:724) Second when the output fields do NOT exist, the Regex Evaluation steps gives the following error and fails. In 4.4.0.0 the output fields did not have to exist and you could still check the "Replace previous fields" option and the step would still work. 2013/09/20 08:43:20 - Regex Evaluation.0 - ERROR (version 5.0.0.1, build 1 from 2013-09-11_16-51-19 by buildguy) : Unexpected error 2013/09/20 08:43:20 - Regex Evaluation.0 - ERROR (version 5.0.0.1, build 1 from 2013-09-11_16-51-19 by buildguy) : org.pentaho.di.core.exception.KettleStepException: 2013/09/20 08:43:20 - Regex Evaluation.0 - org.pentaho.di.core.exception.KettleStepException: 2013/09/20 08:43:20 - Regex Evaluation.0 - We cannot find result field to replace [result] 2013/09/20 08:43:20 - Regex Evaluation.0 - 2013/09/20 08:43:20 - Regex Evaluation.0 - 2013/09/20 08:43:20 - Regex Evaluation.0 - We cannot find result field to replace [result] 2013/09/20 08:43:20 - Regex Evaluation.0 - 2013/09/20 08:43:20 - Regex Evaluation.0 - 2013/09/20 08:43:20 - Regex Evaluation.0 - at org.pentaho.di.trans.steps.regexeval.RegexEvalMeta.getFields(RegexEvalMeta.java:507) 2013/09/20 08:43:20 - Regex Evaluation.0 - at org.pentaho.di.trans.steps.regexeval.RegexEval.processRow(RegexEval.java:83) 2013/09/20 08:43:20 - Regex Evaluation.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2013/09/20 08:43:20 - Regex Evaluation.0 - at java.lang.Thread.run(Thread.java:724) 2013/09/20 08:43:20 - Regex Evaluation.0 - Caused by: org.pentaho.di.core.exception.KettleStepException: 2013/09/20 08:43:20 - Regex Evaluation.0 - We cannot find result field to replace [result] 2013/09/20 08:43:20 - Regex Evaluation.0 - 2013/09/20 08:43:20 - Regex Evaluation.0 - at org.pentaho.di.trans.steps.regexeval.RegexEvalMeta.getFields(RegexEvalMeta.java:473) 2013/09/20 08:43:20 - Regex Evaluation.0 - ... 3 more

    Pentaho BI Platform Tracking | 3 years ago | Chris Deptula
    java.lang.ArrayIndexOutOfBoundsException: 13 2013/09/20 08:59:14 - Regex Evaluation.0 - at org.pentaho.di.trans.steps.regexeval.RegexEval.processRow(RegexEval.java:145) 2013/09/20 08:59:14 - Regex Evaluation.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2013/09/20 08:59:14 - Regex Evaluation.0 - at java.lang.Thread.run(Thread.java:724) Second when the output fields do NOT exist, the Regex Evaluation steps gives the following error and fails. In 4.4.0.0 the output fields did not have to exist and you could still check the "Replace previous fields" option and the step would still work. ERROR (version 5.0.0.1, build 1 from 2013-09-11_16-51-19 by buildguy) : Unexpected error ERROR (version 5.0.0.1, build 1 from 2013-09-11_16-51-19 by buildguy) : org.pentaho.di.core.exception.KettleStepException: org.pentaho.di.core.exception.KettleStepException: We cannot find result field to replace [result] We cannot find result field to replace [result]
  3. 0

    [SCRIPT] java.lang.ArrayIndexOutOfBoundsException: 1

    pentaho.com | 5 months ago
    java.lang.ArrayIndexOutOfBoundsException: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When using 'Out stream field' in String operations step, the following error occurs: ----------------------------------------------------------- String operations.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : Unexpected error String operations.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : java.lang.ArrayIndexOutOfBoundsException: 3 String operations.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.trans.steps.stringoperations.StringOperations.processRow(StringOperations.java:199) String operations.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.trans.steps.stringoperations.StringOperations.processRow(StringOperations.java:297) String operations.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at org.pentaho.di.trans.step.RunThread.run(RunThread.java:40) String operations.0 - ERROR (version 4.2.0-stable, build 15748 from 2011-09-08 13.11.42 by buildguy) : at java.lang.Thread.run(Thread.java:722) ----------------------------------------------------------- Steps to reproduce: * Create a new Transformation * Add step 'Generate Random Value' * Add step 'String operations' * Connect from step Random to step StringOp * Edit step Random and add two new fields with type String - call them "RndVal1" and "RndVal2" * Edit step String Operations: ** #1 RndVal1 .... (all default options) ** #2 RndVal2 -> New Out stream field called "NewField1" ... (all other default options) Save & Launch the transformation to get this error. Example: See attached transformation -------------------------------------------------------- Workaround: Don't use 'Out stream field option' but use other steps instead (for example add constant) -------------------------------------------------------- Proposed solution: see attached patch

    Pentaho BI Platform Tracking | 5 years ago | Martin W. Kirst
    java.lang.ArrayIndexOutOfBoundsException: 3

    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

      13 2013/09/20 08:59:14 - Regex Evaluation.0 - at org.pentaho.di.trans.steps.regexeval.RegexEval.processRow(RegexEval.java:145) 2013/09/20 08:59:14 - Regex Evaluation.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:60) 2013/09/20 08:59:14 - Regex Evaluation.0 - at java.lang.Thread.run(Thread.java:724) Second when the output fields do NOT exist, the Regex Evaluation steps gives the following error and fails. In 4.4.0.0 the output fields did not have to exist and you could still check the "Replace previous fields" option and the step would still work. ERROR (version 5.0.0.1, build 1 from 2013-09-11_16-51-19 by buildguy) : Unexpected error ERROR (version 5.0.0.1, build 1 from 2013-09-11_16-51-19 by buildguy) : org.pentaho.di.core.exception.KettleStepException: org.pentaho.di.core.exception.KettleStepException: We cannot find result field to replace [result] We cannot find result field to replace [result]

      at org.pentaho.di.trans.steps.regexeval.RegexEvalMeta.getFields()
    2. org.pentaho.di
      RunThread.run
      1. org.pentaho.di.trans.steps.regexeval.RegexEvalMeta.getFields(RegexEvalMeta.java:507)
      2. org.pentaho.di.trans.steps.regexeval.RegexEval.processRow(RegexEval.java:83)
      3. org.pentaho.di.trans.step.RunThread.run(RunThread.java:60)
      3 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:724)
      1 frame