You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (Jira)" <ji...@apache.org> on 2020/04/02 07:38:00 UTC

[jira] [Closed] (FLINK-16915) Cannot find compatible factory for specified execution.target (=local)

     [ https://issues.apache.org/jira/browse/FLINK-16915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aljoscha Krettek closed FLINK-16915.
------------------------------------
    Resolution: Duplicate

> 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
>            Priority: Minor
>
> 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)