From commits-return-43593-archive-asf-public=cust-asf.ponee.io@pulsar.apache.org Fri Nov 29 14:26:11 2019 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 83915180657 for ; Fri, 29 Nov 2019 15:26:11 +0100 (CET) Received: (qmail 49929 invoked by uid 500); 29 Nov 2019 14:26:10 -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 49920 invoked by uid 99); 29 Nov 2019 14:26:10 -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; Fri, 29 Nov 2019 14:26:10 +0000 From: GitBox To: commits@pulsar.apache.org Subject: [GitHub] [pulsar] rohts-patil commented on issue #3115: JSONSchema should works with generic (parameterized type) POJO/DTO. Message-ID: <157503757077.18838.9855316199236799566.gitbox@gitbox.apache.org> Date: Fri, 29 Nov 2019 14:26:10 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit rohts-patil commented on issue #3115: JSONSchema should works with generic (parameterized type) POJO/DTO. URL: https://github.com/apache/pulsar/issues/3115#issuecomment-559806629 @vamsi360 , I cloned your fork and built it to version 1.8.3-ppe-9.10. I still get the errror. ``` Caused by: org.apache.avro.AvroTypeException: Unknown type: T at org.apache.avro.specific.SpecificData.createSchema(SpecificData.java:312) at org.apache.avro.reflect.ReflectData.createSchema(ReflectData.java:720) at org.apache.avro.reflect.ReflectData.createFieldSchema(ReflectData.java:870) at org.apache.avro.reflect.ReflectData.createSchema(ReflectData.java:686) at org.apache.avro.specific.SpecificData$2.load(SpecificData.java:238) at org.apache.avro.specific.SpecificData$2.load(SpecificData.java:235) at avro.shaded.com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3568) at avro.shaded.com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2350) at avro.shaded.com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2313) at avro.shaded.com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2228) ... 6 more ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to 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