java.lang.ArrayIndexOutOfBoundsException: 3

Pentaho BI Platform Tracking | Martin W. Kirst | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 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
  2. 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
  3. 0

    [SCRIPT] java.lang.ArrayIndexOutOfBoundsException: 1

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

    Automated exception search integrated into your IDE

    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

      3

      at org.pentaho.di.trans.steps.stringoperations.StringOperations.processRow()
    2. org.pentaho.di
      RunThread.run
      1. org.pentaho.di.trans.steps.stringoperations.StringOperations.processRow(StringOperations.java:199)
      2. org.pentaho.di.trans.steps.stringoperations.StringOperations.processRow(StringOperations.java:297)
      3. org.pentaho.di.trans.step.RunThread.run(RunThread.java:40)
      3 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame