nicolo-paganin edited a comment on issue #5454: mysql JDBC Sink - consumer error
URL: https://github.com/apache/pulsar/issues/5454#issuecomment-586542513
 
 
   I have the same problem also using pulsar-client v2.5.0 (I have installed it 
with this command pip install pulsar-client==2.5.0). 
   I have a Python pulsar function that is copying messages from a topic1 to a 
topic2.
   Topic1 is generated from a Java producer and my sink is correctly handling 
it.
   The second topic created by the python pulsar function is generating that 
exception.
   
   `org.apache.pulsar.functions.instance.JavaInstanceRunnable - 
[public/default/pulsar-mysql-jdbc-sink:0] Uncaught exception in Java Instance
   java.lang.NullPointerException: null
   at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:770) 
~[com.google.guava-guava-21.0.jar:?]
   at com.google.common.cache.LocalCache.get(LocalCache.java:4153) 
~[com.google.guava-guava-21.0.jar:?]
   at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158) 
~[com.google.guava-guava-21.0.jar:?]
   at 
com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147) 
~[com.google.guava-guava-21.0.jar:?]
   at 
org.apache.pulsar.client.impl.schema.StructSchema.decode(StructSchema.java:94) 
~`
   
   @tuteng is the fix solving that problem in your case?
   
   Thanks

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to