jenkinsci/eiffel-broadcaster-plugin
View on GitHubChannel creations aren't checked for null
Open
#88 opened on Jan 5, 2023
buggood first issue
Repository metrics
- Stars
- (12 stars)
- PR merge metrics
- (PR metrics pending)
Description
Jenkins and plugins versions report
N/A; bug exists in all environments.
What Operating System are you using (both controller, and any agents involved in the problem)?
N/A; bug exists in all environments.
Reproduction steps
- Shut down the AMQP connection from the server side.
- Be extremely unlucky when you send the next event.
Expected Results
Clean reconnection after the disconnection.
Actual Results
An NPE when com.rabbitmq.client.Connection#createChannel returns null (which is legitimate and documented behavior):
This causes the message queue thread to die, and prior to v2.5.0 it wouldn't be able to recover either.
Anything else?
No response