You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using a subscribeToAll type persistent subscription with server-side filtering based on StreamID prefixes, server gets riddled with error logs
To Reproduce
Steps to reproduce the behavior:
Create filtered persistent subscription to $all: Filter by StreamID with prefix
Expected behavior
No errors
Actual behavior
Server throws errors.
Config/Logs/Screenshots
Stack trace sample:
System.NullReferenceException: Object reference not set to an instance of an object.
at EventStore.Core.Services.Storage.ReaderIndex.EventFilter.StreamIdPrefixStrategy.IsEventAllowed(EventRecord eventRecord) in /home/runner/work/TrainStation/TrainStation/build/oss-eventstore/src/EventStore.Core/Services/Storage/ReaderIndex/EventFilter.cs:line 144
at EventStore.Core.Services.PersistentSubscription.PersistentSubscription.NotifyLiveSubscriptionMessage(ResolvedEvent resolvedEvent) in /home/runner/work/TrainStation/TrainStation/build/oss-eventstore/src/EventStore.Core/Services/PersistentSubscription/PersistentSubscription.cs:line 291
at EventStore.Core.Services.PersistentSubscription.PersistentSubscriptionService`1.ProcessEventCommited(String eventStreamId, Int64 commitPosition, EventRecord evnt) in /home/runner/work/TrainStation/TrainStation/build/oss-eventstore/src/EventStore.Core/Services/PersistentSubscription/PersistentSubscriptionService.cs:line 1000
at EventStore.Core.Bus.MessageHandler`1.TryHandle(Message message) in /home/runner/work/TrainStation/TrainStation/build/oss-eventstore/src/EventStore.Core/Bus/MessageHandler.cs:line 30
at EventStore.Core.Bus.InMemoryBus.Publish(Message message) in /home/runner/work/TrainStation/TrainStation/build/oss-eventstore/src/EventStore.Core/Bus/InMemoryBus.cs:line 290
at EventStore.Core.Bus.QueuedHandlerThreadPool.ReadFromQueue(Object o) in /home/runner/work/TrainStation/TrainStation/build/oss-eventstore/src/EventStore.Core/Bus/QueuedHandlerThreadPool.cs:line 140
EventStore details
EventStore server version:
23.10.1.0
Operating system:
Docker: bookworm-slim
EventStore client library and version (if applicable):
Golang client, latest
The text was updated successfully, but these errors were encountered:
m-guesnon-pvotal
changed the title
System.NullReferenceException for $all subscription filtering by EventType prefix
System.NullReferenceException for $all subscription filtering by StreamID prefix
Feb 29, 2024
Describe the bug
When using a subscribeToAll type persistent subscription with server-side filtering based on StreamID prefixes, server gets riddled with error logs
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No errors
Actual behavior
Server throws errors.
Config/Logs/Screenshots
Stack trace sample:
EventStore details
23.10.1.0
Docker: bookworm-slim
Golang client, latest
Additional context
DB-720
The text was updated successfully, but these errors were encountered: