java.lang.ArrayIndexOutOfBoundsException: 11

Pentaho BI Platform Tracking | Hyzandey Castro Alves | 1 year 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

    I can only get the Database lookup step to get the data from the database (postgres 9.4) if i check the option "load all data from table". Otherwise, I only get NULL values for the String values and "0" for the Integer values. Another weird thing happens when I chain some Database lookup steps. At the fourth one, i get an ArrayOutOfBoundsException. On the other hand, when I check the load all data from table option, it does not happen anymore. A copy of the error log I get is below: 2015/11/13 15:36:31 - Database lookup - pmieducar.turma.0 - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : Erro inesperado 2015/11/13 15:36:31 - Database lookup - pmieducar.turma.0 - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : java.lang.ArrayIndexOutOfBoundsException: 11 2015/11/13 15:36:31 - Database lookup - pmieducar.turma.0 - at org.pentaho.di.trans.steps.databaselookup.DatabaseLookup.lookupValues(DatabaseLookup.java:207) 2015/11/13 15:36:31 - Database lookup - pmieducar.turma.0 - at org.pentaho.di.trans.steps.databaselookup.DatabaseLookup.processRow(DatabaseLookup.java:503) 2015/11/13 15:36:31 - Database lookup - pmieducar.turma.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2015/11/13 15:36:31 - Database lookup - pmieducar.turma.0 - at java.lang.Thread.run(Thread.java:745) I was using the 5.3 version of Kettle, but the 6.0 version still gave me this problem.

    Pentaho BI Platform Tracking | 1 year ago | Hyzandey Castro Alves
    java.lang.ArrayIndexOutOfBoundsException: 11
  2. 0

    I can only get the Database lookup step to get the data from the database (postgres 9.4) if i check the option "load all data from table". Otherwise, I only get NULL values for the String values and "0" for the Integer values. Another weird thing happens when I chain some Database lookup steps. At the fourth one, i get an ArrayOutOfBoundsException. On the other hand, when I check the load all data from table option, it does not happen anymore. A copy of the error log I get is below: {noformat} 2015/11/13 15:36:31 - Database lookup - pmieducar.turma.0 - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : Erro inesperado 2015/11/13 15:36:31 - Database lookup - pmieducar.turma.0 - ERROR (version 5.3.0.0-213, build 1 from 2015-02-02_12-17-08 by buildguy) : java.lang.ArrayIndexOutOfBoundsException: 11 2015/11/13 15:36:31 - Database lookup - pmieducar.turma.0 - at org.pentaho.di.trans.steps.databaselookup.DatabaseLookup.lookupValues(DatabaseLookup.java:207) 2015/11/13 15:36:31 - Database lookup - pmieducar.turma.0 - at org.pentaho.di.trans.steps.databaselookup.DatabaseLookup.processRow(DatabaseLookup.java:503) 2015/11/13 15:36:31 - Database lookup - pmieducar.turma.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2015/11/13 15:36:31 - Database lookup - pmieducar.turma.0 - at java.lang.Thread.run(Thread.java:745) {noformat} I was using the 5.3 version of Kettle, but the 6.0 version still gave me this problem.

    Pentaho BI Platform Tracking | 1 year ago | Hyzandey Castro Alves
    java.lang.ArrayIndexOutOfBoundsException: 11
  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

  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

      11

      at org.pentaho.di.trans.steps.databaselookup.DatabaseLookup.lookupValues()
    2. org.pentaho.di
      RunThread.run
      1. org.pentaho.di.trans.steps.databaselookup.DatabaseLookup.lookupValues(DatabaseLookup.java:207)
      2. org.pentaho.di.trans.steps.databaselookup.DatabaseLookup.processRow(DatabaseLookup.java:503)
      3. org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
      3 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame