java.lang.reflect.InvocationTargetException: Problem encountered scanning the CSV file in row #2 (get first line) : java.lang.NullPointerException

Pentaho BI Platform Tracking | Jake Cornelius | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0
  2. 0
  3. 0

    {noformat} java.lang.reflect.InvocationTargetException: Problem encountered scanning the CSV file in row #1 (get first line) : org.pentaho.di.core.exception.KettleException: Error converting line at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:113) at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog$1.run (TextFileCSVImportProgressDialog.java:117) at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog.access$100 (TextFileCSVImportProgressDialog.java:65) at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog.doScan (TextFileCSVImportProgressDialog.java:300) at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToRow (TextFileInput.java:681) at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog$1.run(TextFileCSVImportProgressDialog.java:120) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113) Caused by: org.pentaho.di.core.exception.KettleException: Error converting line at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:113) at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog$1.run (TextFileCSVImportProgressDialog.java:117) at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog.access$100 (TextFileCSVImportProgressDialog.java:65) at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog.doScan (TextFileCSVImportProgressDialog.java:300) at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToRow (TextFileInput.java:681) at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToRow(TextFileInput.java:811) at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog.doScan(TextFileCSVImportProgressDialog.java:300) at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog.access$100(TextFileCSVImportProgressDialog.java:65) at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog$1.run(TextFileCSVImportProgressDialog.java:117) ... 1 more Caused by: java.lang.NullPointerException at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToRow(TextFileInput.java:681) ... 4 more {noformat}

    Pentaho BI Platform Tracking | 2 years ago | Carl Speshock
    java.lang.reflect.InvocationTargetException: Problem encountered scanning the CSV file in row #1 (get first line) : org.pentaho.di.core.exception.KettleException: Error converting line at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:113) at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog$1.run (TextFileCSVImportProgressDialog.java:117) at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog.access$100 (TextFileCSVImportProgressDialog.java:65) at org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog.doScan (TextFileCSVImportProgressDialog.java:300) at org.pentaho.di.trans.steps.textfileinput.TextFileInput.convertLineToRow (TextFileInput.java:681)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at org.pentaho.di.core.util.StringEvaluator.evaluateLength()
    2. org.pentaho.di
      TextFileCSVImportProgressDialog$1.run
      1. org.pentaho.di.core.util.StringEvaluator.evaluateLength(StringEvaluator.java:168)
      2. org.pentaho.di.core.util.StringEvaluator.evaluateString(StringEvaluator.java:48)
      3. org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog.doScan(TextFileCSVImportProgressDialog.java:304)
      4. org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog.access$100(TextFileCSVImportProgressDialog.java:56)
      5. org.pentaho.di.ui.trans.steps.textfileinput.TextFileCSVImportProgressDialog$1.run(TextFileCSVImportProgressDialog.java:108)
      5 frames
    3. JFace
      ModalContext$ModalContextThread.run
      1. org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
      1 frame