From the stack trace I imagine you would add com.mongodb.internal.connection.DefaultConnectionPool#getAsync(SingleResultCallback<InternalConnection>) to the allow-list, though be warned that as this is not part of the public API of the driver it is subject to change in future releases without warning.