Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Fix exception "undefined method `method_class'" #219

Conversation

mediaslave24
Copy link

Hello maintainers of this gem.

Last days i struggled with exception "NoMethodError: undefined method `method_class' for #AMQ::Protocol::BodyFrame:0x0000001e8a60b0".

I tried solution proposed by @Inanepenguin in #218 , but it didn't work. By "solution" i mean clearing all framesets which are considered completed right after "#receive_frameset".

Finally i came to solution in which the first frame gets dropped from frameset when it's not expected to be first, and code proceeds until entire frameset is read on the channel. I would appreciate if this idea will be implemented in the gem because things begin to work.

@michaelklishin
Copy link
Member

This simply throws away a frame. Sorry but that's not a fix I'm willing to accept. Please investigate what the root cause is.

@mediaslave24
Copy link
Author

@michaelklishin no problems, it was critical for me to make it work right now

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

Successfully merging this pull request may close these issues.

None yet

2 participants