-
Notifications
You must be signed in to change notification settings - Fork 10
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
Error during scan with v0.9.1 #83
Comments
Thank you for this issue @desrosim232. Can you provide the code which is scanned/on which it fails? |
@StevenLooman unfortunately I can't share the file containing the code. I have put an exclusion on this particular file and the scan does not failed on any other of the 2615 magik files that we have. |
I understand you cannot share the code itself. Perhaps you can narrow down where in the file it is failing, and create a test case from that? |
The file as more then 1000 lines in it. For now, I don't have time to narrow it down. I'll let you know if I can do so. |
A fast strategy is to split the file in half and analyze it. Then do that again for the half which triggers the error. Rinse and repeat until you find the part which causes the error. The linter will most likely crash on the same error, judging from the traceback you're seeing. This saves you running a complete Sonar analysis each time. |
I know how to test it and narrow down the issue. I just don't have the time to work on that right now. I'll let you know when I can do so. Thanks |
The text was updated successfully, but these errors were encountered: