System.InvalidOperationException: LinkedList is empty
Posted: Fri 13 Aug 2010 04:36
Hello.
I have a problem that appears randomly before execute a query using a simple routine (MySQLConnection+MySQLCommand+MySQLReader). The exception that I can't control is:
System.Transactions Critical: 0 : http://msdn.microsoft.com/TraceCodes/Sy ... /Unhandled
Excepción no controlada(Unhandled exception)
WS2.vshost.exe
System.InvalidOperationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
LinkedList is empty.
in System.Collections.Generic.LinkedList`1.RemoveFirst()
in Devart.Common.z.a()
in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
in System.Threading.ExecutionContext.runTryCode(Object userData)
in System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
in System.Threading.ThreadHelper.ThreadStart()System.InvalidOperationException: LinkedList está vacía.(LinkedList is empty)
in System.Collections.Generic.LinkedList`1.RemoveFirst()
in Devart.Common.z.a()
in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
in System.Threading.ExecutionContext.runTryCode(Object userData)
in System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
in System.Threading.ThreadHelper.ThreadStart()
Notes:
* Visual Studio 2008 version 9.0.30729.1 SP1
* .Net Framework 3.5 SP1
* Windows 7 Ultimate
I'll appreciate your help.
Best regards
Victor
I have a problem that appears randomly before execute a query using a simple routine (MySQLConnection+MySQLCommand+MySQLReader). The exception that I can't control is:
System.Transactions Critical: 0 : http://msdn.microsoft.com/TraceCodes/Sy ... /Unhandled
Excepción no controlada(Unhandled exception)
WS2.vshost.exe
System.InvalidOperationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
LinkedList is empty.
in System.Collections.Generic.LinkedList`1.RemoveFirst()
in Devart.Common.z.a()
in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
in System.Threading.ExecutionContext.runTryCode(Object userData)
in System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
in System.Threading.ThreadHelper.ThreadStart()System.InvalidOperationException: LinkedList está vacía.(LinkedList is empty)
in System.Collections.Generic.LinkedList`1.RemoveFirst()
in Devart.Common.z.a()
in System.Threading.ThreadHelper.ThreadStart_Context(Object state)
in System.Threading.ExecutionContext.runTryCode(Object userData)
in System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
in System.Threading.ThreadHelper.ThreadStart()
Notes:
* Visual Studio 2008 version 9.0.30729.1 SP1
* .Net Framework 3.5 SP1
* Windows 7 Ultimate
I'll appreciate your help.
Best regards
Victor