Null reference exception is thrown when accessing the Chocolatey GUI settings screen #1003
Closed
Description
opened on May 31, 2023
Checklist
- I have verified this is the correct repository for opening this issue.
- I have verified no other issues exist related to my problem.
- I have verified this is not an issue for a specific package.
- I have verified this issue is not security related.
What You Are Seeing?
I just did a fresh install of Chocolatey 2.0.0 through powershell on Win 10 Home as an OSS user. I installed the ChocolateyGUI package. When I open ChocolateyGUI as admin, and click on Settings, it immediately throws the following NullException and then crashes.
What is Expected?
I expected to see the settings menu
How Did You Get This To Happen?
- Open ChocolateyGUI
- Click Settings
System Details
- Operating System: 10.0.19045.0
- Windows PowerShell version: 5.1.19041.2673
- Chocolatey CLI Version: 2.0.0
- Chocolatey Licensed Extension version: Chocolatey v2.0.0
- Chocolatey License type: open source / free
- Terminal/Emulator: Powershell
Installed Packages
-lo is invalid
Chocolatey v2.0.0
7zip.install 22.1.0
adobereader 2023.1.20143
chocolatey 2.0.0
chocolatey-compatibility.extension 1.0.0
chocolatey-core.extension 1.4.0
chocolatey-dotnetfx.extension 1.0.1
chocolateygui 2.0.0
dotnetfx 4.8.0.20220524
KB2919355 1.0.20160915
KB2919442 1.0.20160915
notepadplusplus.install 8.5.3
11 packages installed.
Output Log
2023-05-31 07:18:49.608 -07:00 [Information] [NuGet] GET https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm=''&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0
2023-05-31 07:18:49.729 -07:00 [Information] [NuGet] OK https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm=''&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0 117ms
2023-05-31 07:19:57.506 -07:00 [Fatal] Unhandled Exception
2023-05-31 07:45:48.683 -07:00 [Information] chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
2023-05-31 07:45:59.752 -07:00 [Fatal] Unhandled Exception
2023-05-31 07:49:22.924 -07:00 [Information] chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
2023-05-31 07:49:27.112 -07:00 [Fatal] Unhandled Exception
2023-05-31 07:52:33.609 -07:00 [Information] chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
2023-05-31 07:52:42.332 -07:00 [Information] [NuGet] Enhanced retry: HttpRetryHandler is in a state that retry would have been abandoned or not waited if it were not enabled.
2023-05-31 07:52:43.383 -07:00 [Information] [NuGet] GET https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm=''&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0
2023-05-31 07:52:43.475 -07:00 [Information] [NuGet] OK https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm=''&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0 88ms
2023-05-31 07:52:43.603 -07:00 [Information] [NuGet] Enhanced retry: HttpRetryHandler is in a state that retry would have been abandoned or not waited if it were not enabled.
2023-05-31 07:52:44.712 -07:00 [Information] [NuGet] GET https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm=''&targetFramework=''&includePrerelease=false&$skip=30&$top=20&semVerLevel=2.0.0
2023-05-31 07:52:44.792 -07:00 [Information] [NuGet] OK https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm=''&targetFramework=''&includePrerelease=false&$skip=30&$top=20&semVerLevel=2.0.0 77ms
2023-05-31 07:52:45.076 -07:00 [Information] [NuGet] GET https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm=''&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0
2023-05-31 07:52:45.147 -07:00 [Information] [NuGet] OK https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm=''&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0 69ms
2023-05-31 07:53:00.634 -07:00 [Information] [NuGet] Enhanced retry: HttpRetryHandler is in a state that retry would have been abandoned or not waited if it were not enabled.
2023-05-31 07:53:01.645 -07:00 [Information] [NuGet] GET https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='chocolatey'&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0
2023-05-31 07:53:01.871 -07:00 [Information] [NuGet] OK https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='chocolatey'&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0 223ms
2023-05-31 07:53:01.976 -07:00 [Information] [NuGet] Enhanced retry: HttpRetryHandler is in a state that retry would have been abandoned or not waited if it were not enabled.
2023-05-31 07:53:03.124 -07:00 [Information] [NuGet] GET https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='chocolatey'&targetFramework=''&includePrerelease=false&$skip=30&$top=20&semVerLevel=2.0.0
2023-05-31 07:53:03.369 -07:00 [Information] [NuGet] OK https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='chocolatey'&targetFramework=''&includePrerelease=false&$skip=30&$top=20&semVerLevel=2.0.0 242ms
2023-05-31 07:53:03.508 -07:00 [Information] [NuGet] GET https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='chocolatey'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0
2023-05-31 07:53:03.734 -07:00 [Information] [NuGet] OK https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='chocolatey'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0 225ms
2023-05-31 07:53:23.243 -07:00 [Information] [NuGet] Enhanced retry: HttpRetryHandler is in a state that retry would have been abandoned or not waited if it were not enabled.
2023-05-31 07:53:24.357 -07:00 [Information] [NuGet] GET https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='chocolatey'&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0
2023-05-31 07:53:24.437 -07:00 [Information] [NuGet] OK https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='chocolatey'&targetFramework=''&includePrerelease=false&$skip=0&$top=30&semVerLevel=2.0.0 78ms
2023-05-31 07:53:24.537 -07:00 [Information] [NuGet] Enhanced retry: HttpRetryHandler is in a state that retry would have been abandoned or not waited if it were not enabled.
2023-05-31 07:53:25.570 -07:00 [Information] [NuGet] GET https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='chocolatey'&targetFramework=''&includePrerelease=false&$skip=30&$top=20&semVerLevel=2.0.0
2023-05-31 07:53:25.643 -07:00 [Information] [NuGet] OK https://community.chocolatey.org/api/v2/Search()?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='chocolatey'&targetFramework=''&includePrerelease=false&$skip=30&$top=20&semVerLevel=2.0.0 70ms
2023-05-31 07:53:25.757 -07:00 [Information] [NuGet] GET https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='chocolatey'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0
2023-05-31 07:53:25.824 -07:00 [Information] [NuGet] OK https://community.chocolatey.org/api/v2/Search()/$count?$filter=IsLatestVersion&$orderby=DownloadCount desc,Id&searchTerm='chocolatey'&targetFramework=''&includePrerelease=false&semVerLevel=2.0.0 65ms
2023-05-31 07:53:43.633 -07:00 [Fatal] Unhandled Exception
2023-05-31 08:06:26.524 -07:00 [Information] chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
2023-05-31 08:06:30.382 -07:00 [Fatal] Unhandled Exception
Additional Context
No response
Activity