The underlying problem is the same as bug 40159 which dealt with the NDC. The MDC code depends on non-private fields not being null. Don't understand how the Tomcat reload interferes with what were intended to be class invariants, but since they can be modified outside the class, use inside the class should anticipate all potential values.
Committed rev 568278.