Skip to content

Block returns null #1164

Open
Open
@yan-v

Description

@yan-v

Hi guys,
I need to perform several commands synchronously and return the response, but all commands after block return 'null', for instance:
CreateServiceInstanceResponse createServiceInstanceResponse = cloudFoundryOperations.services().createInstance(serviceInstanceRequestObj).cast(CreateServiceInstanceResponse.class).block();

As I see in CF, the command blocks and waits to Service Instance creation, but at the end the 'createServiceInstanceResponse' object is null.

Is this code incorrect or this is a bug?

Thank you in advance,
Yan

Metadata

Metadata

Assignees

No one assigned

    Labels

    questiontriagedInitial triage of issue has been performed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions