Hi Dojo,
I've been unable to start DM due to following exception in SLCloudStorage:
2024/09/03 08:35:10.764|SLDataGateway|DataGateway.CloudStorage|ERR|0|54|System.AggregateException: One or more errors occurred. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at SLCloudStorageConnection.Services.Impl.CloudStorageService.<ReadFirstPageAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SLCloudStorage.StorageTypes.CloudStorageType`1.<GetFirstPageAsyncInternal>d__66`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SLCloudStorage.StorageTypes.CloudStorageType`1.<ReadAllAsync>d__88.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at SLCloudStorage.StorageTypes.AlarmCloudStorage.CloseAlarmTrees()
at SLCloudStorage.StorageTypes.CloudStorageType`1.<>c__DisplayClass52_0.<SetTTLCleaningTimer>g__Callback|0(Object o)
---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
at SLCloudStorageConnection.Services.Impl.CloudStorageService.<ReadFirstPageAsync>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SLCloudStorage.StorageTypes.CloudStorageType`1.<GetFirstPageAsyncInternal>d__66`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SLCloudStorage.StorageTypes.CloudStorageType`1.<ReadAllAsync>d__88.MoveNext()<---
DM version is 10.4.9.0, Cloud connected and is using STaaS. The DM was using STaaS before but I broke the link and created a new one in attempt to fix some other issue.
Hi Edib,
I would advice to use UOSA and create a ticket for this and not use DOJO questions instead. Also, please also create a log collector package so no valuable information is missing. Perhaps also mention briefly of how you get the workaround (the other issue you mentioned).
Assumption/SMOKE investigation:
A nullref exception is thrown because it wants to fetch and read the config data of SetTTLCleaningTimer. I believe this exception is the effect of something else, and that the root cause lies somewhere else.
A proper investigation will happen by one of the platform domains when creating a UOSA ticket.
Hope this will help you further.
Hi Matthias,
I followed your advice and Skyline promptly resolved my issue. For anyone in the future who might come across this issue here is an explanation of the cause and solution. The issue was caused because my DMA used to be connected to STaaS and I unregistered it and registered it again. Solution was to remove the following 2 files “C:ProgramDataSkyline CommunicationsDxMs SharedDataNodeId.txt” and “C:ProgramDataSkyline CommunicationsDataMiner OrchestratorDataNodeId.txt”. Afterwards restart of the system is required.
Thanks for your help Matthias and hopefully this will help someone else as well.