Closed buckett closed 6 years ago
It looks like org.lightcouch.View#queryNextPage
assumes that the value in a view will always be a String which isn't the case for _all_docs where you have something like:
{
id: "052cc4aa11304d58ac23b722325f84cd",
key: "052cc4aa11304d58ac23b722325f84cd",
value: {
rev: "1-241b85056f1f333f8c8e90dc79796351"
},
doc: {
_id: "052cc4aa11304d58ac23b722325f84cd",
_rev: "1-241b85056f1f333f8c8e90dc79796351",
Type: "Foo",
title: "some-val",
position: 0
}
}
Fixed in release 0.2.0
I was attempting to page through _all_docs and on the first page I'm getting a stack trace:
My code is effectively this: