Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
1.11.0
-
None
-
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
- duplicates
-
FLINK-16834 Examples cannot be run from IDE
- Closed