-
Notifications
You must be signed in to change notification settings - Fork 886
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NullReferenceException at OnMouseEnter in LayoutAnchorableTabItem #1354
Comments
Btw, in Commit 24ecc09 (v3.4) there was the check at the beginning of the method ( |
Hi there, my application experiences the same issue after updating to avalondock 3.4. Object reference not set to an instance of an object. at Xceed.Wpf.AvalonDock.Controls.LayoutAnchorableTabItem.OnMouseEnter(MouseEventArgs e) |
Hi isbeorn, thanks for your answer. Just in case you need a workaround: I have downloaded the repository and added the null-check at line 184 like this:
I guess this solves the issue... Here is a patch file: |
Hi, |
This issues a fix for the NullReferenceException that occurs in v3.4 of AvalonDock when the _draggingItem is null on MouseEnter (reference issue xceedsoftware#1354).
I downloaded the latest version 3.7 and watch the error "NullReferenceException in LayoutAnchorableTabItem" |
Hi, |
Any ETA when v3.5 (non Plus version) is available? |
I don't understand wpftoolkit patches releases... this fix should be out there, it's been 6 months :( |
So is a new release due our soon? Or do I need to either rollback to 3.3 or fork the repo and fix this myself? |
I did just that... the only thing that is needed is |
Hi, |
Thanks for the update @XceedBoucherS this is great news :) |
Hello,
when using the Avalon Dock v3.4 (i.e. Git Commit c0d3a0a), there are sporadic NullReferenceExceptions in the OnMouseEnter method in the LayoutAnchorableTabItem (line 197). I guess its the "_draggingItem" which is null.
Line 197:
containerPane.MoveChild( childrenList.IndexOf( _draggingItem.Model ), childrenList.IndexOf( model ) );
Details:
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Xceed.Wpf.AvalonDock
StackTrace:
at Xceed.Wpf.AvalonDock.Controls.LayoutAnchorableTabItem.OnMouseEnter(MouseEventArgs e) in (...)\wpftoolkit\ExtendedWPFToolkitSolution\Src\Xceed.Wpf.AvalonDock\Controls\LayoutAnchorableTabItem.cs:line 197
The text was updated successfully, but these errors were encountered: