diff --git a/rskj-core/src/main/java/co/rsk/rpc/netty/JsonRpcWeb3ServerHandler.java b/rskj-core/src/main/java/co/rsk/rpc/netty/JsonRpcWeb3ServerHandler.java index dbb8029ed5e..d15decdc701 100644 --- a/rskj-core/src/main/java/co/rsk/rpc/netty/JsonRpcWeb3ServerHandler.java +++ b/rskj-core/src/main/java/co/rsk/rpc/netty/JsonRpcWeb3ServerHandler.java @@ -107,6 +107,8 @@ protected void channelRead0(ChannelHandlerContext ctx, ByteBufHolder request) th int errorCode = ErrorResolver.JsonError.CUSTOM_SERVER_ERROR_LOWER; responseContent = buildErrorContent(errorCode, unexpectedErrorMsg); responseCode = errorCode; + } finally { + ReflectionUtil.clearCache(); } ctx.fireChannelRead(new Web3Result(