DotCover snapshot does not contain coverage information (DotCoverConsoleRunner.2.7.4.24)

Snapshot generated by DotCoverConsoleRunner.2.7.4.24 says that 0 lines were covered by all tests, but, when I cover the same assembly from dotCover in visual studio I get 95% coverage.

JetBrains dotCover 2.7.4 Full Edition
Build 2.7.4.24 on 2015-03-03T04:40:18

License has not been checked yet
Plugins: none
Visual Studio 12.0.31101.0.

I am using MSTest to run my tests. The tests runs fine and the report generated MSTests contains all test, MSTests does not output any error either.

The following error is logged in dotcover.log

5:52:09 PM.506: Thread:21: 000016D0 0 00000000 SEU::Term
5:52:09 PM.506: Thread:21: 000016D0 0 00000000 VEH was uninitialized
5:52:09 PM.506: Thread:21: 000016D0 0 00000000 ERROR: LastSE
5:52:09 PM.506: Thread:21:      contextFlags=0001007F
5:52:09 PM.506: Thread:21:      eax=04C1F11C ebx=00000005 ecx=00000005 edx=00000000
5:52:09 PM.506: Thread:21:      esi=04C1F1D4 edi=00000001 ebp=04C1F16C esp=04C1F11C
5:52:09 PM.506: Thread:21:      eip=76D7C42D eflags=00000202
5:52:09 PM.506: Thread:21:      cs=00000023 ss=0000002B ds=0000002B es=0000002B fs=00000053 gs=0000002B
5:52:09 PM.506: Thread:21:      #0 name=EXCEPTION_CLR4 flags=noncontinuable address=76D7C42D c=5
5:52:09 PM.506: Thread:21:           #0 hr=COR_E_OBJECTDISPOSED
5:52:09 PM.506: Thread:21:           #1 00000000
5:52:09 PM.506: Thread:21:           #2 00000000
5:52:09 PM.506: Thread:21:           #3 00000000
5:52:09 PM.506: Thread:21:           #4 715F0000


I have attached the fill log file with the post as well.

The problem occur only with one of the projects, not sure why?

Has any one else has seen this problem before, any cluses why this might be happening and how I can fix it.

Thanks.
Faisal



Attachment(s):
dotcover.log.zip
2 comments

Dear fmansoor,

Thanks for the log. This log shows the last unhandled structured exception (SE)  in case profiler wasn't finished normally. CLR uses structured exception handling (SEH) to throw CLR exceptions.
I think your program was crashed because CLR v4 unhandled exception ObjectDisposedException (because COR_E_OBJECTDISPOSED) in your application appears.

With best wishes,
Mikhail Pilin

0

Thanks for the quick response Mikhail. That was it, we had an unhandled Null Pointer Excpetion in out code.

0

Please sign in to leave a comment.