Frequent usage of the Rich Text Editor field leads to NullReferenceException


Description

A content author can submit changes in the Rich Text Editor (RTE) field several times in a short period of time. Such actions might lead to one or more of the following symptoms.

Technical details:

The issue occurs if the SessionStateBehavior is set to ReadOnly. Such behavior enables parallel processing of requests triggered by the same user. ReadOnly SessionStateBehavior does not prevent changes to a user's session. If two requests make concurrent changes to the same session then the session collection (not thread-safe by design) might become corrupted.

Solution

To resolve the issue, ensure that the ReadOnly SessionStateBehavior is not used. This can be done by considering one of the following options: