kasunkv / owasp-zap-vsts-task

Visual Studio Team Services build/release task for running OWASP ZAP automated security tests
MIT License
30 stars 11 forks source link

Failed to initiate the active scan. Error: Cannot convert undefined or null to object #13

Open daniel2005d opened 6 years ago

daniel2005d commented 6 years ago

Hi

I configure the report like say in readme, but show me the error

[error]Failed to initiate the active scan. Error: Cannot convert undefined or null to object.

Log Output:

2018-03-16T18:49:41.9685053Z ============================================================================== 2018-03-16T18:49:47.8078731Z OWASP ZAP Spider Scan Initiated. ID: 7 2018-03-16T18:49:58.8360130Z Spider Scan In Progress: 100% 2018-03-16T18:49:58.8360301Z Spider Scan Complete. 2018-03-16T18:49:58.8360410Z --------------------------------------- 2018-03-16T18:49:59.8802933Z OWASP ZAP Active Scan Initiated. ID: 7 2018-03-16T18:50:10.9421232Z Active Scan In Progress: 3% 2018-03-16T18:50:21.9904245Z Active Scan In Progress: 5% 2018-03-16T18:50:33.0681904Z Active Scan In Progress: 10% 2018-03-16T18:50:44.1100053Z Active Scan In Progress: 16% 2018-03-16T18:50:55.1653894Z Active Scan In Progress: 27% 2018-03-16T18:51:06.2907253Z Active Scan In Progress: 41% 2018-03-16T18:51:17.3192346Z Active Scan In Progress: 43% 2018-03-16T18:51:28.3826150Z Active Scan In Progress: 44% 2018-03-16T18:51:39.4299803Z Active Scan In Progress: 46% 2018-03-16T18:51:50.4768915Z Active Scan In Progress: 51% 2018-03-16T18:52:01.5103745Z Active Scan In Progress: 54% 2018-03-16T18:52:12.5720066Z Active Scan In Progress: 56% 2018-03-16T18:52:23.6345715Z Active Scan In Progress: 58% 2018-03-16T18:52:34.6990518Z Active Scan In Progress: 65% 2018-03-16T18:52:45.7456543Z Active Scan In Progress: 70% 2018-03-16T18:52:56.7757845Z Active Scan In Progress: 81% 2018-03-16T18:53:07.8094709Z Active Scan In Progress: 89% 2018-03-16T18:53:18.8556530Z Active Scan In Progress: 100% 2018-03-16T18:53:18.8556891Z Active Scan Complete. 2018-03-16T18:53:18.8557086Z --------------------------------------- 2018-03-16T18:53:18.8557558Z Generating the report... 2018-03-16T18:53:19.9260813Z ##[error]Failed to initiate the active scan. Error: Cannot convert undefined or null to object 2018-03-16T18:53:19.9323894Z ##[section]Finishing: OWASP ZAP Scan

kasunkv commented 6 years ago

Hi, a new version of the task (v2.0.5) is released now, Please check to see if this issue still exists. If so let me know here. Sorry for the delayed response.