You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI: PSScriptAnalyzer crashes now and then with a NullReferenceException #168
Invoke-ScriptAnalyzer in the powershell CI job crashes now and then with "Object reference not set to an instance of an object". A rerun of the job passes. Seen on 2026-11-22 three times: on main before the 0.9.1 tags, on #166 and on #167. Locally the same code gives no findings.
Related: #39 (the job hung after such an error; a timeout fixed the hang, not the crash).
Not affected: the analysis result itself; the crash happens before findings are reported.
Next step: run the analyzer per file in CI to see which file or rule triggers it, check the pinned PSScriptAnalyzer version against its open issues upstream, then either pin a fixed version or retry the step once with a log line.
Activity