Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 68702184D7 for ; Mon, 8 Feb 2016 12:21:40 +0000 (UTC) Received: (qmail 49420 invoked by uid 500); 8 Feb 2016 12:21:40 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 49300 invoked by uid 500); 8 Feb 2016 12:21:40 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 49011 invoked by uid 99); 8 Feb 2016 12:21:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Feb 2016 12:21:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E97412C1F60 for ; Mon, 8 Feb 2016 12:21:39 +0000 (UTC) Date: Mon, 8 Feb 2016 12:21:39 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-3339) Checkpointing NPE when using filterWithState MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLINK-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15136875#comment-15136875 ] ASF GitHub Bot commented on FLINK-3339: --------------------------------------- Github user aljoscha closed the pull request at: https://github.com/apache/flink/pull/1594 > Checkpointing NPE when using filterWithState > -------------------------------------------- > > Key: FLINK-3339 > URL: https://issues.apache.org/jira/browse/FLINK-3339 > Project: Flink > Issue Type: Bug > Reporter: Shikhar Bhushan > Assignee: Aljoscha Krettek > Fix For: 1.0.0 > > > (1.0-SNAPSHOT) > I am using the Scala API keyedStream.filterWithState(..), where the state is an Option[Long] > I am seeing the following error which goes away if I remove the filter. > {noformat} > 02/04/2016 14:10:19 Job execution switched to status FAILING. > java.lang.RuntimeException: Error triggering a checkpoint as the result of receiving checkpoint barrier > at org.apache.flink.streaming.runtime.tasks.StreamTask$2.onEvent(StreamTask.java:651) > at org.apache.flink.streaming.runtime.tasks.StreamTask$2.onEvent(StreamTask.java:644) > at org.apache.flink.streaming.runtime.io.BarrierBuffer.processBarrier(BarrierBuffer.java:201) > at org.apache.flink.streaming.runtime.io.BarrierBuffer.getNextNonBlocked(BarrierBuffer.java:127) > at org.apache.flink.streaming.runtime.io.StreamInputProcessor.processInput(StreamInputProcessor.java:173) > at org.apache.flink.streaming.runtime.tasks.OneInputStreamTask.run(OneInputStreamTask.java:63) > at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:218) > at org.apache.flink.runtime.taskmanager.Task.run(Task.java:562) > at java.lang.Thread.run(Thread.java:745) > Caused by: java.lang.NullPointerException > at org.apache.flink.api.common.typeutils.base.LongSerializer.serialize(LongSerializer.java:63) > at org.apache.flink.api.common.typeutils.base.LongSerializer.serialize(LongSerializer.java:27) > at org.apache.flink.runtime.state.memory.AbstractMemState.snapshot(AbstractMemState.java:74) > at org.apache.flink.runtime.state.AbstractStateBackend.snapshotPartitionedState(AbstractStateBackend.java:245) > at org.apache.flink.streaming.api.operators.AbstractStreamOperator.snapshotOperatorState(AbstractStreamOperator.java:174) > at org.apache.flink.streaming.api.operators.AbstractUdfStreamOperator.snapshotOperatorState(AbstractUdfStreamOperator.java:119) > at org.apache.flink.streaming.runtime.tasks.StreamTask.triggerCheckpoint(StreamTask.java:470) > at org.apache.flink.streaming.runtime.tasks.StreamTask$2.onEvent(StreamTask.java:648) > ... 8 more > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)