With Stream Management enabled, some (SM) related errors can cause the feature to be silently disabled. One example of such an error is an overflow of the queue of to-be-acked stanzas.
When a client attempts to resume such a session, the following NullPointer is thrown. Instead, the resumption request should have been answered with a failure response.