NullPointerException when Externalizing POF Object with Uniform Collections

(Doc ID 1135956.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Coherence - Version: 3.5.3 and later   [Release: AS10g and later ]
Information in this document applies to any platform.


Trying to POF-serialize a collection which has null elements via PofBufferWriter and its methods:
  • writeCollection()
  • writeMap()
  • writeObjectArray()
  • writeLongArray()
fails with NullPointerExceptions.

However, null values are actually allowed in such collections, so they should also be handled in a way that the collection does not break.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms