org.apache.metamodel.csv.InconsistentRowLengthException: Inconsistent length of row no. 1. Expected 16 columns but found 24.

GitHub | jhorcicka | 3 months ago
  1. 0

    New CSV datastore: new file selection; problem with different number of columns

    GitHub | 3 months ago | jhorcicka
    org.apache.metamodel.csv.InconsistentRowLengthException: Inconsistent length of row no. 1. Expected 16 columns but found 24.

    Root Cause Analysis

    1. org.apache.metamodel.csv.InconsistentRowLengthException

      Inconsistent length of row no. 1. Expected 16 columns but found 24.

      at org.apache.metamodel.csv.SingleLineCsvRow.getValuesInternal()
    2. org.apache.metamodel
      DataSetTableModel.getValueAt
      1. org.apache.metamodel.csv.SingleLineCsvRow.getValuesInternal(SingleLineCsvRow.java:69)
      2. org.apache.metamodel.csv.SingleLineCsvRow.getValue(SingleLineCsvRow.java:122)
      3. org.apache.metamodel.data.DataSetTableModel.getValueAt(DataSetTableModel.java:97)
      3 frames
    3. org.datacleaner.windows
      DataSetWindow$2.doInBackground
      1. org.datacleaner.windows.DataSetWindow.touchTableModel(DataSetWindow.java:207)
      2. org.datacleaner.windows.DataSetWindow.access$200(DataSetWindow.java:60)
      3. org.datacleaner.windows.DataSetWindow$2.doInBackground(DataSetWindow.java:158)
      4. org.datacleaner.windows.DataSetWindow$2.doInBackground(DataSetWindow.java:155)
      4 frames
    4. Java RT
      Thread.run
      1. javax.swing.SwingWorker$1.call(SwingWorker.java:295)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. javax.swing.SwingWorker.run(SwingWorker.java:334)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      6. java.lang.Thread.run(Thread.java:745)
      6 frames