Closed NairRahulMohanan closed 5 years ago
Please check your classpath. SDK version 1.2.12 relies on ProtonJ-0.31.0. Your traces show proton-j-0.27.1.jar.
Thanks. It worked!
There were two instances of proton being used. 0.27.1 was being used by another dependency. Updating that jar solved the issue
We recently upgraded the azure servicebus from 1.2.8 to 1.2.12. Since then we are not able to create a new SubscriptionClient Object.
csb = new ConnectionStringBuilder(endpoint1, topicName+ "/subscriptions/"+subscriptionName, sasToken1); subscriptionClient = new SubscriptionClient(csb, ReceiveMode.PEEKLOCK);
Actual Behavior
org.apache.qpid.proton.engine.HandlerException: org.apache.qpid.proton.ProtonUnsupportedOperationException at org.apache.qpid.proton.engine.impl.EventImpl.dispatch(EventImpl.java:112) ~[proton-j-0.27.1.jar:na] at org.apache.qpid.proton.reactor.impl.ReactorImpl.dispatch(ReactorImpl.java:324) ~[proton-j-0.27.1.jar:na] at org.apache.qpid.proton.reactor.impl.ReactorImpl.process(ReactorImpl.java:291) ~[proton-j-0.27.1.jar:na] at com.microsoft.azure.servicebus.primitives.MessagingFactory$RunReactor.run(MessagingFactory.java:483) ~[azure-servicebus-1.2.12.jar:na] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121] Caused by: org.apache.qpid.proton.ProtonUnsupportedOperationException: null at org.apache.qpid.proton.engine.impl.ssl.SslDomainImpl.setPeerAuthentication(SslDomainImpl.java:99) ~[proton-j-0.27.1.jar:na] at com.microsoft.azure.servicebus.amqp.ConnectionHandler.onConnectionBound(ConnectionHandler.java:105) ~[azure-servicebus-1.2.12.jar:na] at org.apache.qpid.proton.engine.BaseHandler.handle(BaseHandler.java:131) ~[proton-j-0.27.1.jar:na] at org.apache.qpid.proton.engine.impl.EventImpl.dispatch(EventImpl.java:108) ~[proton-j-0.27.1.jar:na] ... 4 common frames omitted
2019-03-26 13:52:49.608 ERROR 9136 --- [83-807ba88d95c0] c.m.a.s.primitives.MessagingFactory : Reactor error occured
com.microsoft.azure.servicebus.primitives.ServiceBusException: org.apache.qpid.proton.ProtonUnsupportedOperationException, TrackingId: 6ed8a299-a3d5-44a0-b471-3ddaa6c92ee7, at: 2019-03-26T13:52:49.608+05:30[Asia/Calcutta] at com.microsoft.azure.servicebus.primitives.MessagingFactory$RunReactor.run(MessagingFactory.java:505) ~[azure-servicebus-1.2.12.jar:na] at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121] Caused by: org.apache.qpid.proton.ProtonUnsupportedOperationException: null at org.apache.qpid.proton.engine.impl.ssl.SslDomainImpl.setPeerAuthentication(SslDomainImpl.java:99) ~[proton-j-0.27.1.jar:na] at com.microsoft.azure.servicebus.amqp.ConnectionHandler.onConnectionBound(ConnectionHandler.java:105) ~[azure-servicebus-1.2.12.jar:na] at org.apache.qpid.proton.engine.BaseHandler.handle(BaseHandler.java:131) ~[proton-j-0.27.1.jar:na] at org.apache.qpid.proton.engine.impl.EventImpl.dispatch(EventImpl.java:108) ~[proton-j-0.27.1.jar:na] at org.apache.qpid.proton.reactor.impl.ReactorImpl.dispatch(ReactorImpl.java:324) ~[proton-j-0.27.1.jar:na] at org.apache.qpid.proton.reactor.impl.ReactorImpl.process(ReactorImpl.java:291) ~[proton-j-0.27.1.jar:na] at com.microsoft.azure.servicebus.primitives.MessagingFactory$RunReactor.run(MessagingFactory.java:483) ~[azure-servicebus-1.2.12.jar:na] ... 1 common frames omitted
Expected Behavior
Versions