Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
w3p crash when using copy to or renaming item #222
Hi, I think I'm having a bug or am doing something terribly wrong
We were using unicorn 2 and I've updated the solution to unicorn 3.3.2 (with SC 8.2 update 1) following the update steps in your blog. I've deleted the old serialization.config and adjusted the new configs. After that I could do a full serialization of the database. That went without any big issues
Now I see that sometimes when I edit or use the copy-to option my just w3p process crashes. Attaching this crash to my visual studio just tells me there is a nullref exception. The new or changed item is on disk, so that part works.
Any idea's what I could be doing wrong?
I'm getting this in the eventviewer:
The relevant code is here https://github.com/kamsar/Unicorn/blob/master/src/Unicorn/Data/DataProvider/UnicornDataProvider.cs#L754
Are you using link db or search index update support?
I can see that there is an issue here at the very least in that the method should trap exceptions and log them (since it runs on an event handling thread, and as you could background exceptions terminate the app pool). I've definitely not seen this particular issue before.
You might also give it a try with the current Unicorn 4 prerelease version. It's basically ready to go and I've used it on production projects that are live, it's just a matter of making the time to do a proper release; Dlilithium is the only semi-experimental part and it's off by default :)