org.pentaho.di.core.exception.KettleFileException: Exception reading line using NIO at org.pentaho.di.trans.steps.csvinput.CsvInput.run (CsvInput.java:347) at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow (CsvInput.java:81) at org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow (CsvInput.java:247) at org.pentaho.di.trans.steps.csvinput.CsvInput.run (CsvInput.java:347) at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow (CsvInput.java:81) at org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow (CsvInput.java:247)

Pentaho BI Platform Tracking | Dave Martland | 9 years ago
  1. 0

    Problem with 'CSV file input' Transformation. Generates an error if the last character in enclosed field is the field delimiter. e.g. when file contains key;name 1;"test1" 2;"test2" 3;"test3" 4;"test4" 5;"test5" everything is Ok. when file contains key;name 1;"test1;" 2;"test2" 3;"test3" 4;"test4" 5;"test5" the following error is produced : 2007/10/26 20:25:09 - Trans - This is not a replay transformation 2007/10/26 20:25:09 - Trans - This transformation can be replayed with replay date: 2007/10/26 20:25:09 2007/10/26 20:25:09 - Trans - Initialising 2 steps... 2007/10/26 20:25:09 - CSV file input.0 - Starting to run... 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : Unexpected error : 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : org.pentaho.di.core.exception.KettleFileException: 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : Exception reading line using NIO 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.run (CsvInput.java:347) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow (CsvInput.java:81) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow (CsvInput.java:247) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.run (CsvInput.java:347) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow (CsvInput.java:81) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow (CsvInput.java:247) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow(CsvInput.java:280) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow(CsvInput.java:81) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.run(CsvInput.java:347) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : Caused by: java.lang.NegativeArraySizeException 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow(CsvInput.java:247) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : ... 2 more 2007/10/26 20:25:09 - dummy.0 - Starting to run... 2007/10/26 20:25:09 - dummy.0 - Finished processing (I=0, O=0, R=0, W=0, U=0, E=0) 2007/10/26 20:25:09 - CSV file input.0 - Finished processing (I=1, O=0, R=0, W=0, U=0, E=1) also if delimiter is not last character, then contents of the delimited field after the delimiter are ignored. e.g. key;name 1;"test1;moredata" 2;"test2" 3;"test3" 4;"test4" 5;"test5" produces output key name 1 test 2 test2 3 test3 4 test4

    Pentaho BI Platform Tracking | 9 years ago | Dave Martland
    org.pentaho.di.core.exception.KettleFileException: Exception reading line using NIO at org.pentaho.di.trans.steps.csvinput.CsvInput.run (CsvInput.java:347) at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow (CsvInput.java:81) at org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow (CsvInput.java:247) at org.pentaho.di.trans.steps.csvinput.CsvInput.run (CsvInput.java:347) at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow (CsvInput.java:81) at org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow (CsvInput.java:247)
  2. 0

    Problem with 'CSV file input' Transformation. Generates an error if the last character in enclosed field is the field delimiter. e.g. when file contains key;name 1;"test1" 2;"test2" 3;"test3" 4;"test4" 5;"test5" everything is Ok. when file contains key;name 1;"test1;" 2;"test2" 3;"test3" 4;"test4" 5;"test5" the following error is produced : 2007/10/26 20:25:09 - Trans - This is not a replay transformation 2007/10/26 20:25:09 - Trans - This transformation can be replayed with replay date: 2007/10/26 20:25:09 2007/10/26 20:25:09 - Trans - Initialising 2 steps... 2007/10/26 20:25:09 - CSV file input.0 - Starting to run... 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : Unexpected error : 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : org.pentaho.di.core.exception.KettleFileException: 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : Exception reading line using NIO 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.run (CsvInput.java:347) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow (CsvInput.java:81) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow (CsvInput.java:247) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.run (CsvInput.java:347) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow (CsvInput.java:81) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow (CsvInput.java:247) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow(CsvInput.java:280) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow(CsvInput.java:81) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.run(CsvInput.java:347) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : Caused by: java.lang.NegativeArraySizeException 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : at org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow(CsvInput.java:247) 2007/10/26 20:25:09 - CSV file input.0 - ERROR (version 3.0.0-RC2, build 299029 from 2007/10/25 06:30:30) : ... 2 more 2007/10/26 20:25:09 - dummy.0 - Starting to run... 2007/10/26 20:25:09 - dummy.0 - Finished processing (I=0, O=0, R=0, W=0, U=0, E=0) 2007/10/26 20:25:09 - CSV file input.0 - Finished processing (I=1, O=0, R=0, W=0, U=0, E=1) also if delimiter is not last character, then contents of the delimited field after the delimiter are ignored. e.g. key;name 1;"test1;moredata" 2;"test2" 3;"test3" 4;"test4" 5;"test5" produces output key name 1 test 2 test2 3 test3 4 test4

    Pentaho BI Platform Tracking | 9 years ago | Dave Martland
    org.pentaho.di.core.exception.KettleFileException: Exception reading line using NIO at org.pentaho.di.trans.steps.csvinput.CsvInput.run (CsvInput.java:347) at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow (CsvInput.java:81) at org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow (CsvInput.java:247) at org.pentaho.di.trans.steps.csvinput.CsvInput.run (CsvInput.java:347) at org.pentaho.di.trans.steps.csvinput.CsvInput.processRow (CsvInput.java:81) at org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow (CsvInput.java:247)
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Error with large models - Issues - ImageJ Forum

    imagej.net | 1 month ago
    java.lang.NegativeArraySizeException

    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.NegativeArraySizeException

      No message provided

      at org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow()
    2. org.pentaho.di
      CsvInput.run
      1. org.pentaho.di.trans.steps.csvinput.CsvInput.readOneRow(CsvInput.java:247)
      2. org.pentaho.di.trans.steps.csvinput.CsvInput.processRow(CsvInput.java:81)
      3. org.pentaho.di.trans.steps.csvinput.CsvInput.run(CsvInput.java:347)
      3 frames