diff --git a/backend/src/main/java/com/bakdata/conquery/io/mina/JacksonProtocolEncoder.java b/backend/src/main/java/com/bakdata/conquery/io/mina/JacksonProtocolEncoder.java index 3847f4bfd4..9d2144b716 100644 --- a/backend/src/main/java/com/bakdata/conquery/io/mina/JacksonProtocolEncoder.java +++ b/backend/src/main/java/com/bakdata/conquery/io/mina/JacksonProtocolEncoder.java @@ -29,7 +29,6 @@ public void encode(IoSession session, Object message, ProtocolEncoderOutput out) final IoBuffer buf = IoBuffer.allocate(initialBufferCapacityBytes, false); buf.setAutoExpand(true); - buf.position(); buf.skip(SIZE_PREFIX_LENGTH); // Make a room for the length field. final Stopwatch stopwatch = Stopwatch.createStarted();