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

incubator-beam-user | William McCarthy | 1 year 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

    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. tzrlk 1 times, last 4 weeks ago
  2. alto 1 times, last 4 weeks ago
  3. gamebusterz 1 times, last 4 weeks ago
  4. jokester 2 times, last 1 month ago
  5. Andreas Häber 1 times, last 2 months ago
62 more registered users
33 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