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)