My Oracle Support Banner

Receiving 'IllegalStateException: year is likely out of range' When Using POF With Dates (Doc ID 1236383.1)

Last updated on MARCH 12, 2021

Applies to:

Oracle Coherence - Version 3.5.0 to 3.6.0 [Release AS10g]
Information in this document applies to any platform.

Symptoms

When using POF with Dates the following runtime exception occurs.

java.lang.IllegalStateException: year is likely out of range: 199
        at com.tangosol.io.pof.PofHelper.checkDate(PofHelper.java:1534)
        at com.tangosol.io.pof.RawDate.<init>(RawDate.java:35)
        at com.tangosol.io.pof.PofHelper.readRawDate(PofHelper.java:520)
        at com.tangosol.io.pof.PofBufferReader.readDate(PofBufferReader.java:1727)
        at com.xxx.bean.hibernate.ProductDesignsEntity.readExternal(ProductDesignsEntity.java:224)
        at com.tangosol.io.pof.PortableObjectSerializer.initialize(PortableObjectSerializer.java:153)
        at com.tangosol.io.pof.PortableObjectSerializer.deserialize(PortableObjectSerializer.java:128)
        at com.tangosol.io.pof.PofBufferReader.readAsObject(PofBufferReader.java:3293)
        at com.tangosol.io.pof.PofBufferReader.readObject(PofBufferReader.java:2600)
        at com.tangosol.io.pof.ConfigurablePofContext.deserialize(ConfigurablePofContext.java:348)
        at com.tangosol.util.ExternalizableHelper.deserializeInternal(ExternalizableHelper.java:2673)
        at com.tangosol.util.ExternalizableHelper.fromBinary(ExternalizableHelper.java:257)
        at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$ConverterFromBinary.convert(DistributedCache.CDB:4)
        at

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.