Bug Report T228311
Visible to All Users

NullReferenceException is thrown while selecting document text before images located in this document are loaded

created 10 years ago

[DevExpress Support Team: CLONED FROM T219672: Import - RichEditControl hangs while loading an HTML document]
Now I can load this HTML file.
But, then I get the same error again (Object reference not set to an object instance.).
Steps to reproduce it: immediately after the text of the file is shown (but before the image is loaded), select some text with the mouse. It does not occure each time. :-(
StackTrace:
  bei DevExpress.XtraRichEdit.Commands.Internal.ExtendSelectionByRangesCommandBase.set_InitialBox(Box value)
  bei DevExpress.XtraRichEdit.Mouse.ContinueSelectionByRangesMouseHandlerState.ContinueSelection(MouseEventArgs e)
  bei DevExpress.XtraRichEdit.Mouse.ContinueSelectionByCharactersMouseHandlerState.ContinueSelection(MouseEventArgs e)
  bei DevExpress.XtraRichEdit.Mouse.ContinueSelectionByRangesMouseHandlerState.OnMouseMove(MouseEventArgs e)
  bei DevExpress.Utils.MouseHandler.HandleMouseMove(MouseEventArgs e)
  bei DevExpress.Utils.MouseHandler.OnMouseMove(MouseEventArgs e)
  bei DevExpress.Services.Implementation.MouseHandlerService.OnMouseMove(MouseEventArgs e)
  bei DevExpress.XtraRichEdit.Internal.InnerRichEditControl.OnMouseMove(MouseEventArgs e)
  bei DevExpress.XtraRichEdit.RichEditControl.OnMouseMove(MouseEventArgs e)
  bei System.Windows.Forms.Control.WmMouseMove(Message& m)
  bei System.Windows.Forms.Control.WndProc(Message& m)
  bei DevExpress.XtraRichEdit.RichEditControl.WndProc(Message& m)
  bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
  bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
  bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
  bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
  bei System.Windows.Forms.Application.Run(ApplicationContext context)
  bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
  bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
  bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
  bei TestCOM.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:Zeile 81.
  bei System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
  bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
  bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
  bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
  bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
  bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
  bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
  bei System.Threading.ThreadHelper.ThreadStart()

Comments (1)
DevExpress Support Team 10 years ago

    I've passed this ticket to my team. Our developers will research this issue in detail. We will get back to you once we have any results.

    Answers approved by DevExpress Support

    created 10 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.