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

startup error when port not specified #2

Open
gucki opened this issue May 1, 2010 · 3 comments
Open

startup error when port not specified #2

gucki opened this issue May 1, 2010 · 3 comments
Labels

Comments

@gucki
Copy link

gucki commented May 1, 2010

If you specify a server simply by it's ip without a port (1.2.3.4 and not 1.2.3.4:11211) startups fails like:

com.meetup.memcached.SockIOPool Sat May 01 13:39:04 CEST 2010 - ++++ failed to get SockIO obj for: 1.2.3.4
com.meetup.memcached.SockIOPool Sat May 01 13:39:04 CEST 2010 - 1
java.lang.ArrayIndexOutOfBoundsException: 1
at com.meetup.memcached.SockIOPool$SockIO.(SockIOPool.java:1583)
at com.meetup.memcached.SockIOPool.createSocket(SockIOPool.java:780)
at com.meetup.memcached.SockIOPool.populateBuckets(SockIOPool.java:669)

@fredjean
Copy link
Collaborator

fredjean commented May 3, 2010

Will look into it.

@fredjean
Copy link
Collaborator

Writing specs to attempt to reproduce.

@fredjean
Copy link
Collaborator

I just committed code that normalize the server address using the default port (11211) if the port isn't provided. I am waiting on the result of a discussion with a contributor before cutting a release.

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

No branches or pull requests

2 participants