Re: NullPointerException when asking for batched TableEnvironment

2018-02-14 Thread André Schütz
Hi, to concretizise the example. We get the batch table environment. Process some data and get results. After that we receive a stream table environment and after executing the stream, the system throws the batch null pointer exception. Means, the batch table environment already processed some dat

Re: NullPointerException when asking for batched TableEnvironment

2018-02-14 Thread Timo Walther
Hi, by looking at the source code it seems that your "batchEnvironment" is null. Did you verify this? Regards, Timo Am 2/14/18 um 1:01 PM schrieb André Schütz: Hi, within the Flink Interpreter context, we try to get a Batch TableEnvironment with the following code. The code was executed wi

NullPointerException when asking for batched TableEnvironment

2018-02-14 Thread André Schütz
Hi, within the Flink Interpreter context, we try to get a Batch TableEnvironment with the following code. The code was executed within a Apache Zeppelin paragraph. [code] import org.apache.flink.table.api._ import org.apache.flink.table.api.scala._ import org.apache.flink.table.sources._ val bat