Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
665
No Queue Error
posted

Hi, 

I have a xamrichtexteditor and I am using some basic functionality, such as changing font or changing the font highlight colour

When I open the richtexteditor with text already in and I highlight the text colour or change font I get the following error:

Queue Empty.

Here is the stace trace:

GetCaretLayoutFromDocumentOffset, document offset: 0 not foundCaretLayoutInfo not available!GetCaretLayoutFromDocumentOffset, document offset: 0 not foundCaretLayoutInfo not available!GetCaretLayoutFromDocumentOffset, document offset: 0 not foundCaretLayoutInfo not available!GetCaretLayoutFromDocumentOffset, document offset: 0 not foundCaretLayoutInfo not available!GetCaretLayoutFromDocumentOffset, document offset: 0 not foundCaretLayoutInfo not available!GetCaretLayoutFromDocumentOffset, document offset: 0 not foundCaretLayoutInfo not available!GetCaretLayoutFromDocumentOffset, document offset: 0 not foundCaretLayoutInfo not available!GetCaretLayoutFromDocumentOffset, document offset: 0 not foundCaretLayoutInfo not available!System.Transactions Critical: 0 : http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Reliability/Exception/UnhandledUnhandled exceptionPSFinancials.TaskManager600.vshost.exeSystem.InvalidOperationException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089Queue empty.   at System.Collections.Generic.Queue`1.Dequeue()

Also:

System.InvalidOperationException was unhandled
HResult=-2146233079
Message=Queue empty.
Source=System
StackTrace:
at System.Collections.Generic.Queue`1.Dequeue()
at Infragistics.Documents.RichText.LayoutNodeBase.PendingOperationManager.ProcessQueues(Boolean proccessAllEntriesSynchronously)
at System.Windows.Threading.DispatcherTimer.FireTick(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
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)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run()
at PSFinancials.TaskManager600.App.Main() in d:\Development\600\PSFinancials.TaskManager600\PSFinancials.TaskManager600\obj\Debug\App.g.cs:line 0
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
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)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:

Any ideas?

Thanks, Grant

Parents Reply Children
No Data