2 months ago the code was working but today I've discovered it's not working anymore and I got the following exception:
Thread [main] (Suspended (exception ArrayIndexOutOfBoundsException))
Preconditions.checkFromIndexSize(int, int, int, BiFunction<String,List,X>) line: 361
ArrayUtil.nullAndBoundsCheck(byte[], int, int) line: 53
GaloisCounterMode$GCMDecrypt.doFinal(byte[], int, int, byte[], int) line: 1364
GaloisCounterMode$AESGCM(GaloisCounterMode).engineDoFinal(byte[], int, int) line: 406
Cipher.doFinal() line: 2088
SSLCipher$T13GcmReadCipherGenerator$GcmReadCipher.dispose() line: 1977
SSLSocketInputRecord(InputRecord).changeReadCiphers(SSLCipher$SSLReadCipher) line: 125
Finished$T13FinishedConsumer.onConsumeFinished(ClientHandshakeContext, ByteBuffer) line: 1005
Finished$T13FinishedConsumer.consume(ConnectionContext, ByteBuffer) line: 893
SSLHandshake.consume(ConnectionContext, ByteBuffer) line: 396
ClientHandshakeContext(HandshakeContext).dispatch(byte, ByteBuffer) line: 480
ClientHandshakeContext(HandshakeContext).dispatch(byte, Plaintext) line: 458
TransportContext.dispatch(Plaintext) line: 201
SSLTransport.decode(TransportContext, ByteBuffer[], int, int, ByteBuffer[], int, int) line: 172
SSLSocketImpl.decode(ByteBuffer) line: 1505
SSLSocketImpl.readHandshakeRecord() line: 1420
SSLSocketImpl.startHandshake(boolean) line: 455
SSLSocketImpl.startHandshake() line: 426
RealConnection.kt line: 379
RealConnection.kt line: 337
RealConnection.kt line: 209
ExchangeFinder.findConnection(int, int, int, int, boolean) line: 226
ExchangeFinder.findHealthyConnection(int, int, int, int, boolean, boolean) line: 106
ExchangeFinder.find(OkHttpClient, RealInterceptorChain) line: 74
RealCall.kt line: 255
ConnectInterceptor.intercept(Interceptor$Chain) line: 32
RealInterceptorChain.kt line: 109
CacheInterceptor.intercept(Interceptor$Chain) line: 95
RealInterceptorChain.kt line: 109
BridgeInterceptor.kt line: 83
RealInterceptorChain.kt line: 109
RetryAndFollowUpInterceptor.intercept(Interceptor$Chain) line: 76
RealInterceptorChain.kt line: 109
RealCall.kt line: 201
RealCall.kt line: 154
RestApiInvoker.callSync(RestApiRequest) line: 54
SyncRequestImpl.getAccountInformation() line: 186
AccountBalance.() line: 31
AccountBalance.(AccountBalance) line: 27
AccountBalance$AccountBalanceHolder.() line: 24
AccountBalance.getAccountBalance() line: 38
Main.main(String[]) line: 12
Does anyone know what changed for the last 2 months?
P.S. I've merged all the PR's available at the moment but it doesn't help...