Artifactory中的Nuget异常



下载Nuget包时,我在Artifactory中不断遇到这种异常。我在谷歌上搜索了一下,但没有用。有人知道是什么原因造成的吗?如有任何帮助,我们将不胜感激。

[http-nio-8081-exec-4917] [ERROR] (o.a.a.n.r.NuGetV3VirtualAndRemoteCommon:458) - must have at least one page item
java.lang.IllegalStateException: must have at least one page item
at org.artifactory.addon.nugetv3.repo.NuGetV3VirtualRepoHandler.collectAllRegistrationResultPageItems(NuGetV3VirtualRepoHandler.java:239)
at org.artifactory.addon.nugetv3.repo.NuGetV3VirtualRepoHandler.registration(NuGetV3VirtualRepoHandler.java:68)
at org.jfrog.repomd.nugetv3.rest.NuGetV3SubResource.registrationGzSemVer2(NuGetV3SubResource.java:60)
at sun.reflect.GeneratedMethodAccessor471.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
...

上周我遇到了这个错误。当用户试图从NuGetv2提要下载包,但在其NuGet.config中使用protocolVersion="3"配置了源时,就会发生这种情况。在纠正了这一问题并清除了所有NuGet缓存后,异常不再发生,用户可以下载他们的包。

最新更新