java.lang.ArrayIndexOutOfBoundsException: -1

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.

Root Cause Analysis

  1. java.lang.ArrayIndexOutOfBoundsException

    -1

    at org.apache.flink.api.common.io.GenericCsvInputFormat.skipFields()
  2. flink-core
    GenericCsvInputFormat.parseRecord
    1. org.apache.flink.api.common.io.GenericCsvInputFormat.skipFields(GenericCsvInputFormat.java:443)
    2. org.apache.flink.api.common.io.GenericCsvInputFormat.parseRecord(GenericCsvInputFormat.java:412)
    2 frames
  3. flink-java
    CsvInputFormat.readRecord
    1. org.apache.flink.api.java.io.CsvInputFormat.readRecord(CsvInputFormat.java:111)
    1 frame
  4. flink-core
    DelimitedInputFormat.nextRecord
    1. org.apache.flink.api.common.io.DelimitedInputFormat.nextRecord(DelimitedInputFormat.java:454)
    1 frame
  5. flink-java
    CsvInputFormat.nextRecord
    1. org.apache.flink.api.java.io.CsvInputFormat.nextRecord(CsvInputFormat.java:79)
    1 frame
  6. flink-runtime
    Task.run
    1. org.apache.flink.runtime.operators.DataSourceTask.invoke(DataSourceTask.java:176)
    2. org.apache.flink.runtime.taskmanager.Task.run(Task.java:559)
    2 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame