Jira notifications can fail if Insight is disabled
Problem
The service responsible to send Batched mail notifications can fail to execute while Insight is disabled.
Diagnosis
- Insight is disabled at
Administration > Manage apps
- An error with the following pattern appears at the $JIRA_INSTALL/logs/catalina.out file:
2021-05-20 10:13,431+0000 ERROR rrosa /secure/CommentAssignIssue.jspa [c.a.j.p.i.events.convert.EventConverterImpl] Error occurred during recipient/parameter processing
com.google.common.util.concurrent.UncheckedExecutionException: io.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException: Plugin container accessor is null. Plugin: com.riadalabs.jira.plugins.insight. Module name: com.riadalabs.jira.plugins.insight.services.jira.notificationfilter.ObjectUserWatcher.
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2050)
Cause
In this case, notifications are failing due to configured notifications to watch Insight Objects, based on the related module (com.riadalabs.jira.plugins.insight.services.jira.notificationfilter.ObjectUserWatcher), though other modules may be mentioned at the exception above.
Resolution
Enable Insight
Last modified on May 20, 2021
Powered by Confluence and Scroll Viewport.