When a repository that doesn't have monitoring enabled is shutdown, a NPE is raised.
It turns out the MBean that is responsible for the crash is a feature that is only present in the community codebase, so it doesn't affect the product code.
Horia Chiorean <hchiorea> made a comment on jira MODE-2049 Fixed repository shutdown when monitoring is not enabled
Randall Hauch <rhauch> made a comment on jira MODE-2049 Merged into the 'master' branch.
Randall Hauch <rhauch> updated the status of jira MODE-2049 to Closed