Hi,

it seems there is some kind of problem with using ektorp on beta2 version 
of cbl for android. The application that I work on was already tested and 
working with older version of CBL returning data.

When I execute this : 
      final List<CouchDbTable> result = 
db.queryView(createQuery("by_company_and_name").key(ComplexKey.of(company, 
name)), CouchDbTable.class);

result is null and in log pops this message :


02-13 19:09:08.666: V/Database(2792): Re-indexing view 
CouchDbTable/by_company_and_name ...
02-13 19:09:08.666: I/CBLSQL(2792): pool-1-thread-1 Begin transaction 
(level 1)
02-13 19:09:08.666: D/CBLSQL(2792): pool-1-thread-1 start running query: 
SELECT lastSequence FROM views WHERE name=?
02-13 19:09:08.666: D/CBLSQL(2792): pool-1-thread-1 finish running query: 
SELECT lastSequence FROM views WHERE name=?
02-13 19:09:08.666: D/Database(2792): lastSequence (2061) == dbMaxSequence 
(2061), nothing to do
*02-13 19:09:08.666: W/Database(2792): Failed to rebuild view 
CouchDbTable/by_company_and_name: 500*
02-13 19:09:08.666: I/CBLSQL(2792): pool-1-thread-1 CANCEL transaction 
(level 1)
02-13 19:09:08.666: D/CBLSQL(2792): pool-1-thread-1 start running query: 
SELECT lastSequence FROM views WHERE name=?
02-13 19:09:08.666: D/CBLSQL(2792): pool-1-thread-1 finish running query: 
SELECT lastSequence FROM views WHERE name=?
02-13 19:09:08.746: V/Database(2792): Query 
CouchDbTable/by_company_and_name: SELECT key, value, docid, revs.sequence 
FROM maps, revs, docs WHERE maps.view_id=? AND key in (?) AND revs.sequence 
= maps.sequence AND docs.doc_id = revs.doc_id ORDER BY key LIMIT ? OFFSET ?

What is 500 error and why view fails to rebuild?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/697deeb1-622a-4080-971b-ec387182682a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to