org.apache.flink.client.program.ProgramInvocationException: The main method caused an error.

incubator-beam-user | Maximilian Michels | 1 year ago
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.
  1. 0

    Re: Output from Beam (on Flink) to Kafka

    beam-user | 1 year ago | William McCarthy
    org.apache.flink.client.program.ProgramInvocationException: The main method caused an error.
  2. 0

    Re: Output from Beam (on Flink) to Kafka

    beam-user | 1 year ago | Aljoscha Krettek
    org.apache.flink.client.program.ProgramInvocationException: The main method caused an error.
  3. 0

    Re: Output from Beam (on Flink) to Kafka

    beam-user | 1 year ago | Maximilian Michels
    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

    Re: Output from Beam (on Flink) to Kafka

    beam-user | 1 year ago | William McCarthy
    org.apache.flink.client.program.ProgramInvocationException: The main method caused an error.
  6. 0

    Re: Output from Beam (on Flink) to Kafka

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

  1. jokester 2 times, last 1 week ago
  2. Andreas Häber 1 times, last 2 weeks ago
  3. Bugger 5 times, last 3 weeks ago
  4. marcbouvierdav 2 times, last 3 weeks ago
  5. jf-ast 2 times, last 3 weeks ago
60 more registered users
35 unregistered visitors
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. java.lang.ClassNotFoundException

    FlinkPipelineRunner

    at java.net.URLClassLoader.findClass()
  2. Java RT
    Class.forName
    1. java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    4. java.lang.Class.forName0(Native Method)
    5. java.lang.Class.forName(Class.java:264)
    5 frames
  3. com.google.cloud
    TopHashtagsExample.main
    1. com.google.cloud.dataflow.sdk.options.PipelineOptionsFactory.parseObjects(PipelineOptionsFactory.java:1473)
    2. com.google.cloud.dataflow.sdk.options.PipelineOptionsFactory.access$400(PipelineOptionsFactory.java:101)
    3. com.google.cloud.dataflow.sdk.options.PipelineOptionsFactory$Builder.as(PipelineOptionsFactory.java:286)
    4. com.google.cloud.dataflow.contrib.kafka.examples.TopHashtagsExample.main(TopHashtagsExample.java:117)
    4 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  5. flink-clients
    CliFrontend.main
    1. org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:505)
    2. org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:403)
    3. org.apache.flink.client.program.Client.runBlocking(Client.java:248)
    4. org.apache.flink.client.CliFrontend.executeProgramBlocking(CliFrontend.java:866)
    5. org.apache.flink.client.CliFrontend.run(CliFrontend.java:333)
    6. org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:1189)
    7. org.apache.flink.client.CliFrontend.main(CliFrontend.java:1239)
    7 frames