Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
proton-j-0.29.0
-
None
-
None
-
Any environment
Description
Our library (Microsoft Azure EventHubs java sdk) take a dependency on proton-j library for AMQP implementation.
Many of Our customers are reporting this issue and would highly appreciate your response.
We are basically hitting this TODO in the TransportImpl.java - which results in reactor teardown:
Here's the Exception stack trace:
com.microsoft.azure.eventhubs.impl.MessagingFactory$RunReactor.run:487 messagingFactory[MessagingFactoryab1d8d], hostName[NNNNNNNNNNN.servicebus.windows.net], error[UnHandled exception while processing events in reactor:
java.lang.NullPointerException: uncorrelated channel: 3
org.apache.qpid.proton.engine.impl.EventImpl.dispatch(EventImpl.java:112)
org.apache.qpid.proton.reactor.impl.ReactorImpl.dispatch(ReactorImpl.java:324)
org.apache.qpid.proton.reactor.impl.ReactorImpl.process(ReactorImpl.java:292)
com.microsoft.azure.eventhubs.impl.MessagingFactory$RunReactor.run(MessagingFactory.java:462)
here's how to reproduce this error:
- configure the listener - to delay respond to session.begins for ex: by 5 secs
- then client (or another peer) sends session.begin
- client doesn't receive any response even after 1 sec
- then the client decides to close the session
- then, after few sec's service(listener) responds back with session.begin
Please contact us at sreeramg@microsoft.com sjkwak@microsoft.com - if you need more data on this or need a resource to contribute to this. Truly appreciate your help.