Highlighted
Member..
Member..
213 views

Azure DevOps Self-hosted Agent Throws Path must be a string Error

I'm getting the error below when my self-hosted agent runs the SCA task. Any idea what the problem could be?

2020-04-04T21:37:49.3243015Z ##[section]Starting: Run Fortify on 

2020-04-04T21:37:49.3357916Z ==============================================================================
2020-04-04T21:37:49.3358328Z Task         : Fortify Static Code Analyzer Assessment
2020-04-04T21:37:49.3358647Z Description  : Run Fortify Static Code Analyzer
2020-04-04T21:37:49.3358908Z Version      : 5.8.0
2020-04-04T21:37:49.3359127Z Author       : Micro Focus
2020-04-04T21:37:49.3360116Z Help         : 
2020-04-04T21:37:49.3360425Z ==============================================================================
2020-04-04T21:37:49.6431455Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6432729Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6442022Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6443170Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6444259Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6448221Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6452557Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6459717Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6461597Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6485570Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6547502Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6549756Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6550417Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6550875Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6551384Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6551819Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6552419Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6552872Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6553315Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6553755Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6554180Z (node:2320) Warning: Use Cipheriv for counter mode of aes-256-ctr
2020-04-04T21:37:49.6584376Z ##[error]Unhandled: Path must be a string. Received undefined
2020-04-04T21:37:49.6605909Z ##[section]Finishing: Run Fortify on 
0 Likes
1 Reply
Highlighted
Micro Focus Contributor
Micro Focus Contributor

Re: Azure DevOps Self-hosted Agent Throws Path must be a string Error

Ignoring the warnings, I see:
2020-04-04T21:37:49.6584376Z ##[error]Unhandled: Path must be a string. Received undefined

I would review the values you entered for the path in the configuration of the task. If that does not resolve the issue I would suggest opening a support case for a quicker resolution.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.