Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-1167

CompilerException caused by NullPointerException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.7.0-incubating
    • 0.7.0-incubating
    • None
    • None

    Description

      Run into it during working on my code. Seems not caused by my plan, or anyway the compiler should have a NullPointer isssue:

      org.apache.flink.compiler.CompilerException: An error occurred while translating the optimized plan to a nephele JobGraph: Error translating node 'Union "Union" : UNION [[ GlobalProperties [partitioning=HASH_PARTITIONED, on fields [0]] ]] [[ LocalProperties [ordering=null, grouped=null, unique=null] ]]': null
      at org.apache.flink.compiler.plantranslate.NepheleJobGraphGenerator.postVisit(NepheleJobGraphGenerator.java:543)
      at org.apache.flink.compiler.plantranslate.NepheleJobGraphGenerator.postVisit(NepheleJobGraphGenerator.java:95)
      at org.apache.flink.compiler.plan.DualInputPlanNode.accept(DualInputPlanNode.java:170)
      at org.apache.flink.compiler.plan.SingleInputPlanNode.accept(SingleInputPlanNode.java:196)
      at org.apache.flink.compiler.plan.SingleInputPlanNode.accept(SingleInputPlanNode.java:196)
      at org.apache.flink.compiler.plan.OptimizedPlan.accept(OptimizedPlan.java:165)
      at org.apache.flink.compiler.plantranslate.NepheleJobGraphGenerator.compileJobGraph(NepheleJobGraphGenerator.java:163)
      at org.apache.flink.client.program.Client.getJobGraph(Client.java:218)
      at org.apache.flink.client.program.Client.run(Client.java:290)
      at org.apache.flink.client.program.Client.run(Client.java:285)
      at org.apache.flink.client.program.Client.run(Client.java:230)
      at org.apache.flink.client.CliFrontend.executeProgram(CliFrontend.java:347)
      at org.apache.flink.client.CliFrontend.run(CliFrontend.java:334)
      at org.apache.flink.client.CliFrontend.parseParameters(CliFrontend.java:1001)
      at org.apache.flink.client.CliFrontend.main(CliFrontend.java:1025)
      Caused by: org.apache.flink.compiler.CompilerException: Error translating node 'Union "Union" : UNION [[ GlobalProperties [partitioning=HASH_PARTITIONED, on fields [0]] ]] [[ LocalProperties [ordering=null, grouped=null, unique=null] ]]': null
      at org.apache.flink.compiler.plantranslate.NepheleJobGraphGenerator.preVisit(NepheleJobGraphGenerator.java:338)
      at org.apache.flink.compiler.plantranslate.NepheleJobGraphGenerator.preVisit(NepheleJobGraphGenerator.java:95)
      at org.apache.flink.compiler.plan.DualInputPlanNode.accept(DualInputPlanNode.java:162)
      at org.apache.flink.compiler.plan.WorksetIterationPlanNode.acceptForStepFunction(WorksetIterationPlanNode.java:196)
      at org.apache.flink.compiler.plantranslate.NepheleJobGraphGenerator.postVisit(NepheleJobGraphGenerator.java:398)
      ... 14 more
      Caused by: java.lang.NullPointerException
      at org.apache.flink.runtime.operators.util.TaskConfig.setDriver(TaskConfig.java:307)
      at org.apache.flink.compiler.plantranslate.NepheleJobGraphGenerator.createDualInputVertex(NepheleJobGraphGenerator.java:793)
      at org.apache.flink.compiler.plantranslate.NepheleJobGraphGenerator.preVisit(NepheleJobGraphGenerator.java:286)
      ... 18 more

      Attachments

        1. random_file
          1 kB
          Maximilian Alber
        2. Y
          5 kB
          Maximilian Alber
        3. X
          5 kB
          Maximilian Alber
        4. bb.tar.gz
          172 kB
          Maximilian Alber

        Activity

          People

            sewen Stephan Ewen
            albermax Maximilian Alber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: