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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via incubator-beam-user by Bill McCarthy, 1 year ago
The main method caused an error.
via incubator-beam-user by Maximilian Michels, 1 year ago
The main method caused an error.
via beam-user by Bill McCarthy, 1 year ago
The main method caused an error.
via beam-user by Maximilian Michels, 1 year ago
The main method caused an error.
via incubator-beam-user by Maximilian Michels, 1 year ago
The main method caused an error.
via incubator-beam-user by Bill McCarthy, 1 year ago
The main method caused an error.
org.apache.flink.client.program.ProgramInvocationException: The main method caused an error.
at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:520)
at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:403)
at org.apache.flink.client.program.Client.runBlocking(Client.java:248)
at org.apache.flink.client.CliFrontend.executeProgramBlocking(CliFrontend.java:866)
at org.apache.flink.client.CliFrontend.run(CliFrontend.java:333)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.