Skip to content
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 when using tabs in AvalonDock #1504

Open
startere opened this issue Jun 26, 2019 · 2 comments
Open

NullReferenceException when using tabs in AvalonDock #1504

startere opened this issue Jun 26, 2019 · 2 comments

Comments

@startere
Copy link

NullReferenceException gets thrown at System.Windows.Interop.HwndHost.BuildWindow() (using AvalonDock), you can see AvalonDock code in the callstack.

See attached file for the callstack:
https://github.com/xceedsoftware/wpftoolkit/files/3329940/BuildWindowNullReferenceException.txt

No stable repro at this time. Most probable repro is saving files opened in the application. The files are represented by tabs docked in the app.

Dump:
https://mega.nz/#!Xu4lWajL!XkARTj0SAS8ozk79gp-pMq-BYe8E6zGQd4XrlyQ4ohw

@Dirkster99
Copy link

You'll probably get:

as answer for entering an issue here and you'll have the choice of waiting (for months or years) or paying money if you want to stick with this project...

Many users of this repro are now thinking that the open source release of the toolkit is no longer maintained. See this thread for a related discussion.

Because of this situation I have started my own AvalonDock branch.

So, I am wondering if your problem is related to version 3.5?

Because we already fixed a number of critical issues in this release and you would not be the first:

to find out that a fix is well known but not implemented in this project's open source version.

Can you please test with this Nuget version and give me detailed feedback containing a workflow description (possibly with one of the test applications in my repro) to either:

  • confirm the problem or
  • confirm that you cannot reproduce this problem in my branch?

@startere
Copy link
Author

startere commented Jul 2, 2019

Thanks for the detailed response and advice. Initially, I'll try with the fix from the links you mentioned:
Dirkster99/AvalonDock@f966d6c
If the issue appears again I`ll try switching to your Nuget.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants