org.apache.flink.client.program.ProgramInvocationException: The program execution failed: Job execution failed.

Apache's JIRA Issue Tracker | Renkai Ge | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    I'm trying the table apis. I got some errors like this My code is in the attachments ------------------------------------------------------------ The program finished with the following exception: org.apache.flink.client.program.ProgramInvocationException: The program execution failed: Job execution failed. at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:413) at org.apache.flink.client.program.StandaloneClusterClient.submitJob(StandaloneClusterClient.java:92) at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:389) at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:376) at org.apache.flink.client.program.ContextEnvironment.execute(ContextEnvironment.java:61) at org.apache.flink.api.java.ExecutionEnvironment.execute(ExecutionEnvironment.java:896) at org.apache.flink.api.java.DataSet.collect(DataSet.java:410) at org.apache.flink.api.java.DataSet.print(DataSet.java:1605) at org.apache.flink.api.scala.DataSet.print(DataSet.scala:1672) at TestMain$.main(TestMain.scala:31) at TestMain.main(TestMain.scala) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.apache.flink.client.program.PackagedProgram.callMainMethod(PackagedProgram.java:509) at org.apache.flink.client.program.PackagedProgram.invokeInteractiveModeForExecution(PackagedProgram.java:403) at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:331) at org.apache.flink.client.CliFrontend.executeProgram(CliFrontend.java:777) at org.apache.flink.client.CliFrontend.run(CliFrontend.java:253) at org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:1005) at org.apache.flink.client.CliFrontend.main(CliFrontend.java:1048) Caused by: org.apache.flink.runtime.client.JobExecutionException: Job execution failed. at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$handleMessage$1$$anonfun$applyOrElse$7.apply$mcV$sp(JobManager.scala:853) at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$handleMessage$1$$anonfun$applyOrElse$7.apply(JobManager.scala:799) at org.apache.flink.runtime.jobmanager.JobManager$$anonfun$handleMessage$1$$anonfun$applyOrElse$7.apply(JobManager.scala:799) at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:401) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1253) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1346) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) Caused by: java.lang.Exception: The user defined 'open(Configuration)' method in class org.apache.flink.api.table.runtime.FlatMapRunner caused an exception: Table program cannot be compiled. This is a bug. Please file an issue. at org.apache.flink.runtime.operators.BatchTask.openUserCode(BatchTask.java:1337) at org.apache.flink.runtime.operators.chaining.ChainedFlatMapDriver.openTask(ChainedFlatMapDriver.java:47) at org.apache.flink.runtime.operators.BatchTask.openChainedTasks(BatchTask.java:1377) at org.apache.flink.runtime.operators.BatchTask.run(BatchTask.java:471) at org.apache.flink.runtime.operators.BatchTask.invoke(BatchTask.java:351) at org.apache.flink.runtime.taskmanager.Task.run(Task.java:584) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.flink.api.common.InvalidProgramException: Table program cannot be compiled. This is a bug. Please file an issue. at org.apache.flink.api.table.runtime.FunctionCompiler$class.compile(FunctionCompiler.scala:37) at org.apache.flink.api.table.runtime.FlatMapRunner.compile(FlatMapRunner.scala:28) at org.apache.flink.api.table.runtime.FlatMapRunner.open(FlatMapRunner.scala:42) at org.apache.flink.api.common.functions.util.FunctionUtils.openFunction(FunctionUtils.java:38) at org.apache.flink.runtime.operators.BatchTask.openUserCode(BatchTask.java:1335) ... 6 more Caused by: org.codehaus.commons.compiler.CompileException: Line 46, Column 11: Expression "null" is not a type at org.codehaus.janino.Java$Located.throwCompileException(Java.java:111) at org.codehaus.janino.Java$Atom.toTypeOrCompileException(Java.java:2684) at org.codehaus.janino.Parser.parseBlockStatement(Parser.java:1162) at org.codehaus.janino.Parser.parseBlockStatements(Parser.java:1090) at org.codehaus.janino.Parser.parseMethodDeclarationRest(Parser.java:943) at org.codehaus.janino.Parser.parseClassBodyDeclaration(Parser.java:569) at org.codehaus.janino.Parser.parseClassBody(Parser.java:519) at org.codehaus.janino.Parser.parseClassDeclarationRest(Parser.java:485) at org.codehaus.janino.Parser.parsePackageMemberTypeDeclaration(Parser.java:273) at org.codehaus.janino.Parser.parseCompilationUnit(Parser.java:168) at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:201) at org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:192) at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:84) at org.codehaus.commons.compiler.Cookable.cook(Cookable.java:77) at org.apache.flink.api.table.runtime.FunctionCompiler$class.compile(FunctionCompiler.scala:34) ... 10 more -----------------

    Apache's JIRA Issue Tracker | 9 months ago | Renkai Ge
    org.apache.flink.client.program.ProgramInvocationException: The program execution failed: Job execution failed.
  2. 0

    Dynamic load logback.xml file when received signal

    Stack Overflow | 4 years ago | Guominzhi
    org.codehaus.commons.compiler.CompileException: Line 1, Column 7: A class 'ch.qos.logback.classic.Level' could not be found
  3. 0

    logback conditional logging

    Stack Overflow | 5 years ago | theomega
    org.codehaus.commons.compiler.CompileException: Line 1, Column 45: A method named "isDefined" is not declared in any enclosing class nor any supertype, nor through a static import
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Question about using SQL functions in lingual

    Google Groups | 3 years ago | Tamás Fülöp
    cascading.operation.OperationException: could not compile script: {* * return new cascading.tuple.Tuple(* * new Object[] {* * ViewDate,* * net.hydromatic.optiq.runtime.SqlFunctions.currentTimestamp(root)});* *}*
  6. 0

    Strings in switch statement

    GitHub | 4 months ago | laurent149
    org.codehaus.commons.compiler.CompileException: Line 1, Column 7: Assignment conversion not possible from type "java.lang.String" to type "int"
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.codehaus.commons.compiler.CompileException

    Line 46, Column 11: Expression "null" is not a type

    at org.codehaus.janino.Java$Located.throwCompileException()
  2. Janino
    SimpleCompiler.cook
    1. org.codehaus.janino.Java$Located.throwCompileException(Java.java:111)
    2. org.codehaus.janino.Java$Atom.toTypeOrCompileException(Java.java:2684)
    3. org.codehaus.janino.Parser.parseBlockStatement(Parser.java:1162)
    4. org.codehaus.janino.Parser.parseBlockStatements(Parser.java:1090)
    5. org.codehaus.janino.Parser.parseMethodDeclarationRest(Parser.java:943)
    6. org.codehaus.janino.Parser.parseClassBodyDeclaration(Parser.java:569)
    7. org.codehaus.janino.Parser.parseClassBody(Parser.java:519)
    8. org.codehaus.janino.Parser.parseClassDeclarationRest(Parser.java:485)
    9. org.codehaus.janino.Parser.parsePackageMemberTypeDeclaration(Parser.java:273)
    10. org.codehaus.janino.Parser.parseCompilationUnit(Parser.java:168)
    11. org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:201)
    12. org.codehaus.janino.SimpleCompiler.cook(SimpleCompiler.java:192)
    12 frames
  3. Commons Compiler
    Cookable.cook
    1. org.codehaus.commons.compiler.Cookable.cook(Cookable.java:84)
    2. org.codehaus.commons.compiler.Cookable.cook(Cookable.java:77)
    2 frames
  4. org.apache.flink
    FlatMapRunner.open
    1. org.apache.flink.api.table.runtime.FunctionCompiler$class.compile(FunctionCompiler.scala:34)
    2. org.apache.flink.api.table.runtime.FlatMapRunner.compile(FlatMapRunner.scala:28)
    3. org.apache.flink.api.table.runtime.FlatMapRunner.open(FlatMapRunner.scala:42)
    3 frames
  5. flink-core
    FunctionUtils.openFunction
    1. org.apache.flink.api.common.functions.util.FunctionUtils.openFunction(FunctionUtils.java:38)
    1 frame
  6. flink-runtime
    Task.run
    1. org.apache.flink.runtime.operators.BatchTask.openUserCode(BatchTask.java:1335)
    2. org.apache.flink.runtime.operators.chaining.ChainedFlatMapDriver.openTask(ChainedFlatMapDriver.java:47)
    3. org.apache.flink.runtime.operators.BatchTask.openChainedTasks(BatchTask.java:1377)
    4. org.apache.flink.runtime.operators.BatchTask.run(BatchTask.java:471)
    5. org.apache.flink.runtime.operators.BatchTask.invoke(BatchTask.java:351)
    6. org.apache.flink.runtime.taskmanager.Task.run(Task.java:584)
    6 frames
  7. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame