Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on queue delete #497

Closed
mglowinski opened this issue Mar 12, 2019 · 3 comments
Closed

Error on queue delete #497

mglowinski opened this issue Mar 12, 2019 · 3 comments

Comments

@mglowinski
Copy link

When I am trying to delete queue by name, I have got the following error:
[AMQP] conn error Cannot read property 'content' of null
[AMQP] channel closed
[AMQP] reconnecting
Am I doing something wrong?

@squaremo
Copy link
Collaborator

It's difficult to tell without seeing any code. Can you provide a failing test case?

@cressie176
Copy link
Collaborator

cressie176 commented Mar 12, 2019

Just a guess, but when the server closes a channel it sends a null messages to any subscribers. Is it possible you are subscribing to messages, and when the channel is closed you aren't checking that the message you've received is null?

If the consumer is cancelled by RabbitMQ, the message callback will be invoked with null.

@cressie176
Copy link
Collaborator

Any update @mglowinski ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants