You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/11/29 14:26:10 UTC

[GitHub] [pulsar] rohts-patil commented on issue #3115: JSONSchema should works with generic (parameterized type) POJO/DTO.

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