[
https://issues.apache.org/jira/browse/FLINK-5289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Richter reassigned FLINK-5289:
-------------------------------------
Assignee: Stefan Richter
> 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
> Assignee: Stefan Richter
>
> 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)