Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

NCrunch 3 Crashed devenv.exe During First Crunch Wizard
VNicholson
#1 Posted : Tuesday, November 29, 2016 6:41:37 AM(UTC)
Rank: Member

Groups: Registered
Joined: 12/19/2013(UTC)
Posts: 25
Location: New Zealand

Thanks: 7 times
Was thanked: 3 time(s) in 3 post(s)
Hi,

I just upgraded to NCrunch 3. I opened a solution and devenv.exe crashed at the end of the First Crunch Wizard (after clicking next on the Ignore page).

I'm running Visual Studio 2015 on Windows 10 and I can reproduce this crash every time I end the wizard.

My NT Event Log has the exception details below.

Code:

Application: devenv.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Exception
   at nCrunch.Client.Settings.ClientSettingsBlock.(nCrunch.Core.Settings.TargetedSetting, System.Object)
   at nCrunch.Client.Settings.ClientSettingsBlock.SetSettingValue(nCrunch.Core.Settings.TargetedSetting, System.Object)
   at nCrunch.VSAddIn.UI.Wizards.FirstTimeSolutionUse.IgnoreTestsConfig.DoIgnoreAllTestsOnStartup()
   at nCrunch.VSAddIn.UI.Wizards.FirstTimeSolutionUse.IgnoreTestsConfig.(System.Object, nCrunch.VSAddIn.UI.Wizards.Framework.WizardPageEventArgs)
   at nCrunch.VSAddIn.UI.Wizards.Framework.WizardPage.OnWizardNext(nCrunch.VSAddIn.UI.Wizards.Framework.WizardPageEventArgs)
   at nCrunch.VSAddIn.UI.Wizards.Framework.WizardSheet.(System.Object, System.EventArgs)
   at System.Windows.Forms.Control.OnClick(System.EventArgs)
   at System.Windows.Forms.Button.OnClick(System.EventArgs)
   at System.Windows.Forms.Button.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr, Int32, IntPtr, IntPtr)


...and this slightly less helpful entry (I run a German system if that makes a difference)...

Code:
Name der fehlerhaften Anwendung: devenv.exe, Version: 14.0.25420.1, Zeitstempel: 0x57685d85
Name des fehlerhaften Moduls: KERNELBASE.dll, Version: 10.0.14393.321, Zeitstempel: 0x57f4c291
Ausnahmecode: 0xe0434352
Fehleroffset: 0x000da6f2
ID des fehlerhaften Prozesses: 0x3bfc
Startzeit der fehlerhaften Anwendung: 0x01d24a097fe54d78
Pfad der fehlerhaften Anwendung: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
Pfad des fehlerhaften Moduls: C:\WINDOWS\System32\KERNELBASE.dll
Berichtskennung: a7c5056e-3d1b-4479-8383-c38a8590e7fb
Vollständiger Name des fehlerhaften Pakets: 
Anwendungs-ID, die relativ zum fehlerhaften Paket ist: 


Let me know if you need any more information. I can reproduce this consistently so it shouldn't be too hard to provide additional information if you need it.
Remco
#2 Posted : Tuesday, November 29, 2016 7:26:28 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
VNicholson
#3 Posted : Tuesday, November 29, 2016 7:42:03 AM(UTC)
Rank: Member

Groups: Registered
Joined: 12/19/2013(UTC)
Posts: 25
Location: New Zealand

Thanks: 7 times
Was thanked: 3 time(s) in 3 post(s)
Thanks Remco,

I've tried the build and the wizard now completes without error. I'm not sure whether it's intentional, but the last few pages of the First Crunch Wizard no longer appear with 3.0.0.2 (the Ignore page doesn't appear for instance). If that's intentional, then consider this one fixed.

Cheers for the speedy turn-around.

EDIT: I built the project and made a few changes then tried the wizard again. Now all of the expected pages are appearing (including the Ignore one and the Engine Execution Mode pages that were missing the first time I tried 3.0.0.2). It looks as if those final pages go AWOL if any of the projects have '(loading)' next to them when the Wizard is activated. If I wait a while until all projects are loaded, then activate the Wizard then all of the pages appear. Again, not sure what the correct behaviour is.
Remco
#4 Posted : Tuesday, November 29, 2016 7:47:29 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
The wizard itself is dynamic, so there's a bit of complexity that defines what gets shown depending upon how the wizard was initiated and which settings have already been specified. If it's not bugging out anymore, then I think we're good here :)
1 user thanked Remco for this useful post.
VNicholson on 11/29/2016(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.037 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download