Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

Bhawana Udhani's picture
Asked 7 months 20 hours ago
Latest activity 6 months 3 weeks ago

Getting "java.lang.RuntimeException: Failed to access the view" while querying?

What are the reasons of java.lang.RuntimeException: Failed to access the view. When trying to query using java I'm getting this error. When using the resultant startKey and endKey expression it works perfectly in Couchbase


using the same...

bkern's picture
Asked 7 months 1 week ago
Latest activity 5 months 3 weeks ago

Not sure how to fix this warning from couchbase client

I have couchbase server setup with one node and clients are able to write data to it. What I am working on now is a simple script to get some of these stored documents. I went in to the web console and found a random key and I try to retrieve that from my program. What I get is this warning:...

chaddy012's picture
Asked 7 months 1 week ago
Latest activity 6 months 2 weeks ago

Can i return the key along in the body of a get or getbulk using he java sdk

Hi i am able to successfully retrieve results from the database. one of my requirements however is to return the key along in the body of the results is there a way to achieve the above without having to process each record after retrieval?

vladif86's picture
Asked 7 months 1 week ago
Latest activity 7 months 1 week ago

Using Couchbase memcached in Java

Hi All,
We're planing using the memcached of Couchbase. Accessing the memcached is from Java
What's memcached client do you recommend to use for this?
Are there examples/links of using it with Couchbase?

Thank you in advance,

katzshay's picture
Asked 7 months 3 weeks ago
Latest activity 7 months 2 weeks ago

Storm + java sdk


I'm trying to execute some couchbase scenario with storm.
My couchbase client is singleton.
I have 2 bolts that using this client.
During the execution I'm getting the following exception:
Caused by: java.lang.IllegalStateException: Interrupted while waiting to...

sivasena's picture
Asked 7 months 4 weeks ago
Latest activity 7 months 2 weeks ago

regarding Java TAP API

Hi All,

I'm able to configure an TAPClient to a Couchbase server bucket and receiving the update notifications from the same. Below is the piece of Java code i have written:
URI base = new URI("...

Nakshathri's picture
Asked 8 months 3 days ago
Latest activity 7 months 4 weeks ago

Error while saving the Document in Couchbase : Cannot cache data larger than 20971520 bytes

Hello All,

We are using couchbase (Couchbase Buckets connecting through Java Client) extensively for storing user documents across our multiple applications. From the looks of the error we are getting, exception is very straight forward wherein it says the document what we are trying to...

dinesh_sling's picture
Asked 8 months 4 days ago
Latest activity 8 months 21 hours ago

Couchbase library giving exceptions during load


We are using couchbase v2.1.1 community edition for storing about 4 Million documents.

We access it using Couchbase Java library v1.2.2

During high load of around 6000 requests / second, Couchbase library is throwing below mentioned exceptions;


michals's picture
Asked 8 months 5 days ago
Latest activity 7 months 3 weeks ago

Failed to connect to couchbase with new client

Hi, I am working with:
spymemcached-2.10.2, couchbase-client-1.2.2, couchbase server 2.1.1
But when I try to create a couchbase client and connect to couchbase through the java code i get this error:
java.lang.IllegalArgumentException: Reconfigurable cannot be null and must...

sivasena's picture
Asked 8 months 1 week ago
Latest activity 8 months 23 hours ago

regarding document updates notification

Hi All,

We have a requirement to track all document updates of a particular bucket. But because of the rate at which the documents are updating and the number of documents in the bucket we have to avoid the usage of views for this.

We can make use of JAVA TAP API for this but the...