NServiceBus 3.2 - исключение NullReferenceException в NServiceBus.Timeout.Core.TimeoutRunner.CacheExistingTimeouts()

Большое спасибо Андреасу за помощь в моей предыдущей проблеме NSB 3.2 (http://stackru.com/questions/10904857/nservicebus-endpoints-looking-for-ravendb-for-timeouts-after-upgrading-3-0-3). После внесения этого изменения у меня теперь есть исключение FATAL при запуске каждой службы.

Каждый сервис (в классе, реализующем IWantCustomInitialisation) настраивается следующим образом;

        Configure.With()
            .DBSubcriptionStorage()
            .Sagas()
            .NHibernateSagaPersister()
            .NHibernateUnitOfWork()
            .DisableSecondLevelRetries()                      
            .DisableTimeoutManager();

Это в журнале при запуске:

2012-06-08 21:49:46,946 [4] INFO  NServiceBus.Host - Going to activate profile: NServiceBus.PerformanceCounters, NServiceBus.Host, Version=3.2.0.0, Culture=neutral, PublicKeyToken=9fc386479f8a226c
2012-06-08 21:49:46,947 [4] INFO  NServiceBus.Host - Going to activate profile: NServiceBus.Production, NServiceBus.Host, Version=3.2.0.0, Culture=neutral, PublicKeyToken=9fc386479f8a226c
2012-06-08 21:49:46,947 [4] INFO  NServiceBus.Host - Going to activate profile: NServiceBus.PerformanceCounters, NServiceBus.Host, Version=3.2.0.0, Culture=neutral, PublicKeyToken=9fc386479f8a226c
2012-06-08 21:49:46,962 [4] DEBUG NServiceBus.Host - Activating profile handler: NServiceBus.Hosting.Windows.Profiles.Handlers.PerformanceCountersProfileHandler, NServiceBus.Host, Version=3.2.0.0, Culture=neutral, PublicKeyToken=9fc386479f8a226c
2012-06-08 21:49:46,963 [4] DEBUG NServiceBus.Host - Activating profile handler: NServiceBus.Hosting.Windows.Profiles.Handlers.ProductionProfileHandler, NServiceBus.Host, Version=3.2.0.0, Culture=neutral, PublicKeyToken=9fc386479f8a226c
2012-06-08 21:49:52,063 [4] FATAL NServiceBus.Hosting.GenericHost - System.NullReferenceException: Object reference not set to an instance of an object.
 at NServiceBus.Timeout.Core.TimeoutRunner.CacheExistingTimeouts()
 at NServiceBus.Timeout.Core.TimeoutRunner.Run()
 at NServiceBus.Unicast.Config.StartupRunners.<Run>b__5(IWantToRunWhenTheBusStarts r)
 at System.Collections.Generic.List`1.ForEach(Action`1 action)
 at NServiceBus.Unicast.Config.StartupRunners.<Run>b__4(Object obj, EventArgs ev)
 at NServiceBus.Unicast.UnicastBus.NServiceBus.IStartableBus.Start(Action startupAction)
 at NServiceBus.Unicast.UnicastBus.NServiceBus.IStartableBus.Start()
 at NServiceBus.Hosting.GenericHost.Start() in d:\BuildAgent-03\work\nsb.master22\src\hosting\NServiceBus.Hosting\GenericHost.cs:line 32

0 ответов

Другие вопросы по тегам