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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17072589#comment-17072589 ] 

Jaryzhen commented on FLINK-16915:
----------------------------------

hi, [~aljoscha] [~tison]  I track it comes from FLINK-14854, would you mind take a look about this? Am I missing something?

> 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: Major
>
> 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)