dlsprague opened a new issue #8884: URL: https://github.com/apache/pulsar/issues/8884
User upgraded pulsar java client to 2.6.2 due to security vulnerabilities found in lower versions. Was able to produce messages fine in 2.5.0 and 2.6.0, but after upgrade getting following error: [2020-12-08 09:43:28.837] [AlarmCreate][org.apache.pulsar.client.impl.ProducerImpl] WARN - [persistent://i18v/fault-alarmupdate/Apollo-Fault-AlarmUpdate-1sec-partition-0] [xxx-aws-us-xxxx-1-101050-61003] error while create opSendMsg by batch message container java.lang.NullPointerException: null at org.apache.pulsar.shade.io.netty.util.Recycler.recycle(Recycler.java:180) ~[pulsar-client-2.6.2.jar:2.6.2] at org.apache.pulsar.common.api.proto.PulsarApi$MessageMetadata$Builder.recycle(PulsarApi.java:4571) ~[pulsar-client-2.6.2.jar:2.6.2] at org.apache.pulsar.client.impl.BatchMessageContainerImpl.getCompressedBatchMetadataAndPayload(BatchMessageContainerImpl.java:121) ~[pulsar-client-2.6.2.jar:2.6.2] at org.apache.pulsar.client.impl.BatchMessageContainerImpl.createOpSendMsg(BatchMessageContainerImpl.java:176) ~[pulsar-client-2.6.2.jar:2.6.2] at org.apache.pulsar.client.impl.ProducerImpl.batchMessageAndSend(ProducerImpl.java:1565) [pulsar-client-2.6.2.jar:2.6.2] at org.apache.pulsar.client.impl.ProducerImpl.access$500(ProducerImpl.java:89) [pulsar-client-2.6.2.jar:2.6.2] at org.apache.pulsar.client.impl.ProducerImpl$2.run(ProducerImpl.java:1524) [pulsar-client-2.6.2.jar:2.6.2] at org.apache.pulsar.shade.io.netty.util.HashedWheelTimer$HashedWheelTimeout.expire(HashedWheelTimer.java:672) [pulsar-client-2.6.2.jar:2.6.2] at org.apache.pulsar.shade.io.netty.util.HashedWheelTimer$HashedWheelBucket.expireTimeouts(HashedWheelTimer.java:747) [pulsar-client-2.6.2.jar:2.6.2] at org.apache.pulsar.shade.io.netty.util.HashedWheelTimer$Worker.run(HashedWheelTimer.java:472) [pulsar-client-2.6.2.jar:2.6.2] at org.apache.pulsar.shade.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [pulsar-client-2.6.2.jar:2.6.2] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202] Error seems to suggest message size over limit but have sent very small messages for testing and still fails. Pulsar broker is at version 2.6.0. Could this be a compatibility issue with client at a higher version? ---------------------------------------------------------------- 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]
