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

Notification

Icon
Error

NullReferenceException when ncrunch commandline tool finishes
plillevold
#1 Posted : Monday, August 25, 2014 11:21:11 AM(UTC)
Rank: Member

Groups: Registered
Joined: 2/1/2013(UTC)
Posts: 11
Location: Norway

Thanks: 6 times
Was thanked: 1 time(s) in 1 post(s)
Hi!
Trying out the NCrunch commandline tool. On one of my larger projects, the tool completes and reports are generated, but a NullReferenceException is reported from the reporting engine. Not sure what impact this have, though...

...
[11:11:38.5771-Core-12] Successfully completed execution of 8 tests on local machine
[11:11:38.6259-Core-12] Successfully completed execution of 8 tests on local machine
[11:11:38.6708-Core-12] Successfully completed execution of 8 tests on local machine
[11:11:40.1435-?-1] Reporting engine execution results
ERROR: System.NullReferenceException: Object reference not set to an instance of an object.
at nCrunch.Client.Reports.NCrunchResultsReport.#=q4apg_MUUq$EfpEu6PvzrUA==(UITest #=ql3WMj8hviWW1Ph8BkAGAmg==)
at nCrunch.Client.Reports.NCrunchResultsReport.#=qVxLWG6mpZuv6Lt0gEV$XQNFYPdeWckrV5_0No79EMcE=(SnapshotComponent #=qyOx26gLyA0By3MQTi9sg7Q==)
at nCrunch.Client.Reports.NCrunchResultsReport.#=qXWgGiN2$t2_e8qrSHR0Ffw==(SnapshotComponent #=qeQJ9r_jnbv8ZmV0yXUKF3w==)
at nCrunch.Client.Reports.NCrunchResultsReport.WriteReport(DiskPath resultsOutputFile)
at #=qf$WqcaQazfTQJODB7BoOTeI6a224$4UCuKDYW3TBxG9V49xpIaRnhBNM1li$aMGB.#=qfksLU_BOo3k092erwyY3Wg==(DirectoryPath #=q63rNTVsvkBwZKYZmO2wP3uOYARF6AftNa2Idh19hkaI=)
at #=qf$WqcaQazfTQJODB7BoOTeI6a224$4UCuKDYW3TBxG9V49xpIaRnhBNM1li$aMGB.#=q2xH5vrcLUgZvSrl3r4AM7A==(#=qjeDfIPQChe9fPhsHIHK5dVsZk0bF_t9vYvSwfrfnhT60lk_IcfxlQl_tJ63RdkV_ #=qZ0nVDJszjF89iUQrzRa9Xg==)
at #=qKpOoZ6_xW1v4EODPPTOrvnt0N8rHjw9MvTr6NDVYQq4=.#=qMfnY6q3U$fwJUOZqUjYraA==(String[] #=qDY$WZRw2VGXbLkFH0dGHWA==)

- Peter
Remco
#2 Posted : Monday, August 25, 2014 9:58:00 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi Peter,

Thanks for sharing this issue. It looks like NCrunch is trying to report on a fixture with inconsistent data. I'll need to get you a diagnostic build so that we can learn more about this fixture in order to solve the problem. I'll have it ready for you soon!


Cheers,

Remco
1 user thanked Remco for this useful post.
plillevold on 8/25/2014(UTC)
Remco
#3 Posted : Tuesday, August 26, 2014 6:58:41 AM(UTC)
Rank: NCrunch Developer

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

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Ok - I've managed to reproduce and resolve this issue.

The fix is included in a new build that I've just pushed up to the download page. The new revision is 2.8.0.36. Give it a spin and let me know how it goes!
1 user thanked Remco for this useful post.
plillevold on 8/26/2014(UTC)
plillevold
#4 Posted : Tuesday, August 26, 2014 7:53:07 AM(UTC)
Rank: Member

Groups: Registered
Joined: 2/1/2013(UTC)
Posts: 11
Location: Norway

Thanks: 6 times
Was thanked: 1 time(s) in 1 post(s)
Awesome, the new version completes without any complaints. Thanks for the quick resolution!

- Peter
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.032 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download