Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Per-node hub initialization fails: TypeDefinition.GetKey throws NullReferenceException while TypeSource builds its InstanceCollection

Open
#6,643 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
backend

Research direction

Start by reading TypeDefinition.GetKey in src/MeshWeaver.Messaging.Hub/Serialization/TypeDefinition.cs, then trace how InstanceCollection in src/MeshWeaver.Data.Contract/InstanceCollection.cs receives its identity function from TypeSource.Initialize in src/MeshWeaver.Data/TypeSource.cs. The issue does not establish which candidate cause is responsible or provide access to the affected node data, so first identify what can be verified from these entry points. Done means explaining the null dereference and establishing whether it comes from stored data, release adoption, or lazy initialization.

Written by the indexing model from the issue text.

Description

bug sev:M

Observed

Initialization of the per-node hub for OIB/LegalEntity/TEST-OIB-TW-Co (instance memex-cloud, pod memex-portal-deployment-5897c49648-jtqxn) failed with the hub entering FAILED state. The failing chain, read off the stack: MeshWeaver.Data.TypeSource1.Initialize→InstanceCollection constructor (src/MeshWeaver.Data.Contract/InstanceCollection.cs) building an immutable dictionary keyed via the identity function → MeshWeaver.Messaging.Serialization.TypeDefinition.GetKey(Object instance) (src/MeshWeaver.Messaging.Hub/Serialization/TypeDefinition.cs) throwing NullReferenceException. So the hub could not index the instances of some type T during buildup — GetKey` dereferenced null for one of the instances (or the key accessor resolved to nothing).

The five occurrences in this incident are one event, five watchers: the CompileWatcher log site reported the same hub-init failure through five of its watcher names (Compile watcher, ReleaseRequestWatcher, [LateReleaseAdoption], Sources watcher, Adopted source-stamp watcher), each saying it is re-establishing. Two sibling fingerprints fired at the same instant with the identical stack on the same pod and node — see Admin/_LogIncident/e740675ef2d0666e (MessageHub site) and Admin/_LogIncident/392512339f030b64 (DataContext site). They are the same event at other log sites, not separate defects.

Where and when

A single burst, ~21 ms wide, on one pod of the tenant instance memex-cloud — no steady rate, no other pods. It lands inside a window of active OIB workspace churn on that instance: an OIB/Litigation NodeType compile failure ~17 s earlier (which itself lists OIB/LegalEntity/Source/* nodes among its discovered sources), and StuckRoll / silo-unavailable alarms on memex-cloud earlier the same evening. The burst therefore coincides with an OIB source/release/sync window rather than standing alone.

Impact

The node OIB/LegalEntity/TEST-OIB-TW-Co — whose id suggests test data — did not serve while its hub was FAILED, on the one pod that activated it. All five watchers reported re-establishing. Whether the node recovered is not established.

Not established

  • The cause. The evidence fixes the failing call and the operation, not why GetKey saw a null.
  • Whether the hub recovered after the watchers re-established, or fails on every activation since.
  • Whether other nodes / pods show the same: this is the only pod and only node path in the burst.
  • The node's own content: the OIB tenant data lives on the memex-cloud instance and is not readable from this control instance, so the instances fed to the InstanceCollection could not be inspected from here.
  • Which type T the faulting TypeSource was initializing — the stack does not carry it.

Candidate causes and the reading that separates them

  1. A stored instance under the node's subtree whose key member is null. GetKey computing the identity of each instance hits a null key. Predicts: the hub fails on every activation, on every pod of that instance, until the data is corrected. Reading: read the node content / typed instances under OIB/LegalEntity/TEST-OIB-TW-Co on memex-cloud and look for an instance whose key field (or the object carrying it) is null.
  2. A mid-adoption type-definition mismatch. Instances deserialized against a changed CLR shape while a NodeType release was being adopted — consistent with the [LateReleaseAdoption] watcher faulting at the same instant and the OIB compile/release churn around it — so the key selector resolves to nothing for the in-flight snapshot. Predicts: transient — a hub initialization after the release settles succeeds. Reading: open the same node now; if it initializes cleanly, this cause fits and (1) is excluded.
  3. A lazy-initialization race in TypeDefinition: the key accessor being resolved lazily while five watchers initialize against the same type concurrently. Predicts: rare, never reproducible in isolation. Reading: whether TypeDefinition.GetKey (line 128 per the stack) dereferences a lazily-populated field, read from the framework source.

Readings 1 and 2 are cheap (one hub activation / one node read on memex-cloud) and between them decide data-defect vs release-window.

Where to look

  • MeshWeaver.Messaging.Serialization.TypeDefinition.GetKey — src/MeshWeaver.Messaging.Hub/Serialization/TypeDefinition.cs:128 (top frame, from the stack)
  • MeshWeaver.Data.InstanceCollection ctor — src/MeshWeaver.Data.Contract/InstanceCollection.cs:36
  • MeshWeaver.Data.TypeSource1.Initialize—src/MeshWeaver.Data/TypeSource.cs:113`
  • The node OIB/LegalEntity/TEST-OIB-TW-Co on the memex-cloud instance (not reachable from this control instance)
  • Sibling incidents of the same event: e740675ef2d0666e, 392512339f030b64

Evidence
Fingerprint 05c5ef0f7e92bbd8
Category MeshWeaver.Graph.CompileWatcher
Severity Error
Exception System.InvalidOperationException
Top frame MeshWeaver.Messaging.Serialization.TypeDefinition.GetKey(Object instance)
Namespace memex-cloud
Pods memex-portal-deployment-5897c49648-jtqxn
Occurrences 310
First seen 2026-10-12 22:23:19Z
Last seen 2026-10-12 22:24:20Z
Routing not determined — no configured route matches the category MeshWeaver.Graph.CompileWatcher. This repository is the configured fallback, not a finding about who owns the fault; the category names the LOGGER, which may not be the subject.
Recent log lines
2026-10-12 22:24:16Z memex-portal-deployment-5897c49648-jtqxn fail: MeshWeaver.Graph.CompileWatcher[0]
      Compile watcher faulted on OIB/LegalEntity/TEST-OIB-TW-Co — re-establishing
      System.InvalidOperationException: Hub 'OIB/LegalEntity/TEST-OIB-TW-Co' initialization failed
       ---> System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
       ---> System.NullReferenceException: Object reference not set to an instance of an object.
         at MeshWeaver.Messaging.Serialization.TypeDefinition.GetKey(Object instance) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Messaging.Hub/Serialization/TypeDefinition.cs:line 128
         at System.Collections.Immutable.ImmutableDictionary.<>c__DisplayClass11_0`3.<ToImmutableDictionary>b__0(TSource element)
         at System.Linq.Enumerable.ArraySelectIterator`2.MoveNext()
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
         at MeshWeaver.Data.InstanceCollection..ctor(IEnumerable`1 instances, Func`2 identity) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data.Contract/InstanceCollection.cs:line 36
         at MeshWeaver.Data.TypeSource`1.<Initialize>b__20_0(IEnumerable`1 items) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data/TypeSource.cs:line 113
         at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
         --- End of inner exception stack trace ---
         --- End of inner exception stack trace ---
         at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception)
         at System.Reactive.ExceptionHelpers.Throw(Exception exception)
         at System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex)
         at System.Reactive.AnonymousSafeObserver`1.OnError(Exception error)
         at Syste…[truncated]
2026-10-12 22:24:16Z memex-portal-deployment-5897c49648-jtqxn fail: MeshWeaver.Graph.CompileWatcher[0]
      [LateReleaseAdoption] OIB/LegalEntity/TEST-OIB-TW-Co faulted on OIB/LegalEntity/TEST-OIB-TW-Co — re-establishing
      System.InvalidOperationException: Hub 'OIB/LegalEntity/TEST-OIB-TW-Co' initialization failed
       ---> System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
       ---> System.NullReferenceException: Object reference not set to an instance of an object.
         at MeshWeaver.Messaging.Serialization.TypeDefinition.GetKey(Object instance) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Messaging.Hub/Serialization/TypeDefinition.cs:line 128
         at System.Collections.Immutable.ImmutableDictionary.<>c__DisplayClass11_0`3.<ToImmutableDictionary>b__0(TSource element)
         at System.Linq.Enumerable.ArraySelectIterator`2.MoveNext()
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
         at MeshWeaver.Data.InstanceCollection..ctor(IEnumerable`1 instances, Func`2 identity) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data.Contract/InstanceCollection.cs:line 36
         at MeshWeaver.Data.TypeSource`1.<Initialize>b__20_0(IEnumerable`1 items) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data/TypeSource.cs:line 113
         at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
         --- End of inner exception stack trace ---
         --- End of inner exception stack trace ---
         at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception)
         at System.Reactive.ExceptionHelpers.Throw(Exception exception)
         at System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex)
         at System.Reactive.AnonymousSafeObserver`1.OnErr…[truncated]
2026-10-12 22:24:16Z memex-portal-deployment-5897c49648-jtqxn fail: MeshWeaver.Graph.CompileWatcher[0]
      Adopted source-stamp watcher faulted on OIB/LegalEntity/TEST-OIB-TW-Co — re-establishing
      System.InvalidOperationException: Hub 'OIB/LegalEntity/TEST-OIB-TW-Co' initialization failed
       ---> System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
       ---> System.NullReferenceException: Object reference not set to an instance of an object.
         at MeshWeaver.Messaging.Serialization.TypeDefinition.GetKey(Object instance) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Messaging.Hub/Serialization/TypeDefinition.cs:line 128
         at System.Collections.Immutable.ImmutableDictionary.<>c__DisplayClass11_0`3.<ToImmutableDictionary>b__0(TSource element)
         at System.Linq.Enumerable.ArraySelectIterator`2.MoveNext()
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
         at MeshWeaver.Data.InstanceCollection..ctor(IEnumerable`1 instances, Func`2 identity) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data.Contract/InstanceCollection.cs:line 36
         at MeshWeaver.Data.TypeSource`1.<Initialize>b__20_0(IEnumerable`1 items) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data/TypeSource.cs:line 113
         at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
         --- End of inner exception stack trace ---
         --- End of inner exception stack trace ---
         at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception)
         at System.Reactive.ExceptionHelpers.Throw(Exception exception)
         at System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex)
         at System.Reactive.AnonymousSafeObserver`1.OnError(Exception error)
    …[truncated]
2026-10-12 22:24:16Z memex-portal-deployment-5897c49648-jtqxn fail: MeshWeaver.Graph.CompileWatcher[0]
      ReleaseRequestWatcher faulted on OIB/LegalEntity/TEST-OIB-TW-Co — re-establishing
      System.InvalidOperationException: Hub 'OIB/LegalEntity/TEST-OIB-TW-Co' initialization failed
       ---> System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
       ---> System.NullReferenceException: Object reference not set to an instance of an object.
         at MeshWeaver.Messaging.Serialization.TypeDefinition.GetKey(Object instance) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Messaging.Hub/Serialization/TypeDefinition.cs:line 128
         at System.Collections.Immutable.ImmutableDictionary.<>c__DisplayClass11_0`3.<ToImmutableDictionary>b__0(TSource element)
         at System.Linq.Enumerable.ArraySelectIterator`2.MoveNext()
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
         at MeshWeaver.Data.InstanceCollection..ctor(IEnumerable`1 instances, Func`2 identity) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data.Contract/InstanceCollection.cs:line 36
         at MeshWeaver.Data.TypeSource`1.<Initialize>b__20_0(IEnumerable`1 items) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data/TypeSource.cs:line 113
         at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
         --- End of inner exception stack trace ---
         --- End of inner exception stack trace ---
         at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception)
         at System.Reactive.ExceptionHelpers.Throw(Exception exception)
         at System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex)
         at System.Reactive.AnonymousSafeObserver`1.OnError(Exception error)
         at…[truncated]
2026-10-12 22:24:16Z memex-portal-deployment-5897c49648-jtqxn fail: MeshWeaver.Graph.CompileWatcher[0]
      Sources watcher faulted on OIB/LegalEntity/TEST-OIB-TW-Co — re-establishing
      System.InvalidOperationException: Hub 'OIB/LegalEntity/TEST-OIB-TW-Co' initialization failed
       ---> System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
       ---> System.NullReferenceException: Object reference not set to an instance of an object.
         at MeshWeaver.Messaging.Serialization.TypeDefinition.GetKey(Object instance) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Messaging.Hub/Serialization/TypeDefinition.cs:line 128
         at System.Collections.Immutable.ImmutableDictionary.<>c__DisplayClass11_0`3.<ToImmutableDictionary>b__0(TSource element)
         at System.Linq.Enumerable.ArraySelectIterator`2.MoveNext()
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
         at MeshWeaver.Data.InstanceCollection..ctor(IEnumerable`1 instances, Func`2 identity) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data.Contract/InstanceCollection.cs:line 36
         at MeshWeaver.Data.TypeSource`1.<Initialize>b__20_0(IEnumerable`1 items) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data/TypeSource.cs:line 113
         at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
         --- End of inner exception stack trace ---
         --- End of inner exception stack trace ---
         at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception)
         at System.Reactive.ExceptionHelpers.Throw(Exception exception)
         at System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex)
         at System.Reactive.AnonymousSafeObserver`1.OnError(Exception error)
         at Syste…[truncated]
2026-10-12 22:24:20Z memex-portal-deployment-5897c49648-jtqxn fail: MeshWeaver.Graph.CompileWatcher[0]
      Compile watcher faulted on OIB/LegalEntity/TEST-OIB-TW-Co — re-establishing
      System.InvalidOperationException: Hub 'OIB/LegalEntity/TEST-OIB-TW-Co' initialization failed
       ---> System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
       ---> System.NullReferenceException: Object reference not set to an instance of an object.
         at MeshWeaver.Messaging.Serialization.TypeDefinition.GetKey(Object instance) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Messaging.Hub/Serialization/TypeDefinition.cs:line 128
         at System.Collections.Immutable.ImmutableDictionary.<>c__DisplayClass11_0`3.<ToImmutableDictionary>b__0(TSource element)
         at System.Linq.Enumerable.ArraySelectIterator`2.MoveNext()
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
         at MeshWeaver.Data.InstanceCollection..ctor(IEnumerable`1 instances, Func`2 identity) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data.Contract/InstanceCollection.cs:line 36
         at MeshWeaver.Data.TypeSource`1.<Initialize>b__20_0(IEnumerable`1 items) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data/TypeSource.cs:line 113
         at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
         --- End of inner exception stack trace ---
         --- End of inner exception stack trace ---
         at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception)
         at System.Reactive.ExceptionHelpers.Throw(Exception exception)
         at System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex)
         at System.Reactive.AnonymousSafeObserver`1.OnError(Exception error)
         at Syste…[truncated]
2026-10-12 22:24:20Z memex-portal-deployment-5897c49648-jtqxn fail: MeshWeaver.Graph.CompileWatcher[0]
      [LateReleaseAdoption] OIB/LegalEntity/TEST-OIB-TW-Co faulted on OIB/LegalEntity/TEST-OIB-TW-Co — re-establishing
      System.InvalidOperationException: Hub 'OIB/LegalEntity/TEST-OIB-TW-Co' initialization failed
       ---> System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
       ---> System.NullReferenceException: Object reference not set to an instance of an object.
         at MeshWeaver.Messaging.Serialization.TypeDefinition.GetKey(Object instance) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Messaging.Hub/Serialization/TypeDefinition.cs:line 128
         at System.Collections.Immutable.ImmutableDictionary.<>c__DisplayClass11_0`3.<ToImmutableDictionary>b__0(TSource element)
         at System.Linq.Enumerable.ArraySelectIterator`2.MoveNext()
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
         at MeshWeaver.Data.InstanceCollection..ctor(IEnumerable`1 instances, Func`2 identity) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data.Contract/InstanceCollection.cs:line 36
         at MeshWeaver.Data.TypeSource`1.<Initialize>b__20_0(IEnumerable`1 items) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data/TypeSource.cs:line 113
         at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
         --- End of inner exception stack trace ---
         --- End of inner exception stack trace ---
         at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception)
         at System.Reactive.ExceptionHelpers.Throw(Exception exception)
         at System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex)
         at System.Reactive.AnonymousSafeObserver`1.OnErr…[truncated]
2026-10-12 22:24:20Z memex-portal-deployment-5897c49648-jtqxn fail: MeshWeaver.Graph.CompileWatcher[0]
      Adopted source-stamp watcher faulted on OIB/LegalEntity/TEST-OIB-TW-Co — re-establishing
      System.InvalidOperationException: Hub 'OIB/LegalEntity/TEST-OIB-TW-Co' initialization failed
       ---> System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
       ---> System.NullReferenceException: Object reference not set to an instance of an object.
         at MeshWeaver.Messaging.Serialization.TypeDefinition.GetKey(Object instance) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Messaging.Hub/Serialization/TypeDefinition.cs:line 128
         at System.Collections.Immutable.ImmutableDictionary.<>c__DisplayClass11_0`3.<ToImmutableDictionary>b__0(TSource element)
         at System.Linq.Enumerable.ArraySelectIterator`2.MoveNext()
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
         at MeshWeaver.Data.InstanceCollection..ctor(IEnumerable`1 instances, Func`2 identity) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data.Contract/InstanceCollection.cs:line 36
         at MeshWeaver.Data.TypeSource`1.<Initialize>b__20_0(IEnumerable`1 items) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data/TypeSource.cs:line 113
         at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
         --- End of inner exception stack trace ---
         --- End of inner exception stack trace ---
         at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception)
         at System.Reactive.ExceptionHelpers.Throw(Exception exception)
         at System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex)
         at System.Reactive.AnonymousSafeObserver`1.OnError(Exception error)
    …[truncated]
2026-10-12 22:24:20Z memex-portal-deployment-5897c49648-jtqxn fail: MeshWeaver.Graph.CompileWatcher[0]
      ReleaseRequestWatcher faulted on OIB/LegalEntity/TEST-OIB-TW-Co — re-establishing
      System.InvalidOperationException: Hub 'OIB/LegalEntity/TEST-OIB-TW-Co' initialization failed
       ---> System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
       ---> System.NullReferenceException: Object reference not set to an instance of an object.
         at MeshWeaver.Messaging.Serialization.TypeDefinition.GetKey(Object instance) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Messaging.Hub/Serialization/TypeDefinition.cs:line 128
         at System.Collections.Immutable.ImmutableDictionary.<>c__DisplayClass11_0`3.<ToImmutableDictionary>b__0(TSource element)
         at System.Linq.Enumerable.ArraySelectIterator`2.MoveNext()
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
         at MeshWeaver.Data.InstanceCollection..ctor(IEnumerable`1 instances, Func`2 identity) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data.Contract/InstanceCollection.cs:line 36
         at MeshWeaver.Data.TypeSource`1.<Initialize>b__20_0(IEnumerable`1 items) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data/TypeSource.cs:line 113
         at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
         --- End of inner exception stack trace ---
         --- End of inner exception stack trace ---
         at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception)
         at System.Reactive.ExceptionHelpers.Throw(Exception exception)
         at System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex)
         at System.Reactive.AnonymousSafeObserver`1.OnError(Exception error)
         at…[truncated]
2026-10-12 22:24:20Z memex-portal-deployment-5897c49648-jtqxn fail: MeshWeaver.Graph.CompileWatcher[0]
      Sources watcher faulted on OIB/LegalEntity/TEST-OIB-TW-Co — re-establishing
      System.InvalidOperationException: Hub 'OIB/LegalEntity/TEST-OIB-TW-Co' initialization failed
       ---> System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.)
       ---> System.NullReferenceException: Object reference not set to an instance of an object.
         at MeshWeaver.Messaging.Serialization.TypeDefinition.GetKey(Object instance) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Messaging.Hub/Serialization/TypeDefinition.cs:line 128
         at System.Collections.Immutable.ImmutableDictionary.<>c__DisplayClass11_0`3.<ToImmutableDictionary>b__0(TSource element)
         at System.Linq.Enumerable.ArraySelectIterator`2.MoveNext()
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 items, MutationInput origin, KeyCollisionBehavior collisionBehavior)
         at System.Collections.Immutable.ImmutableDictionary`2.AddRange(IEnumerable`1 pairs, Boolean avoidToHashMap)
         at MeshWeaver.Data.InstanceCollection..ctor(IEnumerable`1 instances, Func`2 identity) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data.Contract/InstanceCollection.cs:line 36
         at MeshWeaver.Data.TypeSource`1.<Initialize>b__20_0(IEnumerable`1 items) in /home/runner/work/MeshWeaver/MeshWeaver/src/MeshWeaver.Data/TypeSource.cs:line 113
         at System.Reactive.Linq.ObservableImpl.Select`2.Selector._.OnNext(TSource value)
         --- End of inner exception stack trace ---
         --- End of inner exception stack trace ---
         at System.Reactive.PlatformServices.ExceptionServicesImpl.Rethrow(Exception exception)
         at System.Reactive.ExceptionHelpers.Throw(Exception exception)
         at System.Reactive.Stubs.<>c.<.cctor>b__2_1(Exception ex)
         at System.Reactive.AnonymousSafeObserver`1.OnError(Exception error)
         at Syste…[truncated]

Opened automatically from Admin/_LogIncident/05c5ef0f7e92bbd8. Recurrences are folded into this issue rather than opening new ones.
It also stands for the whole log site c2422dd60486fcbe: other fingerprints of this site fold in here as comments rather than opening tickets of their own.

Dominant language
C#
Stars
12
Forks
5
Avg merge
4h 19m
Merged PRs (30d)
932

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Systemorph/MeshWeaver

All issues in Systemorph/MeshWeaver

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.