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

Cannot find compatible factory for specified execution.target (=local)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.11.0
    • None
    • API / Core
    • None

    Description

      It occurred when I run <flink-examples> from newly version.

      Exception in thread "main" java.lang.NullPointerException: Cannot find compatible factory for specified execution.target (=local)
      	at org.apache.flink.util.Preconditions.checkNotNull(Preconditions.java:104)
      	at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.executeAsync(StreamExecutionEnvironment.java:1750)
      	at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.execute(StreamExecutionEnvironment.java:1658)
      	at org.apache.flink.streaming.api.environment.LocalStreamEnvironment.execute(LocalStreamEnvironment.java:74)
      	at org.apache.flink.streaming.api.environment.StreamExecutionEnvironment.execute(StreamExecutionEnvironment.java:1644)
      	at org.apache.flink.streaming.api.scala.StreamExecutionEnvironment.execute(StreamExecutionEnvironment.scala:684)
      	at org.apache.flink.streaming.scala.examples.wordcount.WordCount$.main(WordCount.scala:89)
      	at org.apache.flink.streaming.scala.examples.wordcount.WordCount.main(WordCount.scala)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              JaryZhen Jaryzhen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: