Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 86BBE200B5E for ; Wed, 27 Jul 2016 04:44:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 853A6160AA5; Wed, 27 Jul 2016 02:44:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F3D8E160AA4 for ; Wed, 27 Jul 2016 04:44:26 +0200 (CEST) Received: (qmail 30178 invoked by uid 500); 27 Jul 2016 02:44:20 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 30155 invoked by uid 99); 27 Jul 2016 02:44:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2016 02:44:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 77B6E2C0D5E for ; Wed, 27 Jul 2016 02:44:20 +0000 (UTC) Date: Wed, 27 Jul 2016 02:44:20 +0000 (UTC) From: "Gwen Shapira (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (KAFKA-3500) KafkaOffsetBackingStore set method needs to handle null MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 27 Jul 2016 02:44:27 -0000 [ https://issues.apache.org/jira/browse/KAFKA-3500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gwen Shapira updated KAFKA-3500: -------------------------------- Resolution: Fixed Fix Version/s: 0.10.1.0 Status: Resolved (was: Patch Available) Issue resolved by pull request 1662 [https://github.com/apache/kafka/pull/1662] > KafkaOffsetBackingStore set method needs to handle null > -------------------------------------------------------- > > Key: KAFKA-3500 > URL: https://issues.apache.org/jira/browse/KAFKA-3500 > Project: Kafka > Issue Type: Bug > Components: KafkaConnect > Affects Versions: 0.10.0.0 > Reporter: Liquan Pei > Assignee: Ewen Cheslack-Postava > Priority: Blocker > Fix For: 0.10.1.0, 0.10.0.1 > > > In some cases, the key or value for the offset map can be null. However, it seems that we didn't handle null properly in this case and didn't perform null check when converting the byte buffer back to byte array. -- This message was sent by Atlassian JIRA (v6.3.4#6332)