Hi,
We have a projection stuck at some point, we cannot get the projection’s state or result (error code 408).
The status of the projection is “running”, here is the stats we have:
Events/sec
0.0
Buffered events
2739
Events processed
0
Partitions cached
1064
Here is the error backtrace:
[PID:20973:013 2015.04.20 13:47:41.935 ERROR QueuedHandlerAutoRes] Error while processing message EventStore.Core.Messages.ClientMessage+ReadStreamEventsBackwardCompleted in queued handler ‘Projection Core #1’.
System.Exception: StartObject or EndArray expected (At: 1, 2)
at EventStore.Projections.Core.Services.Processing.PartitionState.Error (Newtonsoft.Json.JsonTextReader reader, System.String message) [0x00000] in :0
at EventStore.Projections.Core.Services.Processing.PartitionState.Deserialize (System.String serializedState, EventStore.Projections.Core.Services.Processing.CheckpointTag causedBy) [0x00000] in :0
at EventStore.Projections.Core.Services.Processing.DefaultCheckpointManager.OnLoadPartitionStateReadStreamEventsBackwardCompleted (EventStore.Core.Messages.ReadStreamEventsBackwardCompleted message, EventStore.Projections.Core.Services.Processing.CheckpointTag requestedStateCheckpointTag, System.Action1 loadCompleted, System.String partitionStreamName, System.String stateEventType) [0x00000] in <filename unknown>:0 at EventStore.Projections.Core.Services.Processing.DefaultCheckpointManager+<BeginLoadPartitionStateAt>c__AnonStorey0.<>m__0 (EventStore.Core.Messages.ReadStreamEventsBackwardCompleted m) [0x00000] in <filename unknown>:0 at EventStore.Core.Messaging.RequestResponseDispatcher
2[EventStore.Core.Messages.ClientMessage+ReadStreamEventsBackward,EventStore.Core.Messages.ClientMessage+ReadStreamEventsBackwardCompleted].Handle (EventStore.Core.Messages.ReadStreamEventsBackwardCompleted message) [0x00000] in :0
at EventStore.Core.Messaging.RequestResponseDispatcher2[EventStore.Core.Messages.ClientMessage+ReadStreamEventsBackward,EventStore.Core.Messages.ClientMessage+ReadStreamEventsBackwardCompleted].EventStore.Core.Bus.IHandle<TResponse>.Handle (EventStore.Core.Messages.ReadStreamEventsBackwardCompleted message) [0x00000] in <filename unknown>:0 at EventStore.Core.Bus.MessageHandler
1[EventStore.Core.Messages.ClientMessage+ReadStreamEventsBackwardCompleted].TryHandle (EventStore.Core.Messaging.Message message) [0x00000] in :0
at EventStore.Core.Bus.InMemoryBus.Publish (EventStore.Core.Messaging.Message message) [0x00000] in :0
at EventStore.Core.Bus.InMemoryBus.Handle (EventStore.Core.Messaging.Message message) [0x00000] in :0
at EventStore.Core.Bus.QueuedHandlerAutoReset.ReadFromQueue (System.Object o) [0x00000] in :0
``
I understand the projection state is faulty here but I don’t see a way to actually debug it: the projection debug page is stuck at “Loading definition…”.
We are running Ubuntu GNU/Linux 14.04.2 LTS.
Thoughts anyone?
Thanks