I have a reduce that contains 454 fields.
... 453 other fields
When I add a 455th field to the reduce, I am getting the following error in the Logs:
Message
Failed to index documents for index: Quoting
Exception
System.InvalidOperationException: MSIL instruction is invalid or index is out of bounds.
at System.Reflection.Emit.ILGenerator.Emit(OpCode opcode, LocalBuilder local)
at Raven.Imports.Newtonsoft.Json.Utilities.DynamicReflectionDelegateFactory.GenerateCreateMethodCallIL(MethodBase method, ILGenerator generator, Int32 argsIndex)
at Raven.Imports.Newtonsoft.Json.Utilities.DynamicReflectionDelegateFactory.CreateParametrizedConstructor(MethodBase method)
at Raven.Imports.Newtonsoft.Json.Serialization.JsonObjectContract.set_ParametrizedConstructor(ConstructorInfo value)
at Raven.Imports.Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract(Type objectType)
at Raven.Imports.Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract(Type objectType)
at Raven.Imports.Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract(Type type)
at Raven.Imports.Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)
at Raven.Imports.Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)
at Raven.Database.Indexing.MapReduceIndex.GetMappedData(Object doc)
at Raven.Database.Indexing.MapReduceIndex.ProcessBatch(AbstractViewGenerator viewGenerator, List`1 currentDocumentResults, String currentKey, HashSet`1 changes, IStorageActionsAccessor actions, IDictionary`2 statsPerKey, Stopwatch reduceDuringMapLinqExecution, Stopwatch putMappedResultsDuration, Stopwatch convertToRavenJObjectDuration)
at Raven.Database.Indexing.MapReduceIndex.<>c__DisplayClassb2.<>c__DisplayClassb7.<IndexDocuments>b__9f(IStorageActionsAccessor accessor)
at Raven.Storage.Esent.TransactionalStorage.Batch(Action`1 action)
at Raven.Database.Indexing.MapReduceIndex.<>c__DisplayClassb2.<IndexDocuments>b__9e(IEnumerator`1 partition)
at Raven.Database.Indexing.DefaultBackgroundTaskExecuter.ExecuteAllBuffered[T](WorkContext context, IList`1 source, Action`1 action)
at Raven.Database.Indexing.MapReduceIndex.IndexDocuments(AbstractViewGenerator viewGenerator, IndexingBatch batch, IStorageActionsAccessor actions, DateTime minimumTimestamp, CancellationToken token)
at Raven.Database.Indexing.IndexStorage.Index(Int32 index, AbstractViewGenerator viewGenerator, IndexingBatch batch, WorkContext context, IStorageActionsAccessor actions, DateTime minimumTimestamp, CancellationToken token)
at Raven.Database.Indexing.IndexingExecuter.IndexDocuments(IStorageActionsAccessor actions, IndexingBatchForIndex indexingBatchForIndex, CancellationToken token)
at Raven.Database.Indexing.IndexingExecuter.<>c__DisplayClass3e.<HandleIndexingFor>b__3a(IStorageActionsAccessor actions)
at Raven.Storage.Esent.TransactionalStorage.ExecuteBatch(Action`1 action, EsentTransactionContext transactionContext)
at Raven.Storage.Esent.TransactionalStorage.Batch(Action`1 action)
at Raven.Database.Indexing.IndexingExecuter.HandleIndexingFor(IndexingBatchForIndex batchForIndex, Etag lastEtag, DateTime lastModified, CancellationToken token)