Open Closed

7.3.2 to 7.4.0 upgrade: 404-Not Found, Value cannot be null #6024


User avatar
0
Frontis created
  • ABP Framework version: v7.3.2 / 7.4.0
  • UI Type: MVC
  • Database System: EF Core MSSQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

Reproduction Steps

  • Create a new ABP project, version 7.3.2
  • update the abp CLI to version 7.4.0 (dotnet tool update -g Volo.Abp.Cli)
  • Navigate to the created ABP project directory using the Command Prompt (CMD)
  • Update the project (abp update -v 7.4.0)
  • Note that the upgrade for package Volo.Abp.AspNetCore.Mvc.UI. Theme.Shared failed

Expected behavior

The package should update without any failures

Actual behavior

An error, see screenshot above. Below text-based.

1. HTTP request attempt failed to https://nuget.abp.io/xxx/v3/package/Volo.Abp.AspNetCore.Mvc/index.json with an error: 404-Not Found. Waiting 2 secs for the next try...
Value cannot be null. (Parameter 'source')
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate)
   at Volo.Abp.Cli.ProjectModification.VoloNugetPackagesVersionUpdater.SpecifiedVersionExists(String version, String packageId) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\VoloNugetPackagesVersionUpdater.cs:line 148
   at Volo.Abp.Cli.ProjectModification.VoloNugetPackagesVersionUpdater.UpdateVoloPackagesAsync(String content, Boolean includeNightlyPreviews, Boolean includeReleaseCandidates, Boolean switchToStable, SemanticVersion latestNugetVersion, SemanticVersion latestNugetReleaseCandidateVersion, String latestMyGetVersion, String specifiedVersion) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\VoloNugetPackagesVersionUpdater.cs:line 297

Known Workarounds

Update Volo.Abp.AspNetCore.Mvc manually


3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I can reproduce this problem, and we will fix it. your ticket was refunded.

    You can try abp update without -v 7.4.0 option to upgrade your project.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    https://github.com/abpframework/abp/issues/17941

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    The problem has been solved. I'm closing this.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13