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

Make mandatory field "filePath" not nullable for sonarqube output #73

Merged
merged 1 commit into from
Dec 10, 2023
Merged

Make mandatory field "filePath" not nullable for sonarqube output #73

merged 1 commit into from
Dec 10, 2023

Conversation

krazzbeluh
Copy link

Hi!
I'm recreating an old PR because I'm integrating mobsfscan to my projects and sending the reports to sonarqube.

The issue is that the resulting report is created with nullable filePath field which should not be nullable :
java.lang.IllegalStateException: Failed to parse report '/path/to/report.json': missing mandatory field 'filePath' in the primary location of the issue.

Using an empty filePath works just fine.

@ajinabraham ajinabraham merged commit e43fbca into MobSF:main Dec 10, 2023
1 of 7 checks passed
@krazzbeluh krazzbeluh deleted the fix/file-path-is-required-not-null-for-sonarqube branch December 11, 2023 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants