You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our project, our integration tests (making use of LaunchDarkly client API) are intermittently failing with the message Cannot invoke "Object.toString()" because the return value of "com.launchdarkly.api.ApiException.getResponseHeaders()" is null. We are not trying to log ApiException in any way, so the issue is coming from the SDK itself. Digging into this, the getMessage() implementation of ApiException does call this.getResponseHeaders().toString(), even though responseHeaders is initialized with null, so either responseHeaders should be initialized with an empty map, or getMessage() should handle the case of null