Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ABP CLI Tool: switch-to-preview Error #7739

Closed
274188A opened this issue Feb 16, 2021 · 2 comments
Closed

ABP CLI Tool: switch-to-preview Error #7739

274188A opened this issue Feb 16, 2021 · 2 comments

Comments

@274188A
Copy link
Contributor

274188A commented Feb 16, 2021

  • ABP Framework version: 4.2.1.
  • User Interface: Blazor
  • **Database provider **: EF Core

Steps needed to reproduce the problem.

Run the CLI Tool with command :

ABP switch-to-preview

  • Exception message and stack trace if available (check the logs).

PS C:\Users\xxx\source\repos\BlazorGp5.0\aspnet-core> abp switch-to-preview
[10:37:39 INF] ABP CLI (https://abp.io)
[10:37:40 INF] Version 4.2.1 (Stable)
[10:37:44 ERR] Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Volo.Abp.Cli.ProjectModification.VoloNugetPackagesVersionUpdater.GetLatestVersionFromMyGet(String packageId) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\VoloNugetPackagesVersionUpdater.cs:line 222
at Volo.Abp.Cli.ProjectModification.VoloNugetPackagesVersionUpdater.UpdateSolutionAsync(String solutionPath, Boolean includePreviews, Boolean includeReleaseCandidates, Boolean switchToStable, Boolean checkAll, String version) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\VoloNugetPackagesVersionUpdater.cs:line 40
at Volo.Abp.Cli.ProjectModification.PackagePreviewSwitcher.SwitchToPreview(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\PackagePreviewSwitcher.cs:line 36
at Volo.Abp.Cli.Commands.SwitchToPreviewCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\SwitchToPreviewCommand.cs:line 20
at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 59
PS C:\Users\274188A\source\repos\BlazorGp5.0\aspnet-core>

@maliming maliming added this to the 4.3-preview milestone Feb 16, 2021
@KevinFarrow
Copy link
Contributor

This also happens with switch-to-nightly

image

@yekalkan
Copy link
Member

@274188A @KevinFarrow

It is working now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants