org.apache.geode.pdx.PdxSerializationException: Internal error; failed to set position to 119
search cancel

org.apache.geode.pdx.PdxSerializationException: Internal error; failed to set position to 119

book

Article ID: 378192

calendar_today

Updated On:

Products

VMware Tanzu Gemfire

Issue/Introduction

The Java client is ocassinally hitting below exception, while attempting to get values from a persistent partition region.

​​Caused by: java.lang.IllegalArgumentException: newPosition > limit: (119 > 91)
        at java.nio.Buffer.createPositionException(Buffer.java:269)
        at java.nio.Buffer.position(Buffer.java:244)
        at org.apache.geode.internal.tcp.ByteBufferInputStream$ByteBufferByteSource.position(ByteBufferInputStream.java:299)
        at org.apache.geode.internal.tcp.ByteBufferInputStream.position(ByteBufferInputStream.java:1088)
        at org.apache.geode.pdx.internal.PdxInputStream.position(PdxInputStream.java:231)

 

Environment

GemFire version 9.15.x

Cause

Under review by Engineering

Resolution

Subscribe to the article to receive updates on any fix.