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

Notification

Icon
Error

NCrunch 2.0 Load Failure for test project
kojoru
#1 Posted : Tuesday, November 26, 2013 10:23:31 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/9/2013(UTC)
Posts: 4
Location: Russia

Was thanked: 1 time(s) in 1 post(s)
Hi Remco.

Thank you for all the work in the new 2.0 version.

Unfortunately, I'm running into issue with my test project (which worked fine with 1.46) which prevents me from using it. Basically, my test project's status is "Load failure" and all the others' are "Not built". The error for the test project is:
Quote:
System.NullReferenceException: Object reference not set to an instance of an object.
at nCrunch.Client.ComponentLoader.SnapshotComponentFactory.(FilePath )
at nCrunch.Client.ComponentLoader.SnapshotComponentFactory.(FilePath )
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at nCrunch.Client.ComponentLoader.SnapshotComponentFactory.(ComponentBuildAnalysisResult )
at nCrunch.Client.ComponentLoader.SnapshotComponentFactory.(ProcessorArchitecture )
at nCrunch.Client.ComponentLoader.SnapshotComponentFactory.CreateSnapshotComponentFromXml(FilePath projectFilePath, BuildXml projectXml, FilePath solutionFilePath, String[] additionalFilesToIncludeAtSolutionLevel, Boolean isLoadedFromFile, ISnapshotConfig snapshotConfig, VisualStudioVersion vsVersion)


The build works ok from VS and tests work fine is Resharper test runner. My VS version is 2013, NCrunch is 2.0.0.97.

Is there anything I can do to make this work?
Remco
#2 Posted : Tuesday, November 26, 2013 10:32: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)
Hi! Thanks for reporting V2's first official defect :)

Most probably your test project has a particular property that is surfacing this issue. Is there any chance you could submit a bug report? Also, I'm not sure if this is possible based on your IP constraints, but if there is any way I can get hold of the project's XML, this will also be a huge help.


Cheers,

Remco
kojoru
#3 Posted : Tuesday, November 26, 2013 11:01:21 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/9/2013(UTC)
Posts: 4
Location: Russia

Was thanked: 1 time(s) in 1 post(s)
No problem, sent you the bug report with the XML using contact form.

If maybe there's a workaround involving editing the project's file, that's okay as well!
Remco
#4 Posted : Tuesday, December 3, 2013 2:30:38 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)
I’m happy to say that this issue has been resolved. If you’re interested in grabbing the fix, you can download v2.1b from the NCrunch download page - http://www.ncrunch.net/download
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.034 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download