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
Microsoft.ServiceFabric.Data.ReliableStateManager throws NullReferenceException on Linux when there is no /etc/servicefabric directory (this usually happens if you have installed the servicefabricsdkcommon but didn't created a cluster - I had this use case when running application unit-tests that create instance of StatefulService class).
The exception is happening when reading value from configuration store (that doesn't exist).
Error Message:
System.NullReferenceException : Object reference not set to an instance of an object.
Stack Trace:
at System.Fabric.Interop.NativeTypes.FromNativeString(IFabricStringResult result)
at System.Fabric.Interop.Utility.WrapNativeSyncInvoke[TResult](Func`1 func, String functionTag, String functionArgs)
at Microsoft.ServiceFabric.Data.ReliableStateManager..ctor(StatefulServiceContext serviceContext, ReliableStateManagerConfiguration configuration)
at Microsoft.ServiceFabric.Services.Runtime.StatefulService..ctor(StatefulServiceContext serviceContext)
The text was updated successfully, but these errors were encountered:
OlegKarasik
changed the title
Microsoft.ServiceFabric.Data.ReliableStateManager throws NullReferenceException on Linux when there is no /etc/servicefabric directory
Microsoft.ServiceFabric.Data.ReliableStateManager throws NullReferenceException on Linux when there is no /etc/servicefabric` directory
Nov 8, 2018
OlegKarasik
changed the title
Microsoft.ServiceFabric.Data.ReliableStateManager throws NullReferenceException on Linux when there is no /etc/servicefabric` directory
Microsoft.ServiceFabric.Data.ReliableStateManager throws NullReferenceException on Linux when there is no /etc/servicefabric directory
Nov 8, 2018
Microsoft.ServiceFabric.Data.ReliableStateManager
throwsNullReferenceException
on Linux when there is no/etc/servicefabric
directory (this usually happens if you have installed theservicefabricsdkcommon
but didn't created a cluster - I had this use case when running application unit-tests that create instance ofStatefulService
class).The exception is happening when reading value from configuration store (that doesn't exist).
StackTrace:
The text was updated successfully, but these errors were encountered: