Hitachi Vantara Pentaho Community Forums
Results 1 to 6 of 6

Thread: PDI 4.0 CSV File Input BUG?

  1. #1
    Join Date
    Feb 2010
    Posts
    19

    Default PDI 4.0 CSV File Input BUG?

    Hi,

    Last week I downloaded the PDI's new version (4.0.0) community edition. Before I'd always used the 3.2.0.

    The first test was executing jobs/transformations from 3.2.0 on 4.0.0.
    After that, I started a new transformation on 4.0.0 and then had a problem.

    I used the same CSV file to this:
    - Input a CSV File, process something on it, Output another CSV file.

    PDI 3.2.0: No problem. Everything ok.

    PDI 4.0.0: The CSV file input component doesn't work.

    CSV file input configuration:
    Name:  Test_1.jpg
Views: 171
Size:  25.8 KB

    The Error when I try to "Obtem Campos" (list the CSV's columns)
    Name:  Test_2.JPG
Views: 181
Size:  13.3 KB

    Error Stacktrace (Details):
    java.lang.reflect.InvocationTargetException: Problem encountered scanning the CSV file in row #101 (get first line) : java.lang.NullPointerException
    at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog$1.run(TextFileCSVImportProgressDialog.java:116)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    Caused by: java.lang.NullPointerException
    at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog.doScan(TextFileCSVImportProgressDialog.java:357)
    at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog.access$100(TextFileCSVImportProgressDialog.java:59)
    at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog$1.run(TextFileCSVImportProgressDialog.java:111)
    ... 1 more



    Anyone had this problem?
    What can I do?

    Thanks

  2. #2
    Join Date
    Nov 1999
    Posts
    9,729

    Default

    Gilmar, please file a bug report with a sample file and the failing transformation.

    Thanks in advance,
    Matt

  3. #3
    Join Date
    Sep 2010
    Posts
    4

    Default

    I have the same problem with PDI 4.0.0 It works for most of the files but there is this one CSV file for which its not working.
    Any fix for this problem?
    I've been getting this problem in the CSV file input step.

    I'll try it on older version (3.2.0) and see if it works fine

    This is the error log:

    2010/09/23 16:35:07 - CSV file input.0 - ERROR (version 4.0.0-stable, build 13376 from 2010-06-15 11.00.26 by buildguy) : Unexpected error :
    2010/09/23 16:35:07 - CSV file input.0 - ERROR (version 4.0.0-stable, build 13376 from 2010-06-15 11.00.26 by buildguy) : java.lang.NullPointerException
    2010/09/23 16:35:07 - CSV file input.0 - ERROR (version 4.0.0-stable, build 13376 from 2010-06-15 11.00.26 by buildguy) : org.pentaho.di.trans.step.BaseStep.putError(BaseStep.java:1287)
    2010/09/23 16:35:07 - CSV file input.0 - ERROR (version 4.0.0-stable, build 13376 from 2010-06-15 11.00.26 by buildguy) : org.pentaho.di.trans.steps.csvinput.CsvInput.processRow(CsvInput.java:167)
    2010/09/23 16:35:07 - CSV file input.0 - ERROR (version 4.0.0-stable, build 13376 from 2010-06-15 11.00.26 by buildguy) : org.pentaho.di.trans.step.RunThread.run(RunThread.java:40)
    2010/09/23 16:35:07 - CSV file input.0 - ERROR (version 4.0.0-stable, build 13376 from 2010-06-15 11.00.26 by buildguy) : java.lang.Thread.run(Thread.java:595)
    2010/09/23 16:35:07 - Sort rows.0 - Starting quickSort algorithm...
    2010/09/23 16:35:07 - StudentRecords-239b_Crazy - ERROR (version 4.0.0-stable, build 13376 from 2010-06-15 11.00.26 by buildguy) : Errors detected!
    2010/09/23 16:35:07 - Sort rows.0 - QuickSort algorithm has finished.
    2010/09/23 16:35:07 - StudentRecords-239b_Crazy - ERROR (version 4.0.0-stable, build 13376 from 2010-06-15 11.00.26 by buildguy) : Errors detected!

  4. #4
    Join Date
    Jul 2007
    Posts
    247

    Default

    Try the 4.0.1 release from Sourceforge. If the error persists, please file a bug report at http://jira.pentaho.com/browse/PDI


    Regards,
    Ben

  5. #5
    Join Date
    Sep 2010
    Posts
    4

    Default

    Quote Originally Posted by BeLienig View Post
    Try the 4.0.1 release from Sourceforge. If the error persists, please file a bug report at http://jira.pentaho.com/browse/PDI


    Regards,
    Ben
    Thanks
    I'll try that and see if I still get the error.
    The same file is working fine for me on 3.2.0

  6. #6
    Join Date
    Sep 2010
    Posts
    4

    Default

    I tried the 4.0.1 release but I get the same message as before in 4.0.0
    Is there a bug report already filed for this?
    It worked fine for me in 3.2.0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.