We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
It shouldn't throw a null pointer exception.
//return null for empty search attributes. SearchAttributesUtil.encodeTyped(options.getTypedSearchAttributes()); //on setting null search attributes in the StartWorkflowExecutionRequest, it will throw NPE request.setSearchAttributes(startParameters.getSearchAttributes()); //StartWorkflowExecutionRequest#setSearchAttributes if (searchAttributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); }
It throws null pointer exception
WorkflowOptions workflowOptions = WorkflowOptions.newBuilder() .setTaskQueue("queue") .setWorkflowId("workflow-id-1") .setTypedSearchAttributes(SearchAttributes.EMPTY) .build();
stub = workflowClient.newWorkflowStub(SampleWorkflow.class, workflowOptions);
WorkflowClient.start(stub::execute, {});
The text was updated successfully, but these errors were encountered:
Thanks for the bug report! will file a fix for this.
Sorry, something went wrong.
@Quinn-With-Two-Ns thanks for fixing it. can you fix it in the 1.22.x as well?
1.22.x
Successfully merging a pull request may close this issue.
Expected Behavior
It shouldn't throw a null pointer exception.
Actual Behavior
It throws null pointer exception
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: