Hi, we just deployed our ravendb log feature in a test environment and suddenly getting these OverflowExceptions. Looking at the latest id generated it is 900880.
We are using one DocumentStore per application pool.
What gets me thinking that this is related to the Id is mostly since GenerateEntityIdOnTheClient is mentioned in the stacktrace.
Any help on this ?
System.OverflowException:
Value was either too large or too small for an Int32. at
System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Raven.Client.Converters.Int32Converter.ConvertTo(String value) in
c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Converters\Int32Converter.cs:line
53
at Raven.Client.Document.GenerateEntityIdOnTheClient.SetPropertyOrField(Type
propertyOrFieldType, Object entity, Action`1 setIdentifier, String id) in
c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Document\GenerateEntityIdOnTheClient.cs:line
164
at Raven.Client.Document.GenerateEntityIdOnTheClient.TrySetIdentity(Object
entity, String id) in
c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Document\GenerateEntityIdOnTheClient.cs:line
122
at
Raven.Client.Document.GenerateEntityIdOnTheClient.GenerateDocumentKeyForStorage(Object
entity) in
c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Document\GenerateEntityIdOnTheClient.cs:line
85
at
Raven.Client.Document.InMemoryDocumentSessionOperations.StoreInternal(Object
entity, Etag etag, String id, Boolean forceConcurrencyCheck) in
c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Document\InMemoryDocumentSessionOperations.cs:line
675
at Raven.Client.Document.InMemoryDocumentSessionOperations.Store(Object
entity) in c:\Builds\RavenDB-Stable\Raven.Client.Lightweight\Document\InMemoryDocumentSessionOperations.cs:line
631 at Netaxept.Core.Repositories.NoSqlRepository.Store(Entity entity, TimeSpan
expiry)
Regards
Jonas