You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Timo Walther (JIRA)" <ji...@apache.org> on 2016/12/08 13:45:58 UTC
[jira] [Created] (FLINK-5289) NPE when using value state on
non-keyed stream
Timo Walther created FLINK-5289:
-----------------------------------
Summary: NPE when using value state on non-keyed stream
Key: FLINK-5289
URL: https://issues.apache.org/jira/browse/FLINK-5289
Project: Flink
Issue Type: Bug
Components: Streaming
Reporter: Timo Walther
Using a {{ValueStateDescriptor}} and {{getRuntimeContext().getState(descriptor)}} on a non-keyed stream leads to {{NullPointerException}} which is not very helpful for users:
{code}
java.lang.NullPointerException
at org.apache.flink.streaming.api.operators.StreamingRuntimeContext.getState(StreamingRuntimeContext.java:109)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)