Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: add workaround

...

WW-4620 added autoGrowCollectionLimit to XWorkListPropertyAccessor, but it only handles setProperty() and not getProperty(). This could lead to OOM if developer has set CreateIfNull to true for the underlying Collection type field.

Solution

Upgrade to Struts 2.5.30.1 or 6.1.2.1 or greater.

...

No issues expected when upgrading to Struts 2.5.30.1 or 6.1.2.1

Workaround

N/ASet CreateIfNull to false for Collection type fields (it's by default false if it's not set).