PowerShell Universal - 5.0.2
Release Notes
Apps
Automation
Portal
Platform
Downloads
Adam Driscoll
PowerShell Expert and Developer at Devolutions
I’m getting a blank page with the error message Object reference not set to an instance of an object. when accessing the scripts page.
If I blanked my scripts.ps1 file then the page would load again, so I quickly narrowed it down to this occurring any time you have a script-defined in the root of your scripts, so maybe an issue that cropped up when fixing #3635 or #3660?
Simply going to the scripts page and creating a script with the name “Test.ps1” will trigger the bug, i.e. the following line will be present in scripts.ps1: New-PSUScript -Name "Test.ps1" -Description "Test.ps1" -Path "Test.ps1"
I can’t reproduce this. Can you check the system log for an extended error message\stack trace?
Never mind. Installed on a new machine and can see it.
Adam Driscoll
PowerShell Expert and Developer at Devolutions