Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

ConcurrentModificationException using spymemcached with spring integration

1 reply [Last post]
  • Login or register to post comments
Tue, 07/10/2012 - 00:12
michals
Offline
Joined: 06/14/2012
Groups: None

hi, I use mecached and java spymemcached client version2.8.1
when i use the spymemcached integerated with Spring
I get:
java.util.ConcurrentModificationException
in the AbstractLog:
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
at java.util.HashMap$KeyIterator.next(HashMap.java:828)
at net.spy.memcached.util.StringUtils.join(StringUtils.java:41)
at net.spy.memcached.protocol.ascii.BaseGetOpImpl.toString(BaseGetOpImpl.java:227)
at java.lang.String.valueOf(String.java:2826)
at java.lang.StringBuilder.append(StringBuilder.java:115)
at net.spy.memcached.protocol.TCPMemcachedNodeImpl.toString(TCPMemcachedNodeImpl.java:469)
at java.util.Formatter$FormatSpecifier.printString(Formatter.java:2794)
at java.util.Formatter$FormatSpecifier.print(Formatter.java:2677)
at java.util.Formatter.format(Formatter.java:2433)
at java.util.Formatter.format(Formatter.java:2367)
at java.lang.String.format(String.java:2769)
at net.spy.memcached.compat.log.AbstractLogger.debug(AbstractLogger.java:98)

I checked this using spymemcached without spring integration and it worked fine.
I used the same code the spring wrapper for MemcachedClient uses and it worked.
Any ideas why this happens, are there any known issues with this integration?
thanks

Top
  • Login or register to post comments
Sun, 07/15/2012 - 14:06
ingenthr
Offline
Joined: 03/16/2010
Groups:

This would appear to be a new issue, not a known one. Can you post a bug to the SPY project at couchbase.com/issues with some details on how you're using the spring integration? I presume this is just against a set of memcached nodes?

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker