Jaryzhen created FLINK-16915:
--------------------------------
Summary: Cannot find compatible factory for specified execution.target (=local)
Key: FLINK-16915
URL:
https://issues.apache.org/jira/browse/FLINK-16915 Project: Flink
Issue Type: Bug
Components: API / Core
Affects Versions: 1.11.0
Reporter: Jaryzhen
It occurred when I run <flink-examples> from newly version.
{code:java}
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)
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)