flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Richter (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (FLINK-5289) NPE when using value state on non-keyed stream
Date Thu, 08 Dec 2016 14:08:58 GMT

     [ 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)

Mime
View raw message