pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] rohts-patil commented on issue #3115: JSONSchema should works with generic (parameterized type) POJO/DTO.
Date Fri, 29 Nov 2019 14:26:10 GMT
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

Mime
View raw message