Getting error: Unexpected exception processing collection control command
search cancel

Getting error: Unexpected exception processing collection control command

book

Article ID: 265036

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

After the customer upgraded to ITMS 8.7 RTM version, the following messages are noticed in the NS logs:

Entry 1:

Stream was not read completely, len=50456, pos=23986, agent=peer=##.###.##.##.###:55181 (local=0.0.0.0:443, acceptor), sock-id=a8212848-e7e7-40dd-b73f-5425f4070ea8, server=wss://+:443/Altiris/Websockets (e2d9ae60-9e6c-46e2-9669-5334789fc262, created, started)
-----------------------------------------------------------------------------------------------------
Date: 4/24/2023 5:44:39 PM, Tick Count: 6252078 (01:44:12.0780000), Size: 493 B
Process: AeXSvc (4740), Thread ID: 271, Module: Symantec.WebSockets.dll
Priority: 2, Source: Persistent.WebSockets


Entry 2:

Unexpected exception processing collection control command

One or more errors occurred.
   [AggregateException @ mscorlib.dll]
   at System.Threading.Tasks.Task.ThrowIfExceptional(bool)
   at System.Threading.Tasks.Task.Wait(int, CancellationToken)
   at Altiris.NS.AgentManagement.Communication.Connections.NSAgentConnectionFactory.OnRemoveRemoteSharedGuid(Guid)
   at Altiris.GroupCommunications.Constructs.SharedCollection<>.Altiris.GroupCommunications.Constructs.ISharedCollection<T>.Remove(T)
   at Altiris.GroupCommunications.Constructs.RemoveCollectionControlCommand<>.ExecuteInternal(ISharedCollection<T>, PayloadMessage)
   at Altiris.GroupCommunications.Constructs.CollectionControlCommand<>.Execute(ISharedCollection<T>, PayloadMessage)

Method not found: 'Void Symantec.AgentActions.Connections.AgentConnectionFactory`2.RaiseOnRemoved(!0, Boolean)'.
   [MissingMethodException @ Altiris.NS.dll]
   at Altiris.NS.AgentManagement.Communication.Connections.NSAgentConnectionFactory.RaiseRemoveRemote(INSAgentConnection, bool)
   at System.Threading.Tasks.Task.Execute()

Exception logged from:
   at Altiris.Profiling.Support.LogSupport.BuildExceptionMessage(string, Exception, string, bool)
   at Altiris.GroupCommunications.Support.GCTrace.TraceRegardless(IProtocol, TraceLevel, Exception, string)
   at Altiris.GroupCommunications.Constructs.CollectionControlCommand<>.Execute(ISharedCollection<T>, PayloadMessage)
   at Altiris.GroupCommunications.Constructs.SharedCollection<>.TransportFilterInboundMessage(ITransport, Message, ref bool)
   at Altiris.GroupCommunications.TransportMessageEventHandler.Invoke(ITransport, Message, ref bool)
   at Altiris.GroupCommunications.Multiplexer.OnFilterInboundMessage(Message, ref bool)
   at Altiris.GroupCommunications.Multiplexer.EnqueueForReceive(Message)
   at Altiris.GroupCommunications.Multiplexer.SpliceInboundInternal(ITransport, Message, ref bool)
   at Altiris.GroupCommunications.Channel.OnFilterInboundMessage(Message, ref bool)
   at Altiris.GroupCommunications.ProtocolStack.ProcessInboundMessageAsync(Message)
   at Altiris.GroupCommunications.AsyncProtocol.ProcessMessage(Message, ThreadPoolCallbackType)
   at Altiris.GroupCommunications.AsyncProtocol.ThreadPoolWorkItem(object)
   at Altiris.Common.Threading.LocalThreadPool.ExecuteWorkerRequest(LocalThreadPoolWorkerState, UserWorkItem)
   at Altiris.Common.Threading.LocalThreadPool.ThreadPoolProc(object)
   at System.Threading.ThreadHelper.ThreadStart(object)


-----------------------------------------------------------------------------------------------------
Date: 4/24/2023 5:44:39 PM, Tick Count: 6252078 (01:44:12.0780000), Size: 2.77 KB
Process: AtrsHost (6776), Thread ID: 195, Module: Altiris.NS.dll
Priority: 1, Source: CollectionControlCommand`1.Execute

Environment

ITMS 8.7 RTM

Cause

Known issue: Error message appeared after upgrading from ITMS 8.6 RU3 to ITMS 8.7 RTM

Resolution

A fix for this has been included in our ITMS 8.7 RU1 release.

There is a pointfix available for ITMS 8.7 RTM and you will want to apply "SMA_SMP_8_7_POST_RTM" from CUMULATIVE POST ITMS 8.7 RTM POINT FIX.