Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-349

Calling flush() on CouchbaseClient throws a ClassCastException

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.1.9
    • Fix Version/s: 1.2
    • Component/s: Core
    • Security Level: Public
    • Labels:
      None

      Description

      When calling flush() on CouchbaseClient a ClassCastException is thrown:

      java.lang.ClassCastException: com.couchbase.client.CouchbaseMemcachedConnection cannot be cast to com.couchbase.client.CouchbaseConnection
      at com.couchbase.client.CouchbaseClient.flush(CouchbaseClient.java:2421) ~[couchbase-client-1.1.9.jar:1.1.9]
      at com.couchbase.client.CouchbaseClient.flush(CouchbaseClient.java:2410) ~[couchbase-client-1.1.9.jar:1.1.9]

      The problem seems to be in CouchbaseClient:2421, maybe related to JCBC-323?

      # Subject Project Status CR V
      For Gerrit Dashboard: &For+JCBC-349=message:JCBC-349

        Activity

        Hide
        daschl Michael Nitschinger added a comment -

        Jup looks like a bug! Expect a fix for the next release.

        Show
        daschl Michael Nitschinger added a comment - Jup looks like a bug! Expect a fix for the next release.
        Show
        daschl Michael Nitschinger added a comment - http://review.couchbase.org/#/c/28599/

          People

          • Assignee:
            daschl Michael Nitschinger
            Reporter:
            alanbk Alan Kleiman
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes