Error during deserialization when an object contains a reference to itself in JBoss EAP 6

Solution Verified - Updated -

Issue

  • When deserializing certain object structures, a NullPointerException is caused by a call to a non-initialized object's equals() method.
  • When an object contains a reference to itself (nested arbitrarily deep), any access to the nested reference during deserialization can access a non-initialized object (fields not set).
  • On EAP 6.0.1, the deserialization of objects containing Map/Set fails in certain conditions.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.0.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content