Windows Oracle Data Access Components (MOSC)

MOSC Banner

Any bugfix available? ODAC-Error is Item has already been added. Key in dictionary: '4118' Key bein

edited Apr 28, 2020 5:11AM in Windows Oracle Data Access Components (MOSC) 4 commentsAnswered

We have a Windows Service (64 bit) written in C# and .NET Framework 4.6.2 using ODAC 12.2.1100.

This service runs 24/7 and has to handle inserts into a database table using ORACLE Notifier.

Occassinally this service terminates with an exception:

System.ArgumentException: Item has already been added. Key in dictionary: '4118'  Key being added: '4118'

   at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)

   at System.Collections.Hashtable.SyncHashtable.Add(Object key, Object value)

   at OracleInternal.ServiceObjects.NotificationBufferManager.PutNotificationOraBufPool(OracleCommunication orclCommunication)

   at OracleInternal.ServiceObjects.NotificationHandler.ProcessBufferedNSDataPackets()

   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center