org.springframework.data.couchbase.core.CouchbaseQueryExecutionException: Query returning a primitive type are expected to return exactly 1 result, got 100014

Stack Overflow | Kris | 1 month ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Couchbase + Spring Data: Get only field instead of whole entity using @Query

    Stack Overflow | 1 month ago | Kris
    org.springframework.data.couchbase.core.CouchbaseQueryExecutionException: Query returning a primitive type are expected to return exactly 1 result, got 100014
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    CAS or concurrent modification issue, in case of multiple ajax calls on page load.

    GitHub | 4 months ago | ShajahanEM
    org.springframework.data.couchbase.core.CouchbaseQueryExecutionException: Error executing N1QL statement 'UPDATE ssui_empact_sit USE KEYS $1 SET data.`global` = $2'. [{"msg":"DML Error, possible causes include CAS mismatch or concurrent modificationFailed to perform update - cause: MCResponse status=KEY_EEXISTS, opcode=SET, opaque=0, msg: Data exists for key","code":12009}]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.data.couchbase.core.CouchbaseQueryExecutionException

      Query returning a primitive type are expected to return exactly 1 result, got 100014

      at org.springframework.data.couchbase.repository.query.AbstractN1qlBasedQuery.executeSingleProjection()
    2. Spring Data Couchbase
      AbstractN1qlBasedQuery.execute
      1. org.springframework.data.couchbase.repository.query.AbstractN1qlBasedQuery.executeSingleProjection(AbstractN1qlBasedQuery.java:193)
      2. org.springframework.data.couchbase.repository.query.AbstractN1qlBasedQuery.executeDependingOnType(AbstractN1qlBasedQuery.java:134)
      3. org.springframework.data.couchbase.repository.query.AbstractN1qlBasedQuery.execute(AbstractN1qlBasedQuery.java:93)
      3 frames