-
Notifications
You must be signed in to change notification settings - Fork 25
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
Cannot read property 'find' of undefined #156
Comments
Ciao, I think you ran the plugin when a new version of DependencyCheck was released in the repository DependencyCheck and the resources were not present in the new release. Could you check if the problem is still present? We will still take charge of the request to handle this case. |
@pippolino, I checked the release log of Dependency Check and it seems the last 2 releases were 17 January 2024 and 15 March 2024. We've been having this issue intermittently during that gap and after the latest release (last error was 19 March 2024 03:02am. I went back in history, and there was a few... 20 February 2024 is another example 03:00am. Perhaps I misunderstood you, but I don't think this is happening when a new release is deployed. It feels (from our side), that it happens during our nightly builds, when a lot of builds run at the same time. |
Hi @bolanki, it might be a problem of Rate limits for the REST API for unauthenticated users. The find command is used to search the asset to be downloaded, but if the API does not respond correctly there may be problems. I'm still investigating, I can try to put more detailed log messages. |
I get the same error. Like @bolanki, it seems to happen when several builds run shortly after one another. |
Describe the bug
We've had an issue with this plugin where it would randomly give a "Cannot read property 'find' of undefined" error when running the Task during our build pipeline.
To Reproduce
This happens randomly but does appear to be more prevalent when running multiple builds at the same time.
Expected behavior
The dependency check plugin should install and run correctly.
Screenshots
![image](https://private-user-images.githubusercontent.com/32475019/311689060-80beb820-7f3a-4cc8-b16e-6d1680c2ddf3.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1OTcxOTUsIm5iZiI6MTcyNTU5Njg5NSwicGF0aCI6Ii8zMjQ3NTAxOS8zMTE2ODkwNjAtODBiZWI4MjAtN2YzYS00Y2M4LWIxNmUtNmQxNjgwYzJkZGYzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDA0MjgxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRhNmI4YzQwNDI5ZjI1ODUzNDc5ZGY4MzE5OTdjZjk2ZTM4MDJmZTQ0NGYwZmRmN2YxZjIxNWYwZmVhZjBiOWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.DEZHX0qgvbmC0yUoSCdq4wQqistwgLeg8n3mOueTWV4)
The text was updated successfully, but these errors were encountered: