org.apache.flink.api.common.InvalidProgramException: The type returned by the input format could not be automatically determined. Please specify the TypeInformation of the produced type explicitly.

flink-user | Alexander Alexandrov | 2 years ago
  1. 0

    TypeSerializerInputFormat cannot determine its type automatically

    flink-user | 2 years ago | Alexander Alexandrov
    org.apache.flink.api.common.InvalidProgramException: The type returned by the input format could not be automatically determined. Please specify the TypeInformation of the produced type explicitly.
  2. 0

    [jira] [Created] (FLINK-3696) Some Union tests fail for TableConfigMode.EFFICIENT

    flink-dev | 8 months ago | Vasia Kalavri (JIRA)
    org.apache.flink.api.common.InvalidProgramException: Cannot union inputs of different types. Input1=scala.Tuple3(_1: Integer, _2: Long, _3: String), input2=Java Tuple3<Integer, Long, String>
  3. 0

    Re: Using Kryo for serializing lambda closures

    flink-user | 1 year ago | Till Rohrmann
    org.apache.flink.client.program.ProgramInvocationException: The main method caused an error.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Apache Flink: The RemoteEnvironment cannot be instantiated when running in a pre-defined context

    Stack Overflow | 12 months ago | A.Sa
    org.apache.flink.client.program.ProgramInvocationException: The main method caused an error.
  6. 0

    Using Kryo for serializing lambda closures

    flink-user | 1 year ago | Nick Dimiduk
    org.apache.flink.client.program.ProgramInvocationException: The main method caused an error.

    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. org.apache.flink.api.common.InvalidProgramException

      The type returned by the input format could not be automatically determined. Please specify the TypeInformation of the produced type explicitly.

      at org.apache.flink.api.java.ExecutionEnvironment.readFile()
    2. flink-java
      ExecutionEnvironment.readFile
      1. org.apache.flink.api.java.ExecutionEnvironment.readFile(ExecutionEnvironment.java:341)
      1 frame
    3. Unknown
      SerializedFormatExample.main
      1. SerializedFormatExample$.main(SerializedFormatExample.scala:48)
      2. SerializedFormatExample.main(SerializedFormatExample.scala)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)
      1 frame