-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Sonar PRCA: RuntimeException: No changes found #1968
Comments
Btw the file where the error occurs was added in the PR |
Full log from the VSTS run available here. |
Thanks @pascalberger, will investigate. Is this an ASP core project or an older flavour of ASP? |
@bgavrilMS Worse, a SharePoint full trust solution :) |
Hi @pascalberger - apologies for the long delay. We're actually looking into simplifying the implementation of PRCA as it uses some APIs that are too low level. Long story short - I have no idea why that assertion is thrown. All the files in the CR should have changes... . We'll try to repro the problem to find out more. In the interim, consider commenting the assertion out: |
Short term fix - ignore the messages if the underlying file changes are not found. In the longer term, we're looking at using a higher level API that should shield us from this. |
In a recent project I receive the following error during Sonar analysis from a PR:
Corresponding code is
which I assume throws a CA1031 error.
Any idea what might be causing this?
The text was updated successfully, but these errors were encountered: