System.ArgumentOutOfRangeExceptionIndex was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at Couchbase.CouchbaseClient.Couchbase.IHttpClientLocator.Locate(String designDocument) at Couchbase.CouchbaseViewHandler.GetResponse(IDictionary`2 viewParams) at Couchbase.CouchbaseViewHandler.<TransformResults>d__0`1.MoveNext() at X.Framework.Tracking.Model.ResourceAccessRepository.<GetResourceAccesses>d__0.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at X.Framework.Tracking.PageVisitLogger.GetResourceAccesses(String userId) at X.Framework.GlobalApplication.Application_AuthenticateRequest(Object sender, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/72089e8a-22d4-4dbc-a2fe-6f8d2232bc2f%40googlegroups.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/6B0B570F-E606-4984-BEDE-2B842AE06854%40couchbase.com?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/CAB0U_koEdahFLkb_9DWQ5EpLgZE%3DaDTNtbfH%2BtERHt-Dgd%3D22w%40mail.gmail.com?hl=en.
What data would be of use? I'm looking at the "Log" via the web admin now and do see a couple errors around that time.
Just for my sanity I took another backup, this time from production and the completion percentages go only to 100% so I'm pretty certain there is something wrong with our bucket in test but I don't know how to troubleshoot further or resolve. See image below.
--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/b5b82f68-c7a5-4332-a0de-b6f4cbf9b4de%40googlegroups.com?hl=en.
--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/26d1bf3a-3c4f-4fc4-b061-552d0889165b%40googlegroups.com?hl=en.
-K--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/ea80b245-63b7-4ca7-9760-aea944256ade%40googlegroups.com?hl=en.
-sh-4.1$ curl -u user:pass -X POST http://localhost:8091/pools/default/buckets/testing-digital-campus-tracking/controller/unsafePurgeBucketNot found.-sh-4.1$
-K--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/c129ac82-926b-4de5-9258-be53b8eac916%40googlegroups.com?hl=en.
--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/CAB0U_ko5mAyi5q9gviDWsrJKspoakCOUVTHDFwC%2BM%2BM7_cBdVQ%40mail.gmail.com?hl=en.
c:\Program Files\Couchbase\Server\bin>cbrestore c:\clientWork\Couchbase\backup-20130603 http://localhost:8091 --bucket-source=testing-digital-campus-tracking --bucket-destination=dev-digital-campus-tracking -u user -p pass -x rehash=1
error: unknown extra option: rehash
-K--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/0ae23393-11cb-4b62-bb70-508178b533c5%40googlegroups.com?hl=en.
-K--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/31c6f7c3-ed06-44d4-9039-a0bd4e088d42%40googlegroups.com?hl=en.
digital_campus_cookiesfunction(doc, meta) {if (doc.type.toLowerCase() == 'cookie') {if (doc.userId != null && doc.resourceKey != null) {emit(doc.userId, doc._id);}}}digital_campus_pagevisitsfunction(doc, meta) {if (doc.type.toLowerCase() == 'pagevisit') {if (doc.pageId != null) {emit(doc.userId, doc._id);}}}digital_campus_resource_accessesfunction(doc, meta) {if (doc.type.toLowerCase() == 'resourceaccess') {if (doc.userId != null) {emit(doc.userId, doc._id);}}}
-K--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/fa6f409a-d010-48ce-a786-1b5fb4390aa3%40googlegroups.com?hl=en.
Can you describe in a bit more detail what the actual problem you're having is? Are the views not returning any results or are they returning rows that then don't seem to be available? If the latter, am I right in understanding that you're able to successfully perform a manual 'get' for some of those keys?
public IEnumerable<PageVisit> GetPageVisits(string userId){var visits = this.CouchbaseClient.GetView("digital_campus_pagevisits", "digital_campus_pagevisits").Key(userId);foreach (var visit in visits){yield return Get(visit.ItemId);}}
-K--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/5d4fc6bd-ead6-4e1e-aa32-94061f07d7fb%40googlegroups.com?hl=en.
-K--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/6f0bad91-0baf-442c-bd26-f4805a4cfb22%40googlegroups.com?hl=en.
-K--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/b245c0c9-afeb-4b37-9448-202fbf88a809%40googlegroups.com?hl=en.
It looks as though I get a response back but in debug if I try and open any of the properties up they timeout. I've seen if I expand the ResultsView which triggers the retrieval of docs I get 0 TotalRows.
--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/6e8c6799-d546-475a-8339-ce171511de99%40googlegroups.com?hl=en.
--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/0b0e76f4-f2a8-4b26-9fa5-ee01d48d636e%40googlegroups.com?hl=en.
-K--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/245574eb-97fa-4fdb-9461-7e53160acf1f%40googlegroups.com?hl=en.
{"total_rows":23,"rows":[]}
Sure thing. I get the following:{"total_rows":23,"rows":[]}
--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/f1f1960a-5b87-478f-88da-86d3dec70026%40googlegroups.com?hl=en.
--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/ec9eba3a-8aa1-44af-a4ac-e95d116e868e%40googlegroups.com?hl=en.
-K--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/54d8d370-6e2e-4b8b-9b26-196499cff8c5%40googlegroups.com?hl=en.
--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/46119169-0031-4f73-b5eb-4b6edde8e5bc%40googlegroups.com?hl=en.
-K--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/d5b649b6-0f5e-4a12-bad9-1b33b16308c2%40googlegroups.com?hl=en.
I just pushed up a cbcollect_info dump to the pixelmedia folder, file is named htestnosql1-20130605-post-upgrade.zip. Not sure this will be of much use given that I uninstalled and then did a fresh install but hopeful it is. I'll try and remember to do this when we start the production server upgrades (probably not for another week).
-K--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/c8337e19-88ac-4661-8385-7c97fa7a1b24%40googlegroups.com?hl=en.
System.ArgumentOutOfRangeExceptionIndex was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at Couchbase.CouchbaseClient.Couchbase.IHttpClientLocator.Locate(String designDocument) at Couchbase.CouchbaseViewHandler.GetResponse(IDictionary`2 viewParams) at Couchbase.CouchbaseViewHandler.<TransformResults>d__0`1.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at ###.Framework.Tracking.PageVisitLogger.GetResourceAccesses(String userId) at ###.Framework.GlobalApplication.Application_AuthenticateRequest(Object sender, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Ok everyone, blast from the past. We are about to launch 2.2 of the same app that was experiencing index out of range errors accessing a view. We have continued to see this error show up during minimal as well as heavy load testing. We have multiple views and for some reason this one view causes us problems. It's use is almost identical to another that hasn't error and is access immediately before this failing view.
The content they return is different though. The error, for simplicity sake is pasted below:System.ArgumentOutOfRangeExceptionIndex was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index at Couchbase.CouchbaseClient.Couchbase.IHttpClientLocator.Locate(String designDocument) at Couchbase.CouchbaseViewHandler.GetResponse(IDictionary`2 viewParams) at Couchbase.CouchbaseViewHandler.<TransformResults>d__0`1.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at ###.Framework.Tracking.PageVisitLogger.GetResourceAccesses(String userId) at ###.Framework.GlobalApplication.Application_AuthenticateRequest(Object sender, EventArgs e) at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)For the 2.1 release that started this thread, we identified issues with the .NET 1.2.6 and had to go back to 1.2.0. For this 2.2 release I tried 1.2.7 and 1.2.8 and still experienced the issue so was not able to upgrade still. The issue we have run into is documented in this thread so I'm not going to rehash it here. I even provided diagnostics to Couchbase for troubleshooting purposes.Two things:
- Is there an ETA on when this issue will be resolved?
- What might cause this exception for just one view?
--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/54e446ea-973e-41e2-8073-6da4fa62844b%40googlegroups.com.
--
Couchbase 2.0 is Here!: http://www.couchbase.com/download
Couchbase 2.0 Learn: http://www.couchbase.com/learn
Couchbase Forums: http://www.couchbase.com/forums
---
You received this message because you are subscribed to the Google Groups "Couchbase Team 8091" group.
To unsubscribe from this group and stop receiving emails from it, send an email to couchbase-809...@googlegroups.com.
To post to this group, send email to couchba...@googlegroups.com.
Visit this group at http://groups.google.com/group/couchbase-8091.
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/CE9EB6AB.6BD64%25matt%40couchbase.com.
Hi guys, thanks for following up. Honestly I don't really have any way to reproduce this with any level of consistency. In the past couple of weeks we've seen the issue 3, maybe 4 times and 3 of those were during load tests with the environment under a fairly high amount of traffic (hundreds of users). This is a test environment and there is only 1 Couchbase node. Our production environment has a 2 server cluster and we've never seen this issue (to my knowledge).Tomorrow we deploy 2.2 (of our application) so I won't be able to support you with much but maybe after that, if it'll help I can dump server diagnostics from our test node. I can also provide you with a backup from our node if that'll help you recreate. From there I could provide you with the .NET code pieces to try and reproduce. Our app is way to big to provide you with a running solution but I can see what I can do to extract the pieces you need, thankfully this code runs in the .NET GlobalApplication's Authenticate_Request event (so at the start of every page load).
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/CAB0U_kq8tKjz9GLsEbTFnDwHr-EjFtEUu-zXy1S%2B7arXvtfp8A%40mail.gmail.com.
Kyle –
Here is the NCBC for tracking this issue: https://www.couchbase.com/issues/browse/NCBC-326
-Jeff
To view this discussion on the web visit https://groups.google.com/d/msgid/couchbase-8091/48D4ACF984BD1B43BCB2C08C7C2B78AD0344FE6012%40EXVMBX020-1.exch020.serverdata.net.