Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

get_sockname not defined #308

Open
danielrjackson opened this Issue · 1 comment

2 participants

@danielrjackson

In eventmachine-1.0.0.beta.4-java a call to EventMachine::Conection.get_sockname produces an undefined method error when it tries to call "EventMachine::get_sockname @signature". The method does not appear to be defined in the EventMachine module. This error also exists in eventmachine-1.0.0.beta.3-java.

Error output (slightly modified to remove implementation specifics):

undefined method get_sockname' for EventMachine:Module
["~/.rvm/gems/jruby-1.6.7/gems/eventmachine-1.0.0.beta.4-java/lib/em/connection.rb:553:in
get_sockname'",
...
"~/.rvm/gems/jruby-1.6.7/gems/eventmachine-1.0.0.beta.4-java/lib/eventmachine.rb:1425:in event_callback'",
"~/.rvm/gems/jruby-1.6.7/gems/eventmachine-1.0.0.beta.4-java/lib/jeventmachine.rb:92:in
eventCallback'",
"~/.rvm/gems/jruby-1.6.7/gems/eventmachine-1.0.0.beta.4-java/lib/jeventmachine.rb:111:in run_machine'",
"~/.rvm/gems/jruby-1.6.7/gems/eventmachine-1.0.0.beta.4-java/lib/eventmachine.rb:179:in
run'",
...]

Environment:
Fedora 14
jruby 1.6.7 (ruby-1.9.2-p312) (2012-02-22 3e82bc8) (OpenJDK 64-Bit Server VM 1.6.0_20) [linux-amd64-java]

@jcoyne

This also occurs in the pure_ruby module:

NoMethodError: undefined method `get_sockname' for EventMachine:Module
/Users/jcoyne/.rvm/gems/ruby-2.0.0-p0/gems/eventmachine-1.0.3/lib/em/connection.rb:559:in `get_sockname'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.