Closed k-focaloid closed 2 years ago
@k-focaloid which version are you using?
Probably your problem has been addressed with some of the latest releases as we have refactored a little bit the Consumer closing code.
Can you please try with the latest release ?
@k-focaloid did you manage to fix this by upgrading ? can we close this ticket ?
I am getting random NullPointerException during runtime when i try to close the consumer. The issue happens when request rate is high, i used Jmeter to test the load. try-with causes response to be 500. i am using JMSContext.
Caused by: java.lang.NullPointerException at com.datastax.oss.pulsar.jms.PulsarSession.removeConsumer(PulsarSession.java:1555) at com.datastax.oss.pulsar.jms.PulsarMessageConsumer.lambda$close$3(PulsarMessageConsumer.java:440) ... 55 more
May be: PulsarSession.java:1555
is coming as null ?