From commits-return-19283-archive-asf-public=cust-asf.ponee.io@pulsar.apache.org Wed Dec 19 03:53:26 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8A616180675 for ; Wed, 19 Dec 2018 03:53:25 +0100 (CET) Received: (qmail 3562 invoked by uid 500); 19 Dec 2018 02:53:24 -0000 Mailing-List: contact commits-help@pulsar.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.apache.org Delivered-To: mailing list commits@pulsar.apache.org Received: (qmail 3549 invoked by uid 99); 19 Dec 2018 02:53:24 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2018 02:53:24 +0000 From: GitBox To: commits@pulsar.apache.org Subject: [GitHub] Michael-YuSha commented on issue #3211: pulsar producer create fail, get error :Received error from server: java.lang.NullPointerException Message-ID: <154518800393.27219.10254279125599274353.gitbox@gitbox.apache.org> Date: Wed, 19 Dec 2018 02:53:23 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Michael-YuSha commented on issue #3211: pulsar producer create fail, get error :Received error from server: java.lang.NullPointerException URL: https://github.com/apache/pulsar/issues/3211#issuecomment-448451149 I have create a producer with JSON schema of Person object for topic named /xh/test/demo8, in the code review, we need to update Person to Student, the Student extends Person, so i delete the schema for persistent://xh/test/demo8, then i create the producer by pulsarClient, but the server response the error Received error from server: java.lang.NullPointerException. Then, i delete the topic persistent://xh/test/demo8, and create producer ,i get a same error from server, so that, I use pulsar-admin to upload a new schema by conf file, the server response a 500 bad code for me ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services