-
Notifications
You must be signed in to change notification settings - Fork 53
Description
Have you tried to resolve this issue yourself first?
No response
Bug Description
When trying to run the flowtest engine on the v5 beta, i get an error message 'The engine with name 'flowtest' threw an unexpected error: Cannot convert undefined or null to object' flagged as a critical vulnerability
Output / Logs
Warning: This command is in Beta.
Selecting rules... done.
Executing rules... done. Executed rules from flowtest.
Violation file paths relative to ''.
Severity Rule Location Message
─ ──────────── ────────────────────────────── ──────────────────────── ─────────────────────────────────────────────────────────────────────────────────────────────────────
1 1 (Critical) flowtest:UnexpectedEngineError null:undefined:undefined The engine with name 'flowtest' threw an unexpected error: Cannot convert undefined or null to object
=== Summary
Found 1 violation(s) across 0 file(s):
1 Critical severity violation(s) found.
Additional log information written to:
/var/folders/y7/2s118fnd1d1cbqvnpl4f9gc40000gp/T/sfca-1737025942647.log
sf code-analyzer run --rule-selector flowtest 10.33s user 2.76s system 78% cpu 16.662 total
Steps To Reproduce
try and run 'sf code-analyzer run --rule-selector flowtest' in a folder containing 2 flows
Encounter the issue
Expected Behavior
The 2 flowtest rules run correctly and only give me violations
Operating System
MacOS Sonoma 14.4.1
Salesforce CLI Version
@salesforce/cli/2.71.6 darwin-arm64 node-v22.12.0
Code Analyzer Plugin (@salesforce/sfdx-scanner) Version
@salesforce/sfdx-scanner 4.7.0 code-analyzer 5.0.0-beta.0
Additional Context (Screenshots, Files, etc)
Workaround
No workaround
Urgency
Moderate