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

Solution Unverified - 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).

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.