Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collection phase failed with an Error #223

Closed
bheemvennapureddy opened this issue May 9, 2024 · 9 comments
Closed

Collection phase failed with an Error #223

bheemvennapureddy opened this issue May 9, 2024 · 9 comments
Labels
bug ready to close Believed addressed, waiting to hear to the contrary

Comments

@bheemvennapureddy
Copy link

Passed:   201, Skipped:     0, Total:   201, Duration: 4 s - CuroAdmin.UnitTests.dll (net8.0)
  ... D:\a\1\s\tests\CuroAdmin.UnitTests\coverage.xml.0.acv (27,011b)
  3,578,198 visits recorded in 00:00:00.0440967 (81,144,349 visits/sec)
  A total of 3,578,198 visits recorded
  Coverage statistics flushing took 35.40 seconds
D:\a\.nuget\cache\Tiger\altcover\8.8.21\build\AltCover.proj(206,5): error :  [D:\a\1\s\tests\CuroAdmin.UnitTests\CuroAdmin.UnitTests.vbproj]
D:\a\.nuget\cache\Tiger\altcover\8.8.21\build\AltCover.proj(206,5): error : ERROR *** Collection phase failed [D:\a\1\s\tests\CuroAdmin.UnitTests\CuroAdmin.UnitTests.vbproj]
D:\a\.nuget\cache\Tiger\altcover\8.8.21\build\AltCover.proj(206,5): error :  [D:\a\1\s\tests\CuroAdmin.UnitTests\CuroAdmin.UnitTests.vbproj]
D:\a\.nuget\cache\Tiger\altcover\8.8.21\build\AltCover.proj(206,5): error :  [D:\a\1\s\tests\CuroAdmin.UnitTests\CuroAdmin.UnitTests.vbproj]
D:\a\.nuget\cache\Tiger\altcover\8.8.21\build\AltCover.proj(206,5): error : Value cannot be null. (Parameter 'value') [D:\a\1\s\tests\CuroAdmin.UnitTests\CuroAdmin.UnitTests.vbproj]
D:\a\.nuget\cache\Tiger\altcover\8.8.21\build\AltCover.proj(206,5): error :  [D:\a\1\s\tests\CuroAdmin.UnitTests\CuroAdmin.UnitTests.vbproj]
D:\a\.nuget\cache\Tiger\altcover\8.8.21\build\AltCover.proj(206,5): error : Details written to D:\a\1\s\tests\CuroAdmin.UnitTests\__Instrumented\AltCover-2024-05-08--17-30-08.log [D:\a\1\s\tests\CuroAdmin.UnitTests\CuroAdmin.UnitTests.vbproj]

##[error

Will add the log file

@bheemvennapureddy
Copy link
Author

AltCover-2024-05-09--17-56-06.log

Logs attached

@bheemvennapureddy
Copy link
Author

@SteveGilham let me know if you need any more info on this

@SteveGilham SteveGilham added the bug label May 9, 2024
@SteveGilham
Copy link
Owner

Will do, if I can't figure out the failure path from the stack trace.

@bheemvennapureddy
Copy link
Author

Steve - if you can share some insights on this that would be helpful. Thanks , Have a great day

@SteveGilham
Copy link
Owner

Having taken a quick look, it's in the part of the process that takes source file names and compiles a list of the containing directories for the <sources> element of the document. This would happen if there are (synthetic) methods that have sequence points but don't report a source file.

Simple to fix/work-round in the code.

@bheemvennapureddy
Copy link
Author

@SteveGilham Sounds good thanks Steve

@bheemvennapureddy
Copy link
Author

@SteveGilham Can you share some insights on when this fix will be out?

@SteveGilham
Copy link
Owner

Should be resolved in release v8.8.74.

@SteveGilham SteveGilham added ready to close Believed addressed, waiting to hear to the contrary and removed Fix prepared labels May 31, 2024
@bheemvennapureddy
Copy link
Author

Working as expected - thanks for fixing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ready to close Believed addressed, waiting to hear to the contrary
Projects
None yet
Development

No branches or pull requests

2 participants