Skip to content

Commit

Permalink
Fix intermittent NPE
Browse files Browse the repository at this point in the history
Fix intermittent NPE in the code for using REST API.
  • Loading branch information
ashitsalesforce committed Jun 9, 2024
1 parent 345becf commit 7417c72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public BulkV2Client getBulkV2Client() {
public CompositeRESTClient getRESTClient() {
if (this.restClient == null) {
this.restClient = new CompositeRESTClient(this);
connectIfSessionExists(this.bulkV2Client);
connectIfSessionExists(this.restClient);
}
return this.restClient;
}/**
Expand Down

0 comments on commit 7417c72

Please sign in to comment.