-
Notifications
You must be signed in to change notification settings - Fork 356
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
Analysis crash with --no-show-progress option. #598
Comments
Thanks for the report. Sorry you're having issues here. At first blush it's not entirely clear why the I believe that the exception here is actually initially being thrown by a call to the ApplicationInspector/AppInspector/Commands/AnalyzeCommand.cs Lines 772 to 790 in 92a437d
As for why the behavior may differ - when you use the progress bar ApplicationInspector pre-enumerates a collection of all the files to scan using an indeterminate progress bar (since we don't yet know how many files there are), then once the set of files to scan are known uses a determinate progress bar to scan them. When running without the progress bar, we can save some time and memory by creating a lazy enumeration and then scanning the files as they are enumerated. May simply require that I attempt to replicate the behavior by scanning a large set of files. |
Was able to reproduce overflow exceptions thrown here causing end to execution, I think this is potentially the same root cause of issue #598's report of null streams causing a crash as well.
* Add Catch around Recursive Extractor calls Was able to reproduce overflow exceptions thrown here causing end to execution, I think this is potentially the same root cause of issue #598's report of null streams causing a crash as well. * Fix Capitalization * Clamp GetLocation to end of file
Hello @gfs , When do you plan to release this fix for testing with our project? Thank you. |
Hey @ismadirolas, Sorry for the delay - I believe that the fix in #599 will resolve your issue, but we ran into some unexpected issues with the release process. I'm aiming to have those issues resolved so we can get the new version out this week. Thanks. |
@ismadirolas We released a new version yesterday with the change from #599. Please let me know if that does not resolve the issue you were hitting. |
Describe the bug
We are executing an analysis over a folder and we get the next error when use the
--no-show-progress
option:But the thing is that with the same folder and same args without using
--no-show-progress
option it works correctly.we don't know what file is causing this (is a big java project) With other projects it doesn't happens.
Thanks in advance.
To Reproduce
Steps to reproduce the behavior:
-s . -f json --processing-timeout 900000 --file-timeout 300000 -A -u --no-show-progress -r /rules -i -M 20 -o result.json
Operating Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: