Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
6.2.X EE, 7.0.X, 7.1.X, 7.2.X, Master
-
7.2.x, 7.1.x, 7.0.x
-
Committed
-
3
Description
The generated CacheModel classes' readExternal and writeExternal methods use readUTF and writeUTF to cache String fields.
These methods will throw a UTFDataFormatException if the field being serialised is larger than 65536 bytes.
It is possible to have a Web Content, a Wiki Page or a Blog Page to have content longer than 64KBs, so caching those would trigger the UTFDataFormatException.