Closed (fixed)
Project:
Cloud
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Sep 2020 at 01:13 UTC
Updated:
1 Oct 2020 at 22:02 UTC
Jump to comment: Most recent, Most recent file
Call to a member function getBody() on null in Drupal\vmware\Service\VmwareService->request() (line 330 of /var/www/html/web/modules/contrib/cloud/modules/cloud_service_providers/vmware/src/Service/VmwareService.php)
#0 /var/www/html/web/modules/contrib/cloud/modules/cloud_service_providers/vmware/src/Service/VmwareService.php(138): Drupal\vmware\Service\VmwareService->request('post', 'rest/com/vmware...', Array)
#1 /var/www/html/web/modules/contrib/cloud/modules/cloud_service_providers/vmware/src/Controller/ApiController.php(193): Drupal\vmware\Service\VmwareService->login()
#2 /var/www/html/web/modules/contrib/cloud/modules/cloud_service_providers/vmware/src/Controller/ApiController.php(127): Drupal\vmware\Controller\ApiController->updateEntityList('vm', 'vms', 'dii')
#3 [internal function]: Drupal\vmware\Controller\ApiController->updateVmList('dii')
#4 /var/www/html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#5 /var/www/html/web/core/lib/Drupal/Core/Render/Renderer.php(573): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()modules/cloud_service_providers/aws_cloud/src/Service/Pricing/PricingService.php:217: $data = (string) $response->getBody();
modules/cloud_service_providers/vmware/src/Service/VmwareService.php:233: $output = $response->getBody()->getContents();
modules/cloud_service_providers/terraform/src/Service/TerraformService.php:471: $output = $response->getBody()->getContents();
modules/cloud_service_providers/terraform/src/Service/TerraformService.php:475: $response_info = $response->getBody()->getContents();
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3170566-2.patch | 3.08 KB | yas |
Comments
Comment #2
yas@xiaohua-guan
Could you please review the patch?
Comment #3
xiaohua guan commented@yas
It looks good to me. So I changed the status to RTBC. Thanks.
Comment #4
yas@xiaohua-guan
Thank you for your review. I'll merge the patch to
3.xand close this issue asFixed.Comment #6
yasComment #8
yas