Unexpected exception parsing XML document from URL

In some cases, if you are unable to enable EMQ, you'll need to review the atlassian-log file to determine if you've encountered the following exception:

Log message:

none org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [...]; nested exception is java.lang.NullPointerException

Solution:

Clear the plugin cache which can be done by deleting the following directories while Jira is shutdown:

JIRA_HOME/plugins/.bundled-plugins JIRA_HOME/plugins/.osgi-plugins

Once done, restart Jira and try again. You might have to re-install the plugin again.