Azure / Azure/azure-libraries-for-java

[BUG] NPE from .disks().getById(diskId)

未关闭
#1,255 3 条评论 0 个 reaction 已指派 1 人 已被 @weidongxu-microsoft 认领 在 GitHub 查看
customer-response-expected Mgmt
主要语言
Java
星标
97
派生
102
PR 合并指标
30 天内没有已合并 PR

描述

***Exception or Stack Trace***
Caused by java.lang.IllegalArgumentException: Parameter resourceGroupName is required and cannot be null.
/opt/lib/azure-mgmt-compute-1.22.0.jar!/com/microsoft/azure/management/compute/implementation/DisksInner.class:529 in getByResourceGroupWithServiceResponseAsync
/opt//lib/azure-mgmt-compute-1.22.0.jar!/com/microsoft/azure/management/compute/implementation/DisksInner.class:508 in getByResourceGroupAsync
/opt/lib/azure-mgmt-resources-1.22.0.jar!/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/TopLevelModifiableResourcesImpl.class:64 in getInnerAsync
/opt/lib/azure-mgmt-resources-1.22.0.jar!/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/GroupableResourcesImpl.class:115 in getByResourceGroupAsync
/opt/lib/azure-mgmt-resources-1.22.0.jar!/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/GroupableResourcesImpl.class:80 in getByIdAsync
/opt/lib/azure-mgmt-resources-1.22.0.jar!/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/GroupableResourcesImpl.class:69 in getById
/opt/lib/azure-mgmt-resources-1.22.0.jar!/com/microsoft/azure/management/resources/fluentcore/arm/collection/implementation/GroupableResourcesImpl.class:34

**Setup (please complete the following information):**
- JRE Version: 11
- SDK Version: 1.22.0

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。